summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2017-04-20 21:09:13 +0200
committerMartin Pitt <martinpitt@users.noreply.github.com>2017-04-20 21:09:13 +0200
commit47a3b4fb8713dd071ab65f5fe6ffc4dc9789ccc0 (patch)
treea183068e17212f7953fa3c284d8d837ab2bf3a7a
parent46ae28d8c3b3c438dd1796b78bbff8f9dc188b31 (diff)
hwdb: fix warning "atkbd serio0: Unknown key pressed" (#5772)
At each time pressing the WiFi Fn key on Dell Latitude E7270 laptop, the system reports the following error/warning messages: atkbd serio0: Unknown key pressed (translated set 2, code 0x88 on isa0060/serio0). atkbd serio0: Use 'setkeycodes e008 ' to make it known. This is due to commit 0e33634 which was added to fix https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1441849. However on Dell Latitude E7* models, we need to restore the old generic behavior which consists in ignoring the key event since it's already done by the HW. Indeed the hardware has a specific driver (dell_wmi) to handle rfkill in the hardware level. So, as long as the hardware handles, the best is to leave as is. This patch was originally written by Takashi Iwai. Fixes #5047
-rw-r--r--hwdb/60-keyboard.hwdb4
1 files changed, 4 insertions, 0 deletions
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb
index dc87cd9708..c35b90707d 100644
--- a/hwdb/60-keyboard.hwdb
+++ b/hwdb/60-keyboard.hwdb
@@ -314,6 +314,10 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:pvr*
KEYBOARD_KEY_88=! # wireless switch
KEYBOARD_KEY_9e=!f21
+# Dell Latitude E7*
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*E7*:pvr*
+ KEYBOARD_KEY_88=unknown # Fn-PrtScr rfkill - handled in HW
+
# Dell XPS
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS*:pvr*
KEYBOARD_KEY_8c=!unknown