Thursday, January 24, 2013

linux: usb serial device

to identify the location of your usb serial device on linux...

use lsusb command to see all usb devices connected

to get the /dev address of your serial device you can do the ff:

i. tail your system logs and connect/disconnect your usb device. messages will show where it maps. i tail /var/log/syslog on CentOS and /var/log/messages on Fedora

ii. check your /dev/ttyUSB* or /sys/class/tty/ttyUSB* files

:)

No comments:

Post a Comment

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...