HUBD(4D) | Devices | HUBD(4D) |
hubd - USB hub driver
hub@unit-address
The hubd is a USBA (illumos USB Architecture) compliant client driver that supports USB hubs conforming to the Universal Serial Bus Specification 3.0. The hubd driver supports bus-powered and self-powered hubs. The driver supports hubs with individual port power, ganged power and no power switching.
When a device is attached to a hub port, the hubd driver enumerates the device by determining its type and assigning an address to it. For multi-configuration devices, hubd sets the preferred configuration (refer to cfgadm_usb(8) to select a configuration). The hubd driver attaches a driver to the device if one is available for the default or selected configuration. When the device is disconnected from the hub port, the hubd driver offlines any driver instance attached to the device.
/kernel/drv/hubd
/kernel/drv/amd64/hubd
/kernel/drv/sparcv9/hubd
See attributes(7) for a description of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Architecture | SPARC, x86, PCI-based systems |
usba(4D), attributes(7), cfgadm_usb(8)
Writing Device Drivers
Universal Serial Bus Specification 2.0
System Administration Guide: Basic Administration
In addition to being logged, the following messages may also appear on the system console. Messages are formatted in the following manner:
WARNING: <device path> <hubd<instance number>): Message...
where <instance number> is the instance number of hubd and <device path> is the physical path to the device in /devices directory. Messages from the root hub are displayed with a usb<instance number> prefix instead of hub<instance number> as the root hub is an integrated part of the host controller.
Connecting device on port <number> failed.
Use of a USB 1.0 hub behind a high speed port may cause unexpected failures.
Connecting a high speed device to a non-high speed hub (port x) will result in a loss of performance. Please connect the device to a high speed port to get the maximum performance.
Cannot access <device>. Please reconnect.
Port <n> overcurrent.
Devices not identical to the previous one on this port. Please disconnect and reconnect.
Hub driver supports max of <n> ports on hub. Hence, using the first <number of physical ports> of <n> ports available.
Hub global over current condition, please disconnect the devices connected to the hub to clear the condition. You may need to re-connect the hub if the ports do not work.
Root hub over current condition, please check your system to clear the condition as soon as possible. You may need to reboot the system if the root hub does not recover automatically.
The following messages may be logged into the system log. They are formatted in the following manner:
<device path><hubd<instance number>): message...
Local power has been lost, please disconnect hub.
Local power has been lost, the hub could draw <x> mA power from the USB bus.
Two bus-powered hubs cannot be concatenated.
Configuration <n> for device <device> at port <m> exceeds power available for this port. Please re-insert your device into another hub port which has enough power.
Port <n> in over current condition, please check the attached device to clear the condition. The system will try to recover the port, but if not successful, you need to re-connect the hub or reboot the system to bring the port back to work.
Unable to attach USB 3.x hub <vendor> <device>. A maximum of 5 hubs may be cascaded.
May 13, 2017 | OmniOS |