Comment 33 for bug 215035

Revision history for this message
Martin Pitt (pitti) wrote :

You can use "udevadm test" to see which rules are run on a particular device. For this, you need to look up the particular device in "udevadm info --export-db", and see which one you "want". For example, in your previously attached udev db dump this was:

P: /devices/pci0000:00/0000:00:1a.2/usb5/5-2/5-2:1.1/input/input6/event6
[...]
E: ID_VENDOR=Logitech
E: ID_MODEL=USB_Multimedia_Keyboard

Then you can check with

  udevadm test /devices/pci0000:00/0000:00:1a.2/usb5/5-2/5-2:1.1/input/input6/event6

whether it runs the rule you are about to create.

Where did you put your rule? You mustn't put it after the DRIVERS=="atkbd" check, since this is an USB keyboard. Please put it after this line:

ENV{DMI_VENDOR}=="", GOTO="keyboard_end"

thanks!