USB services: Difference between revisions

Line 5: Line 5:
This service is used during [[Factory Setup|factory setup]] by [[Manu Services|manu]].
This service is used during [[Factory Setup|factory setup]] by [[Manu Services|manu]].


This service session is used as an IPC [[IPC_Marshalling|domain]]. All of these {get-session} commands also return an output u8 and the u32 <[[IPC_Marshalling|domainID]]>, for using those sessions as domains.
This service session is used as an IPC [[IPC_Marshalling|domain]] by [[Manu Services|manu]]. All of these {get-session} commands also return an output u8 and the u32 <[[IPC_Marshalling|domainID]]>, for using those sessions as domains.


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 23: Line 23:
| 5 || [[#SetVidPidBcd]] ||  
| 5 || [[#SetVidPidBcd]] ||  
|}
|}
Initialization done by [[Manu Services|manu]]:
* Initial service init:
** Get service/etc.
** Uses [[#BindComplex]].
** Uses [[#BindClientProcess]].
** Uses [[#GetStateChangeEvent]].
** Uses [[#SetVidPidBcd]].
* Interface init:
** Uses [[#GetDsInterface]], then uses commands from that with the rest of the following.
** Uses [[#GetSetupEvent]].
** Uses [[#GetCtrlInCompletionEvent]].
** Uses [[#GetCtrlOutCompletionEvent]].
* Initializes two endpoints via using [[#GetDsEndpoint]] twice.


== Configuration ==
== Configuration ==