audio, disk, ether, kb, serial, ptp, usbd – Universal Serial Bus
nusb/audio devid |
nusb/disk [ –d ] devid
nusb/ether [ –dD ] [ –t ethertype ] [ –a addr ] devid
nusb/kb [ –d ] devid
nusb/serial [ –d ] devid
nusb/ptp [ –dD ] devid
nusb/usbd [ –dD ]
These programs drive USB devices of specific classes via usb(3).
Usually they are started by nusbrc(8) upon attachment of the device
to the bus. All drivers except usbd take the decimal usb devid
of the device they should handle as their last argument. A driver's
instance handles only one device at a time. |
Options –d and –D trigger debug diagnostics and file system debugging
diagnostics for most drivers. Repeating any one of these may increase
Keyboards and mice
The storage device directory contains the usual files served by sd(3): data, raw, and ctl.
The ctl file supplies the device geometry and partitions when
Serial and JTAG ports
JTAG ports are similar but the files are named jtag and jtagctl.
audio(3), ether(3), mouse(3), sd(3), uart(3), usb(3), shr(3),
The various device drivers are generic USB drivers and may work
only for certain devices of each class. |
USB ATA storage devices are not supported.
The serial driver works only for the Prolific chip and Ftdi, and
control of the dcd and dsr signals and some of the extra features
are not implemented. For Ftdi, only the Sheevaplug and Guruplug
have been tried. There is support for the EHCI debug port, but
it loses bytes.