Skip to content

Instantly share code, notes, and snippets.

@Lekensteyn
Created September 14, 2014 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lekensteyn/f45b5aa91a80388a62f7 to your computer and use it in GitHub Desktop.
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
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"
@debrouxl
Copy link

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" to TAG+="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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment