Driver for USB Mass Storage interface
Note:
In order to start this driver, you must be logged in as
root, and the USB stack
(
io-usb)
needs to be running.
Syntax:
devb-umass [blk option[,option]...]
[cam option[,option]...]
[disk option[,option]...]
[umass options[,option]...]
Options:
Note:
Use commas (,) to separate the options.
You can put the blk, cam, disk, and umass
groups of options in any order.
- blk options
- The blk options control
io-blk.so.
If specified, they must follow the blk keyword.
For more information, see io-blk.so.
- cam options
- The cam options control the common access methods:
- lun=mask
- Enable Logical Unit Number (LUN) scanning for the devices specified in mask.
The mask is a hex bitmask specifying which IDs to scan for; the default is 0xffff.
- pnp
- Enable CAM plug and play (i.e. don't exit at startup when no devices
are found). The default is off.
- quiet
- Be quiet: don't display any information on startup.
- verbose
- Be verbose: display full information about units (devices) on startup.
- disk options
- The disk options control the driver's interface to
cam-disk.so.
If specified, they must follow the disk keyword.
- umass options
- The umass options control the driver's interface to the USB device.
If you've installed multiple devices, you can repeat these options for
each device.
Remember, however, to specify the umass keyword
before each controller's set of options.
- busno=bus
- The bus number of the USB controller.
- cmd_timeout=num
- Specify the command timeout in ms.
The default is 4 seconds.
- config=cfg
- The configuration number of the device.
- csw_ignore
- Ignore the Command Status Wrapper.
Some devices return invalid data for the CSW.
- devno=dev
- The USB address of the device.
- did=did
- The device ID of the device.
- iface=if
- The particular interface number of the device.
- maxbresets=num
- Set the maximum number of bulk resets (default is 0).
Once we reach this, the device will be disabled.
- mpoll=num[:fpoll:fnum]
- Set the polling thread interval, where num is the normal polling interval in ms,
fpoll is the polling interval to use during startup (a faster rate), and
fnum is how many times to poll using the second parameter.
You can either specify the first parameter (without fpoll and fnum),
or specify all three parameters.
If you don't specify this option, there's no polling thread.
- path=name
- Connect to the specified USB stack. The default is /dev/io-usb/io-usb.
- priority=prio
- Set the priority of the processing thread. The default is 21.
- scsipath=name
- Set the path name of the SCSI passthrough interface (default none).
- vid=vid
- The vendor ID of the device.
- wait=num
- Wait num of seconds for the USB stack. The default is 60 seconds.
Description:
The devb-umass driver is the driver for a USB mass storage interface.
Examples:
Assume a USB controller, and list all connected devices:
devb-umass &
Assume a USB controller, and list/wait for all connected devices:
devb-umass cam pnp &