Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: DVD tray won't re-open

  1. #1

    Default DVD tray won't re-open

    11.2/gnome. After playing a video DVD (mplayer or vls), rt-clicking the desktop icon to eject, then closing the tray I can't open it again by pushing the tray's button. From terminal, if I login as su, I can restore function with eject -T. Kind of a pain, any easy fixes for this? Thanks in advance.

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    37,097
    Blog Entries
    16

    Default Re: DVD tray won't re-open

    Are you able to establish if this is only an issue in openSUSE (ie; do you also have windows and have tried there) or another Linux distro and it's OK there?
    I saw a post about this the other day, guess it had to be you eh?
    My openSUSE 13.1 KDE Box
    My Articles
    Was I any help? If yes: Click the star below

  3. #3

    Default Re: DVD tray won't re-open

    I am unable to eject my dvd from the drive. How can I eject from the command line or any other method? Help is very much appreciated.

    Regards,

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,693

    Default Re: DVD tray won't re-open

    adsum01nl wrote:

    >
    > I am unable to eject my dvd from the drive. How can I eject from the
    > command line or any other method? Help is very much appreciated.
    >
    > Regards,
    >
    >

    The command is simply "eject". You can also try this with root rights if it
    does not work for you as user

    sudo eject
    or
    su -c "eject"


  5. #5
    Carlos E. R. NNTP User

    Default Re: DVD tray won't re-open

    On 2010-08-22 15:06, sbeyerkc wrote:
    >
    > 11.2/gnome. After playing a video DVD (mplayer or vls), rt-clicking the
    > desktop icon to eject, then closing the tray I can't open it again by
    > pushing the tray's button. From terminal, if I login as su, I can
    > restore function with eject -T. Kind of a pain, any easy fixes for this?


    You have to figure out first what program is holding the device busy so that it will not open. Try
    lsof /dev/dvd

    At worst, you can create a menu entry or icon to click, that does sudo eject.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" GM (Elessar))

  6. #6

    Default Re: DVD tray won't re-open

    Quote Originally Posted by Carlos E. R. View Post
    On 2010-08-22 15:06, sbeyerkc wrote:
    >
    > 11.2/gnome. After playing a video DVD (mplayer or vls), rt-clicking the
    > desktop icon to eject, then closing the tray I can't open it again by
    > pushing the tray's button. From terminal, if I login as su, I can
    > restore function with eject -T. Kind of a pain, any easy fixes for this?


    You have to figure out first what program is holding the device busy so that it will not open. Try
    lsof /dev/dvd

    At worst, you can create a menu entry or icon to click, that does sudo eject.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" GM (Elessar))
    Thanks for your reply. VLS is my default player. lsof /dev/dvd showed the following:

    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    xdg-scree 26143 scott 11r BLK 11,0 0x1512e000 4334 /dev/sr0
    xdg-scree 26151 scott 11r BLK 11,0 0x1512e000 4334 /dev/sr0
    xprop 26155 scott 11r BLK 11,0 0x1512e000 4334 /dev/sr0
    sleep 26162 scott 11r BLK 11,0 0x1512e000 4334 /dev/sr0

    My system is a Presario C700 laptop set to dual boot. I have no dvd tray issues on the windows side. I don't mind creating a launcher icon but "eject" only works as su which means an extra step of providing a password which I don't want my kids to know. I'm very new to Linux so I don't know how to get around the password issue.

  7. #7

    Default Re: DVD tray won't re-open

    Quote Originally Posted by caf4926 View Post
    Are you able to establish if this is only an issue in openSUSE (ie; do you also have windows and have tried there) or another Linux distro and it's OK there?
    I saw a post about this the other day, guess it had to be you eh?
    Works fine under xp (dual boot system), never tried another Linux distro, and I did post under hardware the other day but got no replies.

  8. #8
    Join Date
    Nov 2009
    Location
    Pennsylvania, USA
    Posts
    433

    Default Re: DVD tray won't re-open

    I've had that problem for quite awhile. I solved it by inserting a blank disc into the drive after removing a DVD or CD.

    Took the blank out and tried eject from user and got this message

    eject: unable to eject, last error: Inappropriate ioctl for device

    lsof /dev/dvd returned this

    lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/wschw01/.gvfs
    Output information may be incomplete.

    .gvfs is an empty folder.

    Putting the blank disc back in, if I ever ge it to open again.

  9. #9
    Carlos E. R. NNTP User

    Default Re: DVD tray won't re-open

    On 2010-08-23 17:06, rafter22 wrote:

    > lsof /dev/dvd returned this
    >
    > lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system
    > /home/wschw01/.gvfs
    > Output information may be incomplete.


    Forget that message, it is unrelated. It is a pesky message because not even root can look into that
    directory, so when searching system wide it pops. A bug of sorts.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" GM (Elessar))

  10. #10
    Carlos E. R. NNTP User

    Default Re: DVD tray won't re-open

    On 2010-08-23 16:36, sbeyerkc wrote:
    >
    > Carlos E. R.;2210607 Wrote:


    > Thanks for your reply. VLS is my default player. lsof /dev/dvd showed
    > the following:
    >
    > COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    > xdg-scree 26143 scott 11r BLK 11,0 0x1512e000 4334 /dev/sr0
    > xdg-scree 26151 scott 11r BLK 11,0 0x1512e000 4334 /dev/sr0
    > xprop 26155 scott 11r BLK 11,0 0x1512e000 4334 /dev/sr0
    > sleep 26162 scott 11r BLK 11,0 0x1512e000 4334 /dev/sr0
    >
    > My system is a Presario C700 laptop set to dual boot. I have no dvd
    > tray issues on the windows side. I don't mind creating a launcher icon
    > but "eject" only works as su which means an extra step of providing a
    > password which I don't want my kids to know. I'm very new to Linux so I
    > don't know how to get around the password issue.


    Forget windows, this is a linux software problem, unrelated to the hardware. Some software is doing
    something with the drive, and interferes.

    I don't know what those four programs above are doing, and the names are incomplete. You can perhaps
    have a look with "ps afx | less -S"


    It is possible to configure sudo so that you can use predefined root commands with your own
    password, not root's. That is the recommended configuration for sudo, but not the configuration it
    is installed with.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" GM (Elessar))

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •