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:
parent
3b529da425
commit
fc799aa6b6
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user