udev: Update led maching for the librem5
The names changed in device tree which tickles up into userspace.
This commit is contained in:
Vendored
+3
-1
@@ -6,8 +6,10 @@ ACTION=="remove", GOTO="feedbackd_end"
|
||||
|
||||
SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT}=="1", ENV{ID_PATH}=="platform-vibrator", TAG+="uaccess", ENV{FEEDBACKD_TYPE}="vibra"
|
||||
|
||||
# Front leds of the Librem5
|
||||
# Front leds of the Librem5 (pre 5.9)
|
||||
SUBSYSTEM=="leds", DEVPATH=="*/phone:*:front", ENV{FEEDBACKD_TYPE}="led", RUN+="/usr/libexec/fbd-ledctrl -p %S%p -t pattern -G video"
|
||||
# Front leds of the Librem5 (5.9 and later)
|
||||
SUBSYSTEM=="leds", DEVPATH=="*/*:status", ENV{FEEDBACKD_TYPE}="led", RUN+="/usr/libexec/fbd-ledctrl -p %S%p -t pattern -G video"
|
||||
# Front leds of the PinePhone
|
||||
SUBSYSTEM=="leds", DEVPATH=="*/*:indicator", ENV{FEEDBACKD_TYPE}="led", RUN+="/usr/libexec/fbd-ledctrl -p %S%p -t pattern -G video"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user