udev on my up-to-date debian testing system does not generate any
event when I open the drive tray, insert a media and close the tray
again:

> lxuser@debian:~$ udevadm monitor
> monitor will print the received events for:
> UDEV - the event which udev sends out after rule processing
> KERNEL - the kernel uevent
>

which is pretty annoying. Adding the rule from comment #25 avoids the problem:

> lxuser@debian:~$ udevadm monitor
> monitor will print the received events for:
> UDEV - the event which udev sends out after rule processing
> KERNEL - the kernel uevent
>
> KERNEL[37.344854] change   
> /devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sr0 
> (block)
> UDEV  [40.918624] change   
> /devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sr0 
> (block)
> KERNEL[49.120679] change   
> /devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0> /block/sr0 
> (block)
> KERNEL[52.632667] change   
> /devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sr0 
> (block)
> UDEV  [52.639049] change   
> /devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sr0 
> (block)
> UDEV  [52.689831] change   
> /devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sr0 
> (block)

Thanks,

Christoph


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to