From cab01e9ecf1c69656785e64f5fc94cd4ed09e57f Mon Sep 17 00:00:00 2001 From: Kai-Heng Feng Date: Mon, 23 Apr 2018 16:23:03 +0800 Subject: [PATCH] hwdb: Use wlan keycode for all Dell systems (#8762) Once the seat is acquired, gnome-settings-daemon (GSD) takes full control of rfkill by sending RFKILL_IOCTL_NOINPUT ioctl to disable rfkill control in kernel. Since GSD expects wlan keycode when the hotkey gets pressed, we should change the "unknown" to "wlan" accordingly. Tested under both GNOME and KDE. --- hwdb/60-keyboard.hwdb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb index d6c32971db8..0673ec44829 100644 --- a/hwdb/60-keyboard.hwdb +++ b/hwdb/60-keyboard.hwdb @@ -264,7 +264,7 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pn* KEYBOARD_KEY_85=brightnessdown # Fn+Down Brightness Down KEYBOARD_KEY_86=brightnessup # Fn+Up Brightness Up KEYBOARD_KEY_87=battery # Fn+F3 battery icon - KEYBOARD_KEY_88=unknown # Fn+F2 Turn On/Off Wireless - handled in hardware + KEYBOARD_KEY_88=!wlan # Fn+(F2|PrtScr|Home) Turn On/Off Wireless KEYBOARD_KEY_89=ejectclosecd # Fn+F10 Eject CD KEYBOARD_KEY_8a=suspend # Fn+F1 hibernate KEYBOARD_KEY_8b=switchvideomode # Fn+F8 CRT/LCD (high keycode: "displaytoggle") @@ -300,10 +300,6 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*2110:pvr* KEYBOARD_KEY_85=unknown # Brightness Down, also emitted by acpi-video, ignore KEYBOARD_KEY_86=unknown # Brightness Up, also emitted by acpi-video, ignore -# Dell Inspiron 537* -evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron537*:pvr* - KEYBOARD_KEY_88=!wlan # Fn-PrtScr rfkill - # Latitude XT2 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*XT2:pvr* KEYBOARD_KEY_9b=up # tablet rocker up -- 2.47.3