mirror of
https://github.com/systemd/systemd
synced 2024-10-06 16:21:34 +00:00
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.
This commit is contained in:
parent
1135779156
commit
5092f7c86d
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue