Created
September 14, 2014 11:01
-
-
Save Lekensteyn/f45b5aa91a80388a62f7 to your computer and use it in GitHub Desktop.
improved udev rules for libticables (disable overly broad ttyS and parallel dev matches), directly assign uaccess tag instead of PDA env hack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTION!="add", GOTO="libticables_end" | |
# serial device (assume TI calculator) | |
#KERNEL=="ttyS[0-3]", TAG+="uaccess" | |
# parallel device (assume TI calculator) | |
#SUBSYSTEM=="ppdev", TAG+="uaccess" | |
# SilverLink | |
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e001", TAG+="uaccess" | |
# TI-84+ DirectLink | |
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e003", TAG+="uaccess" | |
# TI-89 Titanium DirectLink | |
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e004", TAG+="uaccess" | |
# TI-84+ SE DirectLink | |
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e008", TAG+="uaccess" | |
# TI-Nspire DirectLink | |
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e012", TAG+="uaccess" | |
LABEL="libticables_end" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, upstream here. I stumbled across this gist while looking for something else.
I'd like to know about the compatibility impact of the change from
ENV{ID_PDA}="1"
toTAG+="uaccess"
:)I don't care much about distros released more than 2-3 years ago: their lower mitigations and lesser security maintenance make them undesirable for users' sake anyway. However - I'd like to know whether TAG+="uaccess" already works on Ubuntu 16.04, soon to be out of support at last. If it does, that's the right level of compatibility, and I can integrate this change.
Thanks in advance.