LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   DVD Eject Button not working (https://www.linuxquestions.org/questions/fedora-35/dvd-eject-button-not-working-451806/)

gfem 06-05-2006 10:52 AM

DVD Eject Button not working
 
I am trying to eject a dvd rom in fc3 by pressing the eject button on the dvd rom, but it does not work. I have verified that I am not in the directory, and I can eject it if I right click the dvd icon and press eject, it also works it I type $ eject /dev/dvd. Can anyone tell me how to fix it?

rylan76 06-06-2006 03:54 AM

Hi

I think its relatively simple - if the drive does not repsond to the button being pressed, it means that it is currently mounted - i. e. something is using it. A DVD / CD-ROM drive always needs to be unmounted before the tray will be unlocked and you'll be able to open it.

The fact that you can eject it from software means that the software program that does this first -unmounts- the drive, and then orders it to open.

If you do, for example in a terminal (as root, usually)

umount /dev/hdc

This will unmount the first DVD-ROM drive (at least on my system) and if you now press the button it should open - because it has been unmounted.

Regards,

vinbob 06-06-2006 02:25 PM

I can eject a mounted disc fine in FC5, it just gets automatically unmounted before ejecting.

You could check to see if anything has a file open by using lsof as root...

e.g.

su -
lsof /dev/dvd


All times are GMT -5. The time now is 12:40 PM.