- NetBSD Manual Pages
USBD_STATUS(9) NetBSD Kernel Developer's Manual USBD_STATUS(9)
Powered by man-cgi (2021-06-01).
Maintained for NetBSD
by Kimmo Suominen.
Based on man-cgi by Panagiotis Christias.
usbd_status -- USB device drivers interface return status values
This documents the full list of return values used by the generic USB
code. Interface-specific definitions will be given with interface.
Return values are split into two main groups: expected values and error
There are only two expected values:
The operation completed successfully.
The operation was successfully submitted, usually part of an
These are the error values:
The requested operation could not be completed due to pending
requests, usually from a pipe close operation.
The initial status of a USB transfer. See usbdi(9) for more
details about USB transfers.
Invalid arguments were supplied for the requested operation.
No memory could be allocated.
The USB transfer has been cancelled, and not completed.
The requested USB pipe could not be found. See usbdi(9) for more
details about USB pipes.
The requested operation could not be performed due to the device
having active connections, such as USB audio device currently
USB bus has reached its maximum limit of devices.
Call to usbd_set_address() failed during new USB device discov-
New device has requested more power than is available.
New USB Hub too deep from the root.
Non-specific error happened during IO.
USB device is not configured; it has no configuration descriptor.
Operation timed out.
USB transfer succeeded but not all requested data was returned.
USB controller has stalled (controller specific.)
Process was interrupted by external means (such as a signal)
while waiting for a transfer to complete.
This usbd_status interface first appeared in NetBSD 1.4.
NetBSD 9.1 May 12, 2012 NetBSD 9.1