PDA

View Full Version : [ubuntu] [SOLVED] ejecting cd's



gj_clt
November 9th, 2008, 09:47 PM
I think I saw a post about this but can't find it.
I have done a fresh install of 8.10 and everything is O.K except when I click on a CD to eject it the drive opens and then shuts so quickly you can't get the CD out unless you grab the drive and hold it out. Is there a fix for this?

Dr Small
November 9th, 2008, 09:50 PM
What about trying this?

eject /dev/cdrom

If /dev/cdrom in your device.

kansasnoob
November 9th, 2008, 10:07 PM
I think I saw a post about this but can't find it.
I have done a fresh install of 8.10 and everything is O.K except when I click on a CD to eject it the drive opens and then shuts so quickly you can't get the CD out unless you grab the drive and hold it out. Is there a fix for this?

There is now a fix for that in Intrepid proposed. It's the udev update!



Martin Pitt wrote on 2008-11-03: (permalink)

It seems that this this actually an udev problem after all:

http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=f755fd5657b619fd27160ad202 fc5d773d096e9c

So it seems that the last ioctl kernel patch referenced above just fixed the return status enough to make the emitted change events actually work, so that udev's rules would kick in.
Martin Pitt wrote on 2008-11-03: (permalink)

Accepted into intrepid-proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!


https://bugs.launchpad.net/ubuntu/intrepid/+source/udev/+bug/283316

gj_clt
November 9th, 2008, 10:25 PM
Thank you for both replies. Eject command works and the fix is also working.

m_l17
November 10th, 2008, 09:29 AM
Thank You for this thread :D