/dev/usb/ehc: Difference between revisions
Jump to navigation
Jump to search
Hallowizer (talk | contribs) m Linked to oh0 |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Appears to be a way to address usb devices via EHCI (USB 2.0). This driver has only been seen in IOS58. The interface appears to resemble that of /dev/usb/oh0. | Appears to be a way to address usb devices via EHCI (USB 2.0). This driver has only been seen in IOS58. The interface appears to resemble that of [[:/dev/usb/oh0]]. | ||
== Devices == | == Devices == | ||
Line 13: | Line 13: | ||
| style="vertical-align: top;" |0x01 | | style="vertical-align: top;" |0x01 | ||
| style="vertical-align: top;" |IOS_OPEN | | style="vertical-align: top;" |IOS_OPEN | ||
| style="vertical-align: top;" |Opens the device. Returns 0 if success. Returns 1 if device already open (not confirmed) | | style="vertical-align: top;" |Opens the device. Can only be opened from PID 17 (USB_VEN) otherwise returns -1. Returns 0 if success. Returns 1 if device already open (not confirmed) | ||
|- style="background-color: #eee;" | |- style="background-color: #eee;" | ||
| style="vertical-align: top;" |0x02 | | style="vertical-align: top;" |0x02 | ||
Line 37: | Line 37: | ||
== IOS Ioctlv list == | == IOS Ioctlv list == | ||
{{stub}} | |||
{| class="wikitable" | {| class="wikitable" | ||
! style="vertical-align: top;" |number | ! style="vertical-align: top;" |number | ||
Line 125: | Line 126: | ||
| style="vertical-align: top;" |? | | style="vertical-align: top;" |? | ||
| style="vertical-align: top;" |? | | style="vertical-align: top;" |? | ||
|- style="background-color: #eee;" | |||
| style="vertical-align: top;" |0x14 | |||
| style="vertical-align: top;" |? | |||
| style="vertical-align: top;" | 0x10 | |||
| style="vertical-align: top;" |0 | |||
| style="vertical-align: top;" |? | |||
| style="vertical-align: top;" |? | |||
| style="vertical-align: top;" | Send USB command 0x08 data offset, 0x0C transfer length | |||
|} | |} | ||
[[Category:IOS API documentation]] | [[Category:IOS API documentation]] |
Latest revision as of 04:24, 21 June 2021
Appears to be a way to address usb devices via EHCI (USB 2.0). This driver has only been seen in IOS58. The interface appears to resemble that of /dev/usb/oh0.
Devices
/dev/usb/ehc/0b95/7720
ASIX AX88772 USB2.0 to Fast Ethernet Adapter (referenced in IOS eth driver)
IPC request list
number | name | Description |
---|---|---|
0x01 | IOS_OPEN | Opens the device. Can only be opened from PID 17 (USB_VEN) otherwise returns -1. Returns 0 if success. Returns 1 if device already open (not confirmed) |
0x02 | IOS_CLOSE | Closes the device. Returns 0 always. |
0x03 | IOS_READ | Does nothing. Returns -4. |
0x04 | IOS_WRITE | Does nothing. Returns -4. |
0x05 | IOS_IOCTL | Does nothing. Returns -4. |
0x06 | IOS_IOCTLV | Send an ioctl request. |
IOS Ioctlv list
This article is a stub. You can help WiiBrew by expanding it. |
number | name | in count | out count | vec entry target | vec entry size [bytes] | Description |
---|---|---|---|---|---|---|
0x00 | ? | 0 | 0 | ? | ? | Sets ioctlv.vector[0].addr to 0x20001 and returns 0 ?? |
0x01 | ? | 0 | 0 | ? | ? | ? |
0x02 | ? | 0 | 0 | ? | ? | Reads a stored IPC request. If not NULL, replies to it. If NULL, replies to the current request (always replies with zero). ?? |
0x03 | ? | 0 | 0 | ? | ? | ? |
0x04 | ? | 0 | 0 | ? | ? | ? |
0x05 | ? | 0 | 0 | ? | ? | ? |
0x06 | ? | 0 | 0 | ? | ? | ? |
0x10 | ? | 0 | 0 | ? | ? | ? |
0x11 | ? | 0 | 0 | ? | ? | ? |
0x13 | ? | 0 | 0 | ? | ? | ? |
0x14 | ? | 0x10 | 0 | ? | ? | Send USB command 0x08 data offset, 0x0C transfer length |