Re: CD tray closes spontaneously after opening it

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tony Vroon <tony@...>
Cc: <linux-kernel@...>, Tejun Heo <tj@...>, Jens Axboe <jens.axboe@...>
Date: Tuesday, September 30, 2008 - 8:01 am

On Tuesday 30 September 2008, Tony Vroon wrote:

Thanks for the link.

It cannot be hal in my case as I've disabled polling by hal for both
drives using the 'hal-disable-polling' command.

The bug report also mentions udev, but I'm not sure if that's it either
as the bit in the report is about sr* devices, which is SCSI/SATA and
the patch linked there is in Debian's udev.
The udev changelog for Debian has:
udev (0.125-4) unstable; urgency=medium
  * 60-persistent-storage.rules: do not run vol_id on media tray open
    events or the kernel will close the tray again.

Hmm, in Debian unstable /etc/udev/rules.d/60-persistent-storage.rules
also has:
# skip removable ide devices, because open(2) on them causes an events loop
KERNEL=="hd*[!0-9]", ATTR{removable}=="1", DRIVERS=="ide-cs|ide-floppy", \
                                        GOTO="persistent_storage_end"

I wonder if we've got a simple case of a typo here: ide-cs instead of
ide-cd? However, there is such a thing as an ide-cs driver (legacy driver
for PCMCIA IDE/ATA disk cards).
But it does seem logical that rule should also cover IDE CDs...

Cheers,
FJP
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
CD tray closes spontaneously after opening it, Frans Pop, (Tue Sep 30, 6:47 am)
Re: CD tray closes spontaneously after opening it, Tony Vroon, (Tue Sep 30, 7:18 am)
Re: CD tray closes spontaneously after opening it, Frans Pop, (Tue Sep 30, 8:01 am)
Re: CD tray closes spontaneously after opening it, Kay Sievers, (Tue Sep 30, 8:35 am)
Re: CD tray closes spontaneously after opening it, Frans Pop, (Tue Sep 30, 8:47 am)
Re: CD tray closes spontaneously after opening it, Kay Sievers, (Tue Sep 30, 9:55 am)
Re: CD tray closes spontaneously after opening it, Frans Pop, (Tue Sep 30, 3:50 pm)
Re: CD tray closes spontaneously after opening it, Kay Sievers, (Tue Sep 30, 4:02 pm)
Re: CD tray closes spontaneously after opening it, Frans Pop, (Wed Oct 1, 9:53 am)
Re: CD tray closes spontaneously after opening it, Jiri Slaby, (Wed Oct 1, 10:44 am)
Re: CD tray closes spontaneously after opening it, Boris Petkov, (Wed Oct 1, 10:02 am)
Re: CD tray closes spontaneously after opening it, Frans Pop, (Tue Oct 7, 6:47 pm)
Re: CD tray closes spontaneously after opening it, Tom Spink, (Wed Oct 1, 3:48 am)
Re: CD tray closes spontaneously after opening it, Kay Sievers, (Wed Oct 1, 6:17 am)
Re: CD tray closes spontaneously after opening it, Frans Pop, (Tue Sep 30, 8:35 am)