Re: udev cdrom_id rules prevent unmounted CD from spinning down

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 18, 2010 at 00:54, Nicolas Thomas Bowler
<ntbowler@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Mon, 17 May 2010 18:27:48 +0200, Kay Sievers wrote:

>> Ok, and if you enable the blkid rules again, then you see events in
>> the monitor?
>
> Sorry, the above statement that udevadm monitor prints nothing was a lie!
> (I must have been insane and/or lacking in coffee first thing in the
> morning).
>
> With the rules commented out, the command /sbin/blkid -p -oudev /dev/sr0
> on the non-spinning drive causes three distinct bursts of events to
> occur:

Ok, the drive seems to send out new events with every access. Maybe
it's a device which tries to send AN (async) events by itself.

What does:
  cat /sys/class/block/sr0/../../evt_media_change
print for this device?

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux