Changes

147 bytes added ,  01:29, 22 December 2016
no edit summary
Line 59: Line 59:     
|-
 
|-
| 12 (ioctlv) || USBV0_IOCTL_GETDEVLIST || 2 || 2 || Both
+
| 12 (ioctlv) || USBV0_IOCTLV_GETDEVLIST || 2 || 2 || Both
 
|
 
|
 
Returns a list of connected devices matching an interface class.
 
Returns a list of connected devices matching an interface class.
Line 80: Line 80:  
|-
 
|-
 
| 15 (ioctl) || ? (USB_GetRhDesca) || - || 4 bytes || Both
 
| 15 (ioctl) || ? (USB_GetRhDesca) || - || 4 bytes || Both
| Unknown. Appears to return 02 00 03 02 regardless of the number of plugged in devices.
+
| Unknown; something to do with the root hub (Desc = description?). Appears to return 02 00 03 02 regardless of the number of plugged in devices. {{check}}
    
|-
 
|-
| 20 (ioctlv) || ? (GetRhPortStatus) || 1 || 1 || OH0
+
| 20 (ioctlv) || USBV0_IOCTLV_GETRHPORTSTATUS|| 1 || 1 || OH0
| Supposedly used for getting the root hub's port status. {{check}}
+
| Supposedly used for getting the root hub's port status. (internal name: GetRhPortStatus) {{check}}
 
* in 0: u8 - ?
 
* in 0: u8 - ?
 
* io 0: u32 - Presumably the port status
 
* io 0: u32 - Presumably the port status
    
|-
 
|-
| 25 (ioctlv) || ? (SetRhPortStatus) || 2 || 0 || OH0
+
| 25 (ioctlv) || USBV0_IOCTLV_SETRHPORTSTATUS || 2 || 0 || OH0
| Supposedly used for setting the root hub's port status. {{check}}
+
| Supposedly used for setting the root hub's port status. (internal name: SetRhPortStatus) {{check}}
 
* in 0: u8 - ?
 
* in 0: u8 - ?
 
* in 1: u32 - Presumably the port status
 
* in 1: u32 - Presumably the port status
    
|-
 
|-
| 27 (ioctlv) || USBV0_IOCTL_DEVINSERTHOOK || 2 || 0 || OH0
+
| 27 (ioctlv) || USBV0_IOCTLV_DEVINSERTHOOK || 2 || 0 || OH0
 
|
 
|
 
Returns when a device with the requested VID/PID is plugged in, or immediately if the device is already inserted.
 
Returns when a device with the requested VID/PID is plugged in, or immediately if the device is already inserted.
Line 109: Line 109:     
|-
 
|-
| 30 (ioctlv) || USBV0_IOCTL_DEVINSERTHOOKID (RegisterInsertionNotifyWithId) || 3 || 1 || OH0
+
| 30 (ioctlv) || USBV0_IOCTLV_DEVINSERTHOOKID (RegisterInsertionNotifyWithId) || 3 || 1 || OH0
 
|
 
|
 
Returns when a device with the requested VID/PID is plugged in, or immediately if the device is already inserted.
 
Returns when a device with the requested VID/PID is plugged in, or immediately if the device is already inserted.
   −
It is similar to USBV0_IOCTL_DEVINSERTHOOK, but it has an additional in vector + io vector, possibly used for passing an "ID" (according the official name). {{check}}
+
It is similar to ioctlv 27, but it has an additional in vector + io vector, possibly used for passing an "ID" (according the official name). {{check}}
    
* in 0: u16 - VID
 
* in 0: u16 - VID
Line 121: Line 121:     
|-
 
|-
| 31 (ioctl) || USBV0_IOCTL_CANCEL_DEVINSERTHOOK || 4 bytes || - || OH0
+
| 31 (ioctl) || USBV0_IOCTL_CANCEL_INSERT_HOOK || 4 bytes || - || OH0
 
| Internal names: IUSB_CancelInsertionNotify / __ohciCancelNotifyInsertion
 
| Internal names: IUSB_CancelInsertionNotify / __ohciCancelNotifyInsertion
   Line 144: Line 144:     
|-
 
|-
| 0 (ioctlv) || USBV0_IOCTL_CTRLMSG || 6 || 1 || Both
+
| 0 (ioctlv) || USBV0_IOCTLV_CTRLMSG || 6 || 1 || Both
 
|
 
|
 
Submits a control transfer.
 
Submits a control transfer.
Line 156: Line 156:     
|-
 
|-
| 1 (ioctlv) || USBV0_IOCTL_BLKMSG || 2 || 1 || Both
+
| 1 (ioctlv) || USBV0_IOCTLV_BLKMSG || 2 || 1 || Both
 
|
 
|
 
Submits a bulk transfer.
 
Submits a bulk transfer.
Line 166: Line 166:     
|-
 
|-
| 2 (ioctlv) || USBV0_IOCTL_INTRMSG || 2 || 1 || Both
+
| 2 (ioctlv) || USBV0_IOCTLV_INTRMSG || 2 || 1 || Both
 
|
 
|
 
Submits an interrupt transfer.
 
Submits an interrupt transfer.
Line 186: Line 186:     
|-
 
|-
| 9 (ioctlv) || USBV0_IOCTL_ISOMSG || 3 || 2 || OH0
+
| 9 (ioctlv) || USBV0_IOCTLV_ISOMSG || 3 || 2 || OH0
 
|
 
|
 
Submits an isochronous transfer.
 
Submits an isochronous transfer.
Line 196: Line 196:     
|-
 
|-
| 10 (ioctlv) || USBV0_IOCTL_LBLKMSG || 2 || 1 || OH0
+
| 10 (ioctlv) || USBV0_IOCTLV_LBLKMSG || 2 || 1 || OH0
 
|
 
|
 
Submits a bulk transfer. This is the same as ioctlv 1, except that this takes a u32 for the length instead of a u16.
 
Submits a bulk transfer. This is the same as ioctlv 1, except that this takes a u32 for the length instead of a u16.
Line 220: Line 220:  
|-
 
|-
 
| 32 (ioctlv) || ? || ? || ? || OH0
 
| 32 (ioctlv) || ? || ? || ? || OH0
| ? {{check}}
+
| Unknown. {{check}}
 
|}
 
|}
  
219

edits