Skip to content

junqi047/ttyUSB-fixed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

ttyUSB-fixed

THIS FILE PRESENTS HOW TO FIX A TTYUSB TO ANY SPECIFIC DEVICE.

Connect with any device. Here is an example with respect to Ultrasonic.

Open a terminal and enter "lsusb".

Write down the idVender and idProduct from the numbers in the yellow box, respectively, as follows:

In the terminal and enter "udevadm info /dev/ttyUSB0". The "ttyUSB*" depends on the port number.

Write down the information which is presented in the red box as follows:

Go to the folder: /ect/udev/rules.d
Then"ls", check the name of the rules.

sudo gedit 77-ttyusb.rules
Follow the templet as follows:

KERNEL=="ttyUSB[0-9]*", MODE="0666"
SUBSYSTEM=="tty", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", SYMLINK+="Ultrasonic"
SUBSYSTEM=="tty", ENV{ID_PATH}=="pci-0000:02:10.0-usb-0:2.1:1.0", SYMLINK+="Ultrasonic"

Restart the USB and check the name according to "ls /dev".

About

Notes for some experiences

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages