hwdb: Fix Pinebook Pro's brightness up/down and sleep keys

Pinebook Pro's display brightness up & down keys do not work until the
keys are mapped to the corresponding codes.

Also, the sleep key is mapped to KEY_POWER code originally. This quirk
maps the sleep key to the KEY_SLEEP code.

This idea comes from the pinebookpro-post-install package [1] of Manjaro
ARM, which is the preloaded OS on Pinebook Pro.

[1]: 7ab1a134ea
This commit is contained in:
Jian-Hong Pan 2020-11-05 12:22:08 +08:00 committed by Lennart Poettering
parent ce8f6d478e
commit f25e30dec4
1 changed files with 10 additions and 0 deletions

View File

@ -1395,6 +1395,16 @@ evdev:input:b0003v05A4p9735*
KEYBOARD_KEY_c00bb=prog2 # Key labeled "pf2"
KEYBOARD_KEY_c00b8=prog3 # Key labeled "pf3"
###########################################################
# Pine64
###########################################################
# Pinebook Pro
evdev:input:b0003v258Ap001E*
KEYBOARD_KEY_700a5=brightnessdown
KEYBOARD_KEY_700a6=brightnessup
KEYBOARD_KEY_70066=sleep
###########################################################
# Plantronics
###########################################################