Driver for USB-to-serial adaptors
Note:
You must be root or have the right abilities to start this driver.
Syntax:
devc-serusb_dcd [options]
Options:
In addition to the
devc-ser* options, this driver supports the following option:
- -d args[,args ...]
- Device-specific options; see
Device-specific options,
below.
Device-specific options
The device-specific options that you can specify with the -d option are:
- did=device_ID
- The device ID of the serial device.
- iface_list=number[:number]...
- Specify the USB interface number of the Communications class interface index.
This option also causes the driver to immediately create a /dev/serusbX
entry before the device is accessible to the host.
- path=name
- Connect to the specified USB stack. The default is /dev/usb/io-usb-otg.
- pindex=num
- Set the port index for subsequent port-specific options.
- priority=prio
- Set the priority of the Rx, Tx, and USB stack events.
The default priority is 21.
- ubufsz=size
- The USB transfer size.
The default is the bulk endpoints' maximum packet size, typically 512;
the buffer size is rounded up to the nearest multiple of 512.
- vid=vendor_ID
- The vendor ID of the serial device.
Description:
The devc-serusb_dcd is a driver for USB-to-serial adaptors,
which in combination with the USB device stack
(io-usb-otg),
supports a CDC (Communications Device Class) interface presented to a connected USB host.
Note:
The
io-usb-otg
server must be running before you start this driver.
This driver creates a /dev/serusbX entry in the pathname space, where
X is the next available integer, starting from 1.
This happens when the device becomes accessible to the host, unless you specify the iface_list
option, in which case it happens immediately.
Examples:
Start the driver with edited mode enabled, verbosity enabled, HW and SW flow control disabled,
and a USB index of 0 (which also immediately reserves the /dev/serusbX path):
devc-serusb_dcd -e -v -F -s -d iface_list=0