Service_USB 32 - HUB state changed

Service_USB 32 - HUB state changed — Broadcast by the Hub Class driver module to inform other programs about changes inside a hub or about changes about device states detected by the Hub.

On Entry

R032 (reason code)
R1&80C00 (USB Service call)
R2Pointer to controller structure
R3Pointer to device structure (to Hub device)
R4Pointer to device structure (to device attached to port) or zero if not known
R5Port number or zero if not port but Hub related
R6

ValueDefinitionDescription
0SERVICE_USB_HUB_ATTACHEDDevice has been attached to a port
1SERVICE_USB_HUB_REMOVEDDevice has been removed from a port
2SERVICE_USB_HUB_DISABLEDDevice has been disabled at a port
3SERVICE_USB_HUB_RESETDevice has been reset at a port
4SERVICE_USB_HUB_OC_OCCUREDOvercurrent Situation at Port/Hub occurred
5SERVICE_USB_HUB_OC_CLEAREDOvercurrent Situation at Port/Hub cleared

On Exit

R0preserved
R1preserved to pass on (do not claim)
R2, R3, R4, R5, R6preserved

Use

The events reported are based entirely on state changes detected by the devices. The Service Call is for information purposes only. You must not claim it.

Warning

This Service call has been superseded and is no longer issued. The USB message system should now be used in preference.