summaryrefslogtreecommitdiff
path: root/hwdb.d/60-keyboard.hwdb
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-08-29 17:28:37 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-09-12 22:02:54 +0900
commit5092f7c86d11108abf1026b56cb177198d815671 (patch)
treec0fd1418b692ddea688c0308af1fb6572559d040 /hwdb.d/60-keyboard.hwdb
parent1135779156ac7bbf28cc541917705f55a12b6312 (diff)
downloadsystemd-5092f7c86d11108abf1026b56cb177198d815671.tar.gz
hwdb: Fix Acer Aspire One AOD270/Packard Bell Dot keymappings
The Acer Aspire One AOD270 and the same hardware rebranded as Packard Bell Dot SC need a couple of keymap fixups: 1. The switch-video-mode key does not do anything. Standard acer-wmi maps scancode 0x61 to KEY_IGNORE since typically these events are duplicate with the ACPI video bus. But on these models the ACPI video bus does not send events for this key, so map it. 2. The Brightness up / down hotkeys send atkbd scancode 0xce / 0xef which by default are mapped to KEY_KPPLUSMINUS and KEY_MACRO. These actually are duplicate events with the ACPI video bus, so map these to KEY_IGNORE.
Diffstat (limited to 'hwdb.d/60-keyboard.hwdb')
-rw-r--r--hwdb.d/60-keyboard.hwdb10
1 files changed, 10 insertions, 0 deletions
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 7ff6a752bd..79386fe9ce 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -164,6 +164,16 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAO532h:*
KEYBOARD_KEY_ce=unknown # Brightness Up, also emitted by acpi-video, ignore
KEYBOARD_KEY_ef=unknown # Brightness Down, also emitted by acpi-video, ignore
+# Acer Aspire One AOD270 (Atom N2600) and its Packard Bell Dot SC rebrand
+evdev:name:Acer WMI hotkeys:dmi:bvn*:bvr*:bd*:svnAcer*:pnAOD270*:*
+evdev:name:Acer WMI hotkeys:dmi:*:svnPackardBell:pndots:*:rvnPackardBell:rnSJE01_CT:*
+ KEYBOARD_KEY_61=switchvideomode
+
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAOD270*:*
+evdev:atkbd:dmi:*:svnPackardBell:pndots:*:rvnPackardBell:rnSJE01_CT:*
+ KEYBOARD_KEY_ce=unknown # Brightness Up, also emitted by acpi-video, ignore
+ KEYBOARD_KEY_ef=unknown # Brightness Down, also emitted by acpi-video, ignore
+
# Predator PH 315-52
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnPredator*PH*315-52:*
KEYBOARD_KEY_ef=kbdillumup # Fn+F10