
© 2007, QNX Software Systems GmbH & Co. KG. usbd
_
topology(), usbd
_
topology
_
ext()
The structure contains an array of usb_port_attachment_t structures, one per
device. The
usb_port_attachment_t structure contains at least the following:
upstream
_
devno The device number of the upstream hub (0 if it’s a root port).
upstream
_
port The port number the device is connected to.
upstream
_
port
_
speed
The port speed that the device is operating at; one of the
following:
• 0 — full
• 1—low
• 2 — high
upstream
_
hc The bus or host controller that the device is connected to.
The upstream
_
devno field will contain a value other than 0xff to indicate a valid
attachment.
Returns:
EOK Success.
ENODEV The device was removed.
Classification:
QNX Neutrino, QNX 4
Safety
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread Yes
See also:
usbd
_
connect()
September 10, 2007 Chapter 4 • USB Library Reference 85
Comentários a estes Manuais