Line 18: |
Line 18: |
| | | |
| == Ioctls == | | == Ioctls == |
− | {| class="wikitable" | + | {| class="wikitable" style="width: 100%" |
| |- | | |- |
− | ! Ioctl !! Name !! Notes | + | ! Ioctl !! Name !! Input !! Output !! Notes |
| |- | | |- |
− | | 0 || GetVersion || Identical to VEN | + | | 0 || GetVersion ||colspan="3" style="text-align: center"| Identical to VEN |
| |- | | |- |
− | | 1 || GetDeviceChange || Identical to VEN | + | | 1 || GetDeviceChange ||colspan="3" style="text-align: center"| Identical to VEN |
| |- | | |- |
− | | 2 || Shutdown || Identical to VEN | + | | 2 || Shutdown ||colspan="3" style="text-align: center"| Identical to VEN |
| |- | | |- |
− | | 3 || GetDeviceInfo || Similar to VEN, but with different offsets | + | | 3 || GetDeviceInfo || ? || ? || Similar to VEN, but with different offsets |
| |- | | |- |
− | | 4 || ? || Identical to VEN | + | | 4 || ? ||colspan="3" style="text-align: center"| Identical to VEN |
| |- | | |- |
− | | 5 || ? || Identical to VEN | + | | 5 || ? ||colspan="3" style="text-align: center"| Identical to VEN |
| |- | | |- |
− | | 6 || AttachFinish || Identical to VEN | + | | 6 || AttachFinish ||colspan="3" style="text-align: center"| Identical to VEN |
| |- | | |- |
− | | 7 || SetAlternateSetting || Not available in HID | + | | 7 || SetAlternateSetting ||colspan="3" style="text-align: center"| Not available in HID |
| |- | | |- |
− | | 8 || ? || Does not exist in HID | + | | 8 || ? ||colspan="3" style="text-align: center"| Does not exist in HID |
| |- | | |- |
− | | 0x10 || SuspendResume || Identical to VEN | + | | 0x10 || SuspendResume ||colspan="3" style="text-align: center"| Identical to VEN |
| |- | | |- |
− | | 0x11 || CancelEndpoint | + | | 0x11 || CancelEndpoint || ? || ? |
| | Calls USB backend (EHC or OHCI0) ioctl 0x10 | | | Calls USB backend (EHC or OHCI0) ioctl 0x10 |
| | | |
Line 49: |
Line 49: |
| Cancels all queued transfers with return code -7022 (USB_CANCELLED). | | Cancels all queued transfers with return code -7022 (USB_CANCELLED). |
| |- | | |- |
− | | 0x12 (ioctlv) || CtrlTransfer (?) || Submit a control transfer. | + | | 0x12 (ioctlv) || CtrlTransfer (?) || ? || ? || Submit a control transfer. |
| | | |
| Appears to use the Starlet timer (HW_TIMER) and possibly rate limit requests {{check}} | | Appears to use the Starlet timer (HW_TIMER) and possibly rate limit requests {{check}} |
| |- | | |- |
− | | 0x13 (ioctlv) || IntrTransfer (?) || Submit an interrupt transfer. | + | | 0x13 (ioctlv) || IntrTransfer (?) || ? || ? || Submit an interrupt transfer. |
| | | |
| Appears to use the Starlet timer (HW_TIMER) and possibly rate limit requests {{check}} | | Appears to use the Starlet timer (HW_TIMER) and possibly rate limit requests {{check}} |
| |- | | |- |
− | | 0x14 (ioctlv) || IsoTransfer || Not available in HID | + | | 0x14 (ioctlv) || IsoTransfer ||colspan="3" style="text-align: center"|Not available in HID |
| |- | | |- |
− | | 0x15 (ioctlv) || BulkTransfer || Not available in HID | + | | 0x15 (ioctlv) || BulkTransfer ||colspan="3" style="text-align: center"|Not available in HID |
| |} | | |} |
| | | |
| [[Category:IOS API documentation]] | | [[Category:IOS API documentation]] |