Merge branch 'udev-module-load' into 'main'

udev: load the required kernel modules

See merge request Librem5/feedbackd!106
This commit is contained in:
Guido Gunther
2023-02-09 13:25:24 +00:00
4 changed files with 3 additions and 4 deletions
-1
View File
@@ -1,4 +1,3 @@
debian/modules-load.d etc/
/usr/bin/
/usr/libexec/
/usr/share/dbus-1/
+1
View File
@@ -0,0 +1 @@
rm_conffile /etc/modules-load.d/feedbackd.conf 0.0.4
+2 -2
View File
@@ -7,7 +7,7 @@ ACTION=="remove", GOTO="feedbackd_end"
SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT}=="1", ENV{ID_PATH}=="platform-vibrator", TAG+="uaccess", ENV{FEEDBACKD_TYPE}="vibra"
# See include/dt-bindings/leds/common.h in the linux kernel
SUBSYSTEM=="leds", DEVPATH=="*/*:status", ENV{FEEDBACKD_TYPE}="led", RUN+="/usr/libexec/fbd-ledctrl -p %S%p -t pattern -G feedbackd"
SUBSYSTEM=="leds", DEVPATH=="*/*:indicator", ENV{FEEDBACKD_TYPE}="led", RUN+="/usr/libexec/fbd-ledctrl -p %S%p -t pattern -G feedbackd"
SUBSYSTEM=="leds", DEVPATH=="*/*:status", ENV{FEEDBACKD_TYPE}="led", RUN{builtin}+="kmod load ledtrig-pattern", RUN+="/usr/libexec/fbd-ledctrl -p %S%p -t pattern -G feedbackd"
SUBSYSTEM=="leds", DEVPATH=="*/*:indicator", ENV{FEEDBACKD_TYPE}="led", RUN{builtin}+="kmod load ledtrig-pattern", RUN+="/usr/libexec/fbd-ledctrl -p %S%p -t pattern -G feedbackd"
LABEL="feedbackd_end"
-1
View File
@@ -1 +0,0 @@
ledtrig-pattern