 |
Tab. 11-16 |
USB: Hub Requests |
|
|
|
|
REQUEST |
RESPONSE |
Bezeichnung |
bmRequestType |
bRequest |
wValue |
wIndex |
wLength |
Data |
GetDeviceStatus
|
80 |
IN |
DEVICE |
00 |
GET_STATUS |
00 00 |
00 00 |
00 02 |
Device Status |
GetEndpointStatus |
82 |
IN |
ENDPOINT |
00 |
GET_STATUS |
00 00 |
00 Endp.Nr. |
00 02 |
Endp. Status |
GetHubStatus |
A0 |
IN |
HUB |
00 |
GET_STATUS |
00 00
|
00 00 |
00 04 |
wHubStatus, wHubChange |
GetPortStatus |
A3 |
IN |
PORT |
00 |
GET_STATUS |
00 00
|
00 Port |
00 04 |
wPortStatus, wPortChange |
ClearDeviceFeature |
00 |
OUT |
DEVICE |
01 |
CLEAR_FEATURE |
FeatureSelect |
00 00 |
00 00 |
--- |
ClearEndpointFeature |
02 |
OUT |
ENDPOINT |
01 |
CLEAR_FEATURE |
FeatureSelect |
00 Endp.Nr. |
00 00 |
--- |
ClearHubFeature |
20 |
OUT |
HUB |
01 |
CLEAR_FEATURE |
FeatureSelect
|
00 00 |
00 00 |
--- |
ClearPortFeature |
23 |
OUT |
PORT |
01 |
CLEAR_FEATURE |
FeatureSelect
|
00 Port |
00 00 |
--- |
GetBusState |
A3 |
IN |
PORT |
02 |
GET_STATE |
00 00
|
00 Port |
00 01 |
BusState |
SetDeviceFeature |
00 |
OUT |
DEVICE |
03 |
SET_FEATURE |
FeatureSelect |
00 00/if/Ep |
00 00 |
--- |
SetEndpointFeature |
02 |
OUT |
ENDPOINT |
03 |
SET_FEATURE |
FeatureSelect
|
00 Endp.Nr. |
00 00 |
--- |
SetHubFeature |
20 |
OUT |
HUB |
03 |
SET_FEATURE |
FeatureSelect
|
00 00 |
00 00 |
--- |
SetPortFeature |
23 |
OUT |
PORT |
03 |
SET_FEATURE |
FeatureSelect
|
00 Port |
00 00 |
--- |
SetDeviceAddress |
00 |
OUT |
DEVICE |
05 |
SET_ADDRESS |
DeviceAddress |
00 00 |
00 00 |
--- |
GetDeviceDescriptor |
80 |
IN |
DEVICE |
06 |
GET_DESCRIPTOR |
DType DIndex |
00..00 / Lang.ID |
DescrLength |
Descriptor |
GetHubDescriptor |
A0 |
IN |
HUB |
06 |
GET_DESCRIPTOR |
DType DIndex
|
00..00 / Lang.ID |
DescrLength |
Descriptor |
SetDeviceDescriptor |
00 |
OUT |
DEVICE |
07 |
SET_DESCRIPTOR |
DType DIndex |
00..00 / Lang.ID |
DescrLength |
Descriptor |
SetHubDescriptor |
20 |
OUT |
HUB |
07 |
SET_DESCRIPTOR |
DType DIndex
|
00..00 / Lang.ID |
DescrLength |
Descriptor |
GetConfiguration |
80 |
IN |
DEVICE |
08 |
GET_CONFIGURATION |
00 00 |
00 00 |
00 01 |
ConfigValue |
SetConfiguration |
00 |
OUT |
DEVICE |
09 |
SET_CONFIGURATION |
ConfigValue |
00 00 |
00 00 |
--- |