On 18-08-2011 18:48, Norbert Zeh wrote:
Karol Blazewicz [2011.08.18 1916 +0200]:
On Thu, Aug 18, 2011 at 7:08 PM, Heiko Baums email@example.com wrote:
Am Thu, 18 Aug 2011 18:55:08 +0200 schrieb Karol Blazewicz firstname.lastname@example.org:
I've noticed that I have problems after I mount the CD: the button on the CD-ROM doesn't eject the tray, but 'eject' command works. I get 'ioctl: Input/output error' but the tray opens OK.
Opening and closing the tray w/o mounting works all the time - with the hardware button and w/ 'eject', w/o any errors.
That's obvious. You have the same effect on any other OS, too.
Sorry, I used an inappropriate description of the issue: after mounting *and unmounting*, the button on the CD-ROM is dead.
I can confirm this behaviour. The error occurs only after the drive was in use somehow. This may be mounting and unmounting the drive, playing a movie using vlc (which does not actually mount the drive if I understand correctly), or ripping a CD using cdparanoia.
CD/DVD drives can be soft locked and will not obey (at least) the hardware eject button, I can't remember about soft eject commands. The thing is this soft lock has to be invoked by the software using the drive (or by the kernel I suppose).
I don't use optical drives that much these days but the eject command has always worked just fine for me as long as the media can be unmounted or is already unmounted.
On the hardware button being dead after unmounting I believe that is an old behaviour, either the kernel or the mount command soft lock the drive when media is mounted but will not soft unlock it when unmounting, I remember seeing this behaviour quite some time ago, so for me at least this is nothing new.