summaryrefslogtreecommitdiff
path: root/extras/keymap
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2009-10-11 18:18:43 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2009-10-11 18:18:43 +0200
commite8f04b65f38cafe34af1dbbe4150b87b2771f1f9 (patch)
tree9518f9b9009b440f35a603532fb5d37bb7db018d /extras/keymap
parentdf3e07d6a8abaf7ebd685df0afb65f41622e8d9c (diff)
keymap: fix usb_id invocation
For deciding whether to call usb_id, test the property which we are actually querying further down. https://launchpad.net/215035
Diffstat (limited to 'extras/keymap')
-rw-r--r--extras/keymap/95-keymap.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules
index 967bb4bed1..4ce84bced0 100644
--- a/extras/keymap/95-keymap.rules
+++ b/extras/keymap/95-keymap.rules
@@ -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"
#