summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-07-07 23:17:11 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2010-07-07 23:17:11 +0200
commitfc799aa6b60595e85b9c8eac4566a90cf83fe6a0 (patch)
tree768406f6c70839502e8f3fb1aef821690ebf29f0
parent3b529da42586aa430bb0d03800b19dd45552eae1 (diff)
keymap: Find alternate Lenovo module
Newer Lenovos apparently have a lower case "extra buttons" module, cover this as well. Sent by Quentin Denis <quentin.denis@gmail.com> via private mail.
-rwxr-xr-xextras/keymap/findkeyboards2
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/keymap/findkeyboards b/extras/keymap/findkeyboards
index acff534056..5a22649ec9 100755
--- a/extras/keymap/findkeyboards
+++ b/extras/keymap/findkeyboards
@@ -34,6 +34,8 @@ keyboard_devices() {
# modules
module=`udevadm trigger --verbose --dry-run --subsystem-match=input --attr-match=name='*Extra Buttons'`
module="$module
+`udevadm trigger --verbose --dry-run --subsystem-match=input --attr-match=name='*extra buttons'`"
+ module="$module
`udevadm trigger --verbose --dry-run --subsystem-match=input --attr-match=name='Sony Vaio Keys'`"
for m in $module; do
evdev=`ls -d $m/event* 2>/dev/null`