Draft: temp/feedbackd: fork for HW pattern support
Fork feedbackd from Alpine to add patches for HW pattern support found in Qualcomm SoCs for notification LEDs. If the LED supports the hw_pattern sysfs entry, feedbackd will leverage now the hardware for generating the LED patterns saving power and allows the blink the LED still while the whole device is suspended.
Important for Qualcomm based devices such as Oneplus 6/6T, SHIFTPHONES SHIFT6mq, Xiaomi POCOPHONE F1 (SDM845).
Probably also applicable to newer SoCs found in Fairphone 4/5 or others. EDIT: Fairphone 3 has this as well.
This is a temporary fork for testing within pmaports, shall be upstream soon in Alpine anyway
See https://source.puri.sm/Librem5/feedbackd/-/merge_requests/100
How to test it
- Install with
mrtest 5160
- Kill currently running feedbackd:
killall feedbackd
- Start a notification with
fbcli
:fbcli -E message-missed-email
- Check if
hw_pattern
has content:cat /sys/class/$LED:status/hw_pattern
. Replace$LED
with the actual color likergb
,white
, etc.
Edited by Administrator