Changes

35 bytes added ,  16:43, 2 November 2017
Line 101: Line 101:  
| Set the active alternate setting for a device.
 
| Set the active alternate setting for a device.
   −
Internally, this issues /dev/usb/usb ioctl 2 to get descriptors, loops over all endpoints and calls OHCI0/EHC ioctl 5 if <code>(bmAttributes & 3) == 1</code>. If all ioctls succeed, VEN calls OHCI0/EHC ioctl 0x11 with the device ID, alt setting and bInterfaceNumber (+ other unknown values).  
+
Internally, this issues /dev/usb/usb ioctl 2 to get descriptors, loops over all endpoints and calls OHCI0/EHC ioctl 5 if <code>(bmAttributes & 3) == 1</code> (if this is an interrupt endpoint). If all ioctls succeed, VEN calls OHCI0/EHC ioctl 0x11 with the device ID, alt setting and bInterfaceNumber (+ other unknown values).  
 
|-
 
|-
 
| 8 || ?
 
| 8 || ?
219

edits