]> err.no Git - systemd/commitdiff
keymap: fix usb_id invocation
authorMartin Pitt <martin.pitt@ubuntu.com>
Sun, 11 Oct 2009 16:18:43 +0000 (18:18 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Sun, 11 Oct 2009 16:18:43 +0000 (18:18 +0200)
For deciding whether to call usb_id, test the property which we are actually
querying further down.

https://launchpad.net/215035

extras/keymap/95-keymap.rules

index 967bb4bed183f31fd0163ddadf1ada619b856d25..4ce84bced0bb6fc5928278b12e68214727388117 100644 (file)
@@ -9,7 +9,7 @@ ACTION!="add", GOTO="keyboard_end"
 SUBSYSTEM!="input", GOTO="keyboard_end"
 KERNEL!="event*", GOTO="keyboard_end"
 
-SUBSYSTEMS=="usb", ENV{ID_MODEL}=="", IMPORT{program}="usb_id --export %p", GOTO="keyboard_usbcheck"
+SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="", IMPORT{program}="usb_id --export %p", GOTO="keyboard_usbcheck"
 GOTO="keyboard_modulecheck"
 
 #