]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: add hardware rfkill key for Dell Latitude E6* models (#27462)
authordon bright <hmbright@fastmail.com>
Sun, 30 Apr 2023 03:33:13 +0000 (22:33 -0500)
committerGitHub <noreply@github.com>
Sun, 30 Apr 2023 03:33:13 +0000 (11:33 +0800)
Hello

This pull req is adapting pull req #5772 (which fixed issue #5047), for the very similar computer Dell Latitude E6420 which has the same problem with the hardware switch to toggle wifi (aka rfkill). The symptom is the following repeated msgs in dmesg

[  309.010284] atkbd serio0: Use 'setkeycodes e008 <keycode>' to make it known.
[  309.016020] atkbd serio0: Unknown key pressed (translated set 2, code 0x88 on isa0060/serio0).

Adding this line to include E6 models causes these messages to stop showing in dmesg

Thank you

hwdb.d/60-keyboard.hwdb

index 82f3aaf0513c579788d528a29020e02467fb1e39..4b470cf18d0da55a8577af4cdc26e17fc99aa5a7 100644 (file)
@@ -398,7 +398,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:*
  KEYBOARD_KEY_88=!                                      # wireless switch
  KEYBOARD_KEY_9e=!f21
 
-# Dell Latitude E7*
+# Dell Latitude E[67]*
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*E6*:*
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*E7*:*
  KEYBOARD_KEY_88=unknown                                # Fn-PrtScr rfkill - handled in HW