Line 1:
Line 1:
−
/dev/usb/oh0 is used to interact with the Wii's external USB bus. This interface is very similar to [[/dev/usb/oh1]] and has two parts: the "root" or host device, and individual devices on which USB requests can be submitted.
+
/dev/usb/oh0 is used to interact with the Wii's external USB bus. This interface is very similar to [[:/dev/usb/oh1]] and has two parts: the "root" or host device, and individual devices on which USB requests can be submitted.
== /dev/usb/oh0 (IOS57 and newer) ==
== /dev/usb/oh0 (IOS57 and newer) ==
Line 13:
Line 13:
|-
|-
| 0 || USBV2_IOCTL_GET_VERSION || - || 0x20 bytes
| 0 || USBV2_IOCTL_GET_VERSION || - || 0x20 bytes
−
| Writes the version 0x20001 to the output buffer. This is very similar to the IOS58 version of /dev/usb/hid, which writes 0x50001 to the output buffer instead. It is also reminiscent of [[/dev/usb/ehc]] which does the same thing (but with an ioctlv).
+
| Writes the version 0x20001 to the output buffer. This is very similar to the IOS58 version of /dev/usb/hid, which writes 0x50001 to the output buffer instead. It is also reminiscent of [[:/dev/usb/ehc]] which does the same thing (but with an ioctlv).
|-
|-
| 1 || ? || ? || ?
| 1 || ? || ? || ?