From: Martin Pitt Date: Wed, 7 Jul 2010 21:17:11 +0000 (+0200) Subject: keymap: Find alternate Lenovo module X-Git-Tag: 174~416 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc799aa6b60595e85b9c8eac4566a90cf83fe6a0;p=systemd keymap: Find alternate Lenovo module Newer Lenovos apparently have a lower case "extra buttons" module, cover this as well. Sent by Quentin Denis via private mail. --- diff --git a/extras/keymap/findkeyboards b/extras/keymap/findkeyboards index acff5340..5a22649e 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`