setusb - Sealevel Software Selectable USB Async Serial Configuration Utility

Overview
--------
This simple utility is designed to allow the user to read and modify the currently configured
electrical interface of software selectable Sealeve USB async serial devices.  This utility
does so by accessing the user section of the EEPROM of the first FTDI chip on each device.

Note:  To access the EEPROM requires the FTDI D2XX library, which has been included in this
package.  This utility use a static version of this library and does not require it to be
installed as a shared library.  The FTDI D2XX library, however requires the usbfs filesystem
to be mounted.

Usage
--------
Get or set the async electrical interface
on Sealevel Systems, Inc. USB serial converters.

Options
  -h, -?, --help       Display usage & exit.
  -v, --version        Display version & exit.
  -b, --debug          Enable debug mode.
  -q, --quiet          Suppress output.
  -d, --device         Specify the index of the device.
  -p, --port           Specify the port number.
  -i, --interface      Specify the interface.


device	The device parameter specifies the supported device index which you would like
	modify.  The first supported device is device 0.  The wildcard "ALL" may be
	specified to indicate modification of all supported devices.

port	The port parameter specifies which of the ports you wish to modify the electrical
	interface of.  The first port is indicated by the value of 0.  The wildcard "ALL"
	may be specified to indicate modification of all the ports on a device.

interface	The interface parameter is a string indicating the desired electrical
	interface.  Possible values are listed below.

	232		Set the RS-232 electrical interface.
	422		Set the RS-422 electrical interface.
	485-4w		Set the RS-485 full duplex electrical interface.
	485-4w-t	Set the RS-485 full duplex electrical interface with termination.
	485-2w		Set the RS-485 half duplex electrical interface.
	485-2w-t	Set the RS-485 half duplex electrical interface with termination.
	485-2w-e	Set the RS-485 half duplex electrical interface with no echo.
	485-2w-t-e	Set the RS-485 half duplex electrical interface with termination and no echo.


