USB services: Difference between revisions

usb:ds: Switched to the usb-sysmodule name for this cmd.
Line 11: Line 11:
! Cmd || Name || Notes
! Cmd || Name || Notes
|-
|-
| 0 || [[#BindComplex]] ||  
| 0 || [[#BindDevice]] ||  
|-
|-
| 1 || [[#BindClientProcess]] ||  
| 1 || [[#BindClientProcess]] ||  
Line 27: Line 27:
* Initial service init:
* Initial service init:
** Get service/etc.
** Get service/etc.
** Uses [[#BindComplex]].
** Uses [[#BindDevice]].
** Uses [[#BindClientProcess]].
** Uses [[#BindClientProcess]].
** Uses [[#GetStateChangeEvent]].
** Uses [[#GetStateChangeEvent]].
Line 106: Line 106:
           bInterval              16
           bInterval              16


== BindComplex ==
== BindDevice ==
Takes an u32 ('''complexId'''). [[Manu_Services|Manu]] sends 0x02.
Takes an u32 ('''complexId'''). [[Manu_Services|Manu]] sends 0x02.


Once this command is used, the USB device will not be listed with <code>lsusb</code> until [[#EnableInterface]] is used.
Binding more than once with the current session is not allowed. Once this command is used, the USB device will not be listed with <code>lsusb</code> until [[#EnableInterface]] is used.


== BindClientProcess ==
== BindClientProcess ==