Difference between revisions of "USB services"

From Nintendo Switch Brew
Jump to navigation Jump to search
(Official symbols)
Line 33: Line 33:
 
| 2 ||  
 
| 2 ||  
 
|-
 
|-
| 3 || StartInterface
+
| 3 || EnableInterface
 
|-
 
|-
| 4 || StopInterface
+
| 4 || DisableInterface
 
|-
 
|-
 
| 5 ||  
 
| 5 ||  

Revision as of 16:31, 8 September 2017

One symbol in USB-sysmodule is: "vtable for nn::usb::detail::UsbComplexTegra21x".

usb:ds

Used for Switch<>PC USB comms, aka Switch-as-device. This service is used during factory setup by manu.

Cmd Name
0 BindComplex
1 BindClientProcess
2 GetDsInterface
3 GetStateChangeEvent
4
5 SetVidPidBcd

IDsInterface

Cmd Name
0 GetDsEndpoint
1 GetSetupEvent
2
3 EnableInterface
4 DisableInterface
5
6
7 GetCtrlInCompletionEvent
8
9 GetCtrlOutCompletionEvent
10
11

IDsEndpoint

Cmd Name
0 PostBufferAsync
1
2
3 GetReportData
4
5

usb:hs

General USB devices usage, used by hid-sysmodule and bsdsockets-sysmodule.

usb:pd

Only system-titles with access to this are PTM and AM.

usb:pd:c

USB-sysmodule symbols for this refer to "Cradle", which is the Dock.

usb:pm

Presumably Power Management, only system-title using this is PTM.