Skip to content

Instantly share code, notes, and snippets.

Avatar

Shenghao Yang shenghaoyang

View GitHub Profile
View gist:d83e71b65ecf6a694d9596f09bf8d3a5

Device: HP Zook15v

In Linux, keyboard keys (Fn + F2) & (Fn + F3) resolve to the same scancode:

dmesg:

[  343.043330] atkbd serio0: Unknown key pressed (translated set 2, code 0xab on isa0060/serio0).
[  343.043336] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[  343.053302] atkbd serio0: Unknown key released (translated set 2, code 0xab on isa0060/serio0).
@shenghaoyang
shenghaoyang / blueEnable_ALARM_non_mainline.md
Last active Jan 11, 2021
Bluetooth support on Raspberry Pis running Arch Linux ARM with non-mainline kernel.
View blueEnable_ALARM_non_mainline.md

Enabling bluetooth

[Pi 3B (Non-Plus) / Pi Zero W ONLY]

As of kernel package, linux-raspberrypi-4.14.59-1, support for notifying the kernel of the Broadcom bluetooth device through the device tree has been enabled.

There is no longer a need for btattach, which makes the lives of everyone easier. There is also no need to fall back to hciattach for better performance, as the

You can’t perform that action at this time.