mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-26 09:57:26 +03:00
hwdb: Add Huawei section and remap keys (#11406)
hwdb: Add support for 'Huawei WMI hotkeys' driver Since 'Huawei WMI hotkeys' driver finally got merged into kernel [commit](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/platform/x86/huawei-wmi.c?id=bf4fb28c6e74495de9e1e4ad359cd2272ac12c53), this remaps 'KEY_MICMUTE' to 'F20' to make the key work and disables brightness keys on (MACH-WX9) since it's already supported by kernel.
This commit is contained in:
parent
05d4db2051
commit
80aff27aeb
@ -618,6 +618,21 @@ evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*645*G4*
|
||||
KEYBOARD_KEY_73=slash # Slash key
|
||||
KEYBOARD_KEY_f8=wlan # Wireless HW switch button
|
||||
|
||||
##########################################################
|
||||
# Huawei
|
||||
##########################################################
|
||||
|
||||
# Huawei WMI hotkeys driver
|
||||
evdev:name:Huawei WMI hotkeys:dmi:bvn*:bvr*:bd*:svnHUAWEI*
|
||||
KEYBOARD_KEY_287=f20 # Microphone mute button, should be micmute
|
||||
|
||||
# Huawei MACH-WX9
|
||||
evdev:atkbd:dmi:bvn*:bvr*:svnHUAWEI*:pnMACH-WX9:pvr*
|
||||
KEYBOARD_KEY_f7=unknown
|
||||
KEYBOARD_KEY_f8=fn
|
||||
KEYBOARD_KEY_281=unknown # Brightness Down, also emitted by acpi-video, ignore
|
||||
KEYBOARD_KEY_282=unknown # Brightness Up, also emitted by acpi-video, ignore
|
||||
|
||||
###########################################################
|
||||
# IBM
|
||||
###########################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user