Hello Kay, Kay Sievers [2009-04-21 10:52 +0200]: > Nice hardware! :) If only it was real! > The problem is that there are other devices which report a blank media > for non-blank ones, so this rule would break these. Ah, understood. Yay buggy CD-ROM firmware. > We changed it yesterday to use an ID_CDROM_MEDIA key: > http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h=f907449eee3f58fafafee0658e80578b1dbb2722 > > Would be good to know, if that works in the case you see the wrong values. I got a reply from two testers, unfortunately it doesn't see to help at all. With the patch, he gets this on eject: UDEV [1240402978.959576] change /devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr1 (block) ACTION=change SUBSYSTEM=block DEVTYPE=disk ID_CDROM=1 ID_CDROM_DVD=1 ID_CDROM_MEDIA=1 ID_CDROM_MEDIA_DVD=1 ID_CDROM_MEDIA_STATE=blank ID_CDROM_MEDIA_SESSION_NEXT=46336 ID_CDROM_MEDIA_SESSION_COUNT=33024 ID_CDROM_MEDIA_TRACK_COUNT=58368 [...] (full log in the Launchpad bug) Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- 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