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 6:
Line 6:
== IPC request list ==
== IPC request list ==
−
{| class="wikitable" style="margin: 1em auto 1em auto"
+
{| class="wikitable"
! style="vertical-align: top;" |number
! style="vertical-align: top;" |number
! style="vertical-align: top;" |name
! style="vertical-align: top;" |name
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 ==
−
{| class="wikitable" style="margin: 1em auto 1em auto"
+
{{stub}}
+
{| class="wikitable"
! style="vertical-align: top;" |number
! style="vertical-align: top;" |number
! style="vertical-align: top;" |name
! style="vertical-align: top;" |name
Line 68:
Line 69:
| style="vertical-align: top;" |?
| style="vertical-align: top;" |?
| style="vertical-align: top;" |?
| style="vertical-align: top;" |?
−
| style="vertical-align: top;" |?
+
| style="vertical-align: top;" |Reads a stored IPC request. If not NULL, replies to it. If NULL, replies to the current request (always replies with zero). ??
|- style="background-color: #eee;"
|- style="background-color: #eee;"
| style="vertical-align: top;" |0x03
| style="vertical-align: top;" |0x03
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]]