Merge branch 'enchilada' into 'main'

udev: Add support for haptics on Oneplus Enchilada / Fajita

See merge request Librem5/feedbackd!140
This commit is contained in:
Guido Günther
2024-09-11 12:57:36 +00:00
+7
View File
@@ -4,7 +4,14 @@
ACTION=="remove", GOTO="feedbackd_end"
#
# Haptic
#
# Librem 5, PinePhone
SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT}=="1", ENV{ID_PATH}=="platform-vibrator", TAG+="uaccess", ENV{FEEDBACKD_TYPE}="vibra"
# Oneplus Enchilada, Fajita (not mainline)
SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT}=="1", SUBSYSTEMS=="input", ATTRS{name}=="spmi_haptics", TAG+="uaccess", ENV{FEEDBACKD_TYPE}="vibra"
#
# See include/dt-bindings/leds/common.h in the linux kernel