diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-08-29 17:28:37 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-09-12 15:02:54 +0200 |
commit | 5092f7c86d11108abf1026b56cb177198d815671 (patch) | |
tree | c0fd1418b692ddea688c0308af1fb6572559d040 /hwdb.d | |
parent | update TODO (diff) | |
download | systemd-5092f7c86d11108abf1026b56cb177198d815671.tar.xz systemd-5092f7c86d11108abf1026b56cb177198d815671.zip |
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')
-rw-r--r-- | hwdb.d/60-keyboard.hwdb | 10 |
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 |