udev-rules: Add support for haptics on Google Sargo
The drv2624 driver isn't in mainline Linux as of Linux 6.11. Taken from https://gitlab.com/postmarketOS/pmaports/-/blob/434e012950bd121b2b9295fcf0699ed8af287a3d/device/community/device-google-sargo/90-feedbackd-drv2624.rules
This commit is contained in:
committed by
Guido Günther
parent
0646a9303a
commit
30bafbfe55
@@ -9,6 +9,8 @@ ACTION=="remove", GOTO="feedbackd_end"
|
|||||||
#
|
#
|
||||||
# Librem 5, PinePhone
|
# 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"
|
||||||
|
# Google Sargo (not mainline)
|
||||||
|
SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT}=="1", SUBSYSTEMS=="input", ATTRS{name}=="drv2624:haptics", TAG+="uaccess", ENV{FEEDBACKD_TYPE}="vibra"
|
||||||
# Oneplus Enchilada, Fajita (not mainline)
|
# 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"
|
SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT}=="1", SUBSYSTEMS=="input", ATTRS{name}=="spmi_haptics", TAG+="uaccess", ENV{FEEDBACKD_TYPE}="vibra"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user