aboutsummaryrefslogtreecommitdiff
path: root/hwdb
diff options
context:
space:
mode:
authorKai-Heng Feng <kaihengfeng@gmail.com>2018-04-23 16:23:03 +0800
committerMartin Pitt <martinpitt@users.noreply.github.com>2018-04-23 10:23:03 +0200
commitcab01e9ecf1c69656785e64f5fc94cd4ed09e57f (patch)
treefea1429c726f4a4a2b37000d4c8ba0ec244845aa /hwdb
parentdoc: add $SYSTEMD_TIMEDATED_NTP_SERVICES= in ENVIRONMENT.md (#8785) (diff)
downloadsystemd-cab01e9ecf1c69656785e64f5fc94cd4ed09e57f.tar.gz
systemd-cab01e9ecf1c69656785e64f5fc94cd4ed09e57f.tar.bz2
systemd-cab01e9ecf1c69656785e64f5fc94cd4ed09e57f.zip
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.
Diffstat (limited to 'hwdb')
-rw-r--r--hwdb/60-keyboard.hwdb6
1 files changed, 1 insertions, 5 deletions
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb
index d6c32971d..0673ec448 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