add the fix.sh
This commit is contained in:
parent
0f18de857a
commit
e292339b0f
1 changed files with 15 additions and 0 deletions
15
fix.sh
Normal file
15
fix.sh
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
test $(id -u) = 0 || exec sudo "$0"
|
||||
|
||||
# thinkpad keyboard
|
||||
# #> evtest /dev/input/event3 |& grep vendor
|
||||
# bus 0x11 vendor 0x1 product 0x1 version 0xab83
|
||||
cat > /etc/udev/hwdb.d/70-keyboard.hwdb << EOF
|
||||
evdev:input:b0011v0001p0001*
|
||||
KEYBOARD_KEY_d1=unknown
|
||||
EOF
|
||||
|
||||
systemd-hwdb update
|
||||
udevadm trigger --sysname-match="event*" --verbose
|
||||
|
Loading…
Add table
Reference in a new issue