tty2usb Wiki
Find the USB address of a USB-based serial port
Status: Beta
Brought to you by:
alfille
Welcome to your wiki!
This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
The wiki uses Markdown syntax.
/home/paul/tty2usb-code/tty2usb.1 2333/2415 96%
man(1) tty2usb man page man(1)
NAME
tty2ysb - Shows serial devices and associated USB addresses (Linux)
SYNOPSIS
tty2usb
tty2usb -h
DESCRIPTION
Serial (RS232) communication is a legacy way that computers and other
devices (like modems) communicate. Modern systems often no longer
include dedicated serial hardware. Instead serial ports are simulated
by the more capable USB communication systems. That means the device
exists in the USB domain, and also as a serial port. tty2usb finds
connection between serial device names (e.g. ttyUSB0) and the actual
USB address (idVendor/idProduct and busnum/devnum enumeration).
OPTIONS
-h Shows help message
EXAMPLE
> tty2usb
List tty -> USB pairings
TTY=ttyUSB0 bus=3 dev=3 USB=0403:6001
TTY=ttyUSB1 bus=1 dev=6 USB=0403:6001
TTY=ttyUSB2 bus=3 dev=14 USB=0711:0230
TTY=ttyUSB7 bus=1 dev=7 USB=1A86:7523
TTY=ttyUSB8 bus=1 dev=4 USB=10C4:EA60
SEE ALSO
dmesg(1) libusb(1) libusb(3)
BUGS
No known bugs, but doesn't check against unlimited /sys depth.
COPYRIGHT
MIT Licence -- pretty liberal
AUTHOR
Paul Alfille (paul.alfille@gmail.com)
1Help 2UnWrap 3Quit 4Hex 5Goto 6 7Search 8Raw 9Unform10Quit