Skip to content

Instantly share code, notes, and snippets.

@ohsix
Last active September 12, 2017 20:39
Show Gist options
  • Save ohsix/d93aeb9a8d34df1a1a190c1d02949a60 to your computer and use it in GitHub Desktop.
Save ohsix/d93aeb9a8d34df1a1a190c1d02949a60 to your computer and use it in GitHub Desktop.
udev rules for dumb stuff
#cp2102
SUBSYSTEM=="tty", ENV{ID_VENDOR_ID}=="10c4",ENV{ID_MODEL_ID}=="ea60", TAG+="uaccess"
#ch340g
SUBSYSTEM=="tty", ENV{ID_VENDOR_ID}=="1a86",ENV{ID_MODEL_ID}=="7523", TAG+="uaccess"
#ID_SERIAL=Black_Sphere_Technologies_Black_Magic_Probe__STLINK____Firmware_v1.6-rc0-184-g0480578__BED9C80C
SUBSYSTEM=="tty", ENV{ID_VENDOR_ID}=="1d50",ENV{ID_MODEL_ID}=="6018", TAG+="uaccess"
#ID_SERIAL=Prolific_Technology_Inc._USB-Serial_Controller
SUBSYSTEM=="tty", ENV{ID_VENDOR_ID}=="067b",ENV{ID_MODEL_ID}=="2303", TAG+="uaccess"
#ID_SERIAL=Prolific_Technology_Inc._USB-Serial_Controller
#DRIVER=pl2303
SUBSYSTEM=="tty", ENV{ID_VENDOR_ID}=="05ad",ENV{ID_MODEL_ID}=="0fba", TAG+="uaccess"
#shows up as ttyACM
#ID_SERIAL=Particle_Electron_00000000050C
SUBSYSTEM=="tty", ENV{ID_VENDOR_ID}=="2b04",ENV{ID_MODEL_ID}=="c00a", TAG+="uaccess"
#add a new device by looking at lsusb for vid/mid
#10c4:ea60
#add rest of serial shits i've got
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment