Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

janelia-idf/udev_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

#udev_setup

Authors:

Peter Polidoro <[email protected]>

License:

BSD

Information about USB devices:

lsusb

Information about last USB device connected:

tail /var/log/syslog

Find idVendor, idProduct, and serial of USB device:

udevadm info -a -n /dev/ttyUSB0 | grep '{idVendor}' | head -n1
udevadm info -a -n /dev/ttyUSB0 | grep '{idProduct}' | head -n1
udevadm info -a -n /dev/ttyUSB0 | grep '{serial}' | head -n1

Example USB serial rules file:

sudo touch /etc/udev/rules.d/99-usb-serial.rules
sudo echo 'SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A6008isP", SYMLINK+="arduino"' >> /etc/udev/rules.d/99-usb-serial.rules
sudo echo 'SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A7004IXj", SYMLINK+="buspirate"' >> /etc/udev/rules.d/99-usb-serial.rules
sudo echo 'SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="FTDIF46B", SYMLINK+="ttyUSB.ARM"' >> /etc/udev/rules.d/99-usb-serial.rules

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published