From fc799aa6b60595e85b9c8eac4566a90cf83fe6a0 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 7 Jul 2010 23:17:11 +0200 Subject: [PATCH] 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. --- extras/keymap/findkeyboards | 2 ++ 1 file changed, 2 insertions(+) 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` -- 2.39.5