usbserial command
Not logged in

usbserial command

Name

usbserial - transfer data over USB-serial converters

Synopsis

package require Usbserial
usbserial ?devicename?

Description

This command is used to transfer data over supported USB-serial converters (FTDI, CDC, Prolific, etc.), see this reference. When no further argument is given to the usbserial command, a list of supported USB device names in the form of zero or more /dev/bus/usb/MMM/NNN device special file names is returned. When the USB device name of a supported USB-serial converter is given as argument, usbserial opens that USB device and returns a Tcl channel handle for it. This handle may be used with fconfigure, gets, read, puts, and close. The options -mode, -ttycontrol, and -ttystatus to fconfigure are supported by the channel. However, support for getting and/or setting control lines varies between different USB-serial converter chips. Note, that similar to a normal POSIX tty device an USB device name can be opened more than once simultaneously.

List of supported devices

Vendor
ID
Product
ID
Remarks
 
0x10c40xea60CP2102
0x10c40xea70CP2105
0x10c40xea71CP2108
0x10c40xea80CP2110
0x067b0x2303Prolific PL2303
0x04030x0601FTDI FT232R
0x04030x6015FTDI FT231X
0x23410x0001Arduino UNO
0x23410x0010Arduino Mega 2560
0x23410x003bArduino Serial Adapter
0x23410x003fArduino Mega ADK
0x23410x0042Arduino Mega 2560 R3
0x23410x0043Arduino UNO R3
0x23410x0044Arduino Mega ADK R3
0x23410x8036Arduino Leonardo
0x16c00x0483TeensyDuino
0x03eb0x2044ATMEL LUFA CDC Demo Application
0x1eaf0x0004Leaflabs Maple
0x1a860x7523CH 34x
0x1a860x5523CH 34x
0x43480x5523CH 34x