chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df3e07d
)
keymap: fix usb_id invocation
author
Martin Pitt
<martin.pitt@ubuntu.com>
Sun, 11 Oct 2009 16:18:43 +0000
(18:18 +0200)
committer
Martin 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
patch
|
blob
|
history
diff --git
a/extras/keymap/95-keymap.rules
b/extras/keymap/95-keymap.rules
index 967bb4bed183f31fd0163ddadf1ada619b856d25..4ce84bced0bb6fc5928278b12e68214727388117 100644
(file)
--- 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"
#