Plippo / twofing

Daemon for two finger gestures
http://www.plippo.de/p/twofing
27 stars 15 forks source link

Add support for raspberrypi-ts driver introduced by kernel 4.21 in udev rules #7

Closed Vojta3310 closed 3 years ago

Vojta3310 commented 3 years ago

Since the new driver for the official Raspberry Pi touchscreen was introduced with this patch the touchscreen no longer reports as "FT5406 memory based driver" but as "raspberrypi-ts" instead. To add support for this new driver I suggest adding these lines into the raspberry pi touchscreen rules into rules/70-touchscreen-raspberrypi.rules

# add support for raspberrypi-ts driver introduced by kernel 4.21
ACTION=="add",KERNEL=="event*",ATTRS{name}=="raspberrypi-ts",SYMLINK+="twofingtouch",MODE="0440"
KERNEL=="event*",ATTRS{name}=="raspberrypi-ts",SYMLINK+="twofingtouch",MODE="0440"

or creating a new file with these rules.

Plippo commented 3 years ago

Thank you, I have added the rules to rules/70-touchscreen-raspberrypi.rules.