Hello,

One thing I have forgotten to mention is the display backlight
control.
The USB keyboard integrated in PBP is not using the standard HID
Consumer page to report brightness up/down keys, instead they are just
part of the main page. Udev on GNU/Linux systems handles that
semi-automatically when used with systemd hwdb[0].

You can enable the integrated handling by adding this to
/etc/wsconsctl.conf:

keyboard.map+="keycode 165 = Cmd_BrightnessDown voidSymbol"
keyboard.map+="keycode 166 = Cmd_BrightnessUp voidSymbol"

Unfortunately, that only works for VTs (and they're itself not really
usable due to very slow scrolling), once you switch to X11 console
they stop doing anything (wscons consumes them internally but skips
the action when Xorg is used). xbacklight is not integrated either but
you can change brightness using something like "wsconsctl
display.brightness=30".

[0] https://github.com/systemd/systemd/blob/main/hwdb.d/60-keyboard.hwdb#L1745

Reply via email to