USB services: Difference between revisions
No edit summary |
|||
Line 2: | Line 2: | ||
= usb:ds = | = usb:ds = | ||
Pre-11.0.0 this was [[#IDsService]]. | |||
Used for Switch<>PC USB comms, aka Switch-as-device. This seems to only be usable in handheld-mode with the Switch directly connected to a host via an USB cable, not(?) in docked-mode. | Used for Switch<>PC USB comms, aka Switch-as-device. This seems to only be usable in handheld-mode with the Switch directly connected to a host via an USB cable, not(?) in docked-mode. | ||
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 is also used by [[Capmtp_services|capmtp]]. | ||
This service session is used as an IPC [[IPC_Marshalling|domain]] by [[Manu Services|manu]] | This service session is used as an IPC [[IPC_Marshalling|domain]] by [[Manu Services|manu]]. | ||
This service can be used by multiple processes at the same time, with separate interfaces. However, if one process does usbds shutdown, usbds will reset to defaults even if there's a process still using it. | This service can be used by multiple processes at the same time, with separate interfaces. However, if one process does usbds shutdown, usbds will reset to defaults even if there's a process still using it. | ||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 0 || | |||
|} | |||
Cmd0: No input, returns an [[#IDsService]]. | |||
== IDsService == | |||
This is "nn::usb::ds::IDsService". | |||
Various cmds were updated/moved with [11.0.0+]. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 210: | Line 224: | ||
== IDsInterface == | == IDsInterface == | ||
This is "nn::usb::ds::IDsInterface". | This is "nn::usb::ds::IDsInterface". | ||
Various cmds were updated/moved with [11.0.0+]. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 324: | Line 340: | ||
|- | |- | ||
| 7 || [7.0.0+] || No input, returns an output handle. | | 7 || [7.0.0+] || No input, returns an output handle. | ||
|- | |||
| 8 || [11.0.0+] || | |||
|- | |||
| 9 || [11.0.0+] || | |||
|} | |} | ||