shitposts/lewd/new-devices-and-fixed-sysfs-warning.patch

18 lines
1,009 B
Diff
Raw Normal View History

diff -ur libticables-1.3.0.orig/debian/udev/45-libticables.rules libticables-1.3.0/debian/udev/45-libticables.rules
--- libticables-1.3.0.orig/debian/udev/45-libticables.rules 2011-09-10 11:58:11.580082717 +0200
+++ libticables-1.3.0/debian/udev/45-libticables.rules 2011-09-10 11:58:42.910082706 +0200
@@ -2,5 +2,11 @@
# udev rules file for libticables/TiLP
#
-# Texas Instruments SilverLink link cable
-SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0451", SYSFS{idProduct}=="e001", MODE="660", GROUP="tilp"
+# Vendor 0451 is Texas Instruments, devices:
+# e001: SilverLink USB Cable
+# e003: TI-84 Plus USB Device (DirectLink)
+# e004: TI-89 Titanium USB Device (DirectLink)
+# e008: TI-84 Plus Silver Edition USB Device (DirectLink)
+# e012: TI-Nspire USB Device (DirectLink)
+SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0451", ATTR{idProduct}=="e00[1348]", MODE="660", GROUP="tilp"
+SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0451", ATTR{idProduct}=="e012", MODE="660", GROUP="tilp"