udev: Add support for haptics on Oneplus Enchilada / Fajita
The spmi_haptics driver isn't in mainline Linux as of Linux 6.11.
This commit is contained in:
@@ -4,7 +4,14 @@
|
|||||||
|
|
||||||
ACTION=="remove", GOTO="feedbackd_end"
|
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"
|
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
|
# See include/dt-bindings/leds/common.h in the linux kernel
|
||||||
|
|||||||
Reference in New Issue
Block a user