Line 116:
Line 116:
1-2: Device index<br>
1-2: Device index<br>
2-4: Device number<br>
2-4: Device number<br>
−
4-8: Unknown1 (passed to /dev/usb/usb ioctl 4)<br>
+
11-12: State (1 to resume, 0 to suspend)
−
11-12: Unknown2 (must match internal device struct offset 0x1d)
| None
| None
−
| Unknown.
+
| Suspend or resume a device.
−
Calls /dev/usb/usb ioctl 4. If the call was successful, sets <code>device->x1d</code> to Unknown1.
+
Calls /dev/usb/usb ioctl 4. If the call was successful, updates the internal device struct to reflect the state change. The new state must not be the same as the current one; otherwise IPC_EINVAL will be returned.
|-
|-
| 0x11 || CancelEndpoint || 0x20 || None
| 0x11 || CancelEndpoint || 0x20 || None