Hello, Leann,

I was able to test Intrepid alpha-3 this afternoon (actually, I tested
with Intrepid as of 08/08/2008--dist-upgrade brought me to kernel
2.6.26-5).

The original problem of the CD tray status being misreported has been
corrected.  However, some application-level symptoms described above
remain.  Some background:

- 'grip' tries only ioctl(CDROMEJECT) to eject the tray
- 'eject' tries ioctl(CDROMEJECT) to eject the tray and escalates to issuing 
SCSI commands via ioctl(SG_IO) if CDROMEJECT fails

With the latest Intrepid, I found an unfortunate interaction with 'hal'
versus 'grip' and 'eject'

- grip can close the tray from an open state 100% reliably
- if no CD has been inserted (empty tray), then grip and eject can open the 
tray 100% reliably using CDROMEJECT
- once an audio CD has been "mounted" by 'hal', then ioctl(CDROMEJECT) begins 
to fail (EIO) leaving grip unable to eject the CD
- while the CD remains mounted by hal, eject also cannot eject the CD either 
via CDROMEJECT (EIO) nor via SG_IO
- after the CD has been manually unmounted (right click, then Unmount volume), 
CDROMEJECT still fails, but eject can now open the tray via SG_IO
- CDROMEJECT can be made to work again by closing and re-opening grip.  (grip 
holds the cd device in an open state
the entire time it's running.  hal's mounting of the CD apparently sets some 
state in the driver that's not cleared until
all applications close the device.)
- hal will "mount" an audio CD (scan it and place an icon on the desktop upon 
volume detection) even if the action for Audio CD has been set to "Do nothing" 
in Nautilus
- if hal is shut down then grip restarted, grip will be able to open and close 
the tray 100% reliably, regardless of whether a CD is in the drive

-- 
ide-scsi: cdrom tray always reported open
https://bugs.launchpad.net/bugs/210819
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to