1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

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.
This commit is contained in:
Martin Pitt 2010-07-07 23:17:11 +02:00
parent 3b529da425
commit fc799aa6b6

View File

@ -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`