Changes

Jump to: navigation, search

/dev/usb/hid (v5)

279 bytes added, 14:52, 28 October 2017
no edit summary
== Handles ==
Handles for USB_HID function exactly the same as for USB_VEN.
 
== Internal device structure ==
HID has an additional member at the end of the device structure that seems to be used for keeping track of ongoing transfers.
== Ioctls ==
| 0x10 || SuspendResume || Identical to VEN
|-
| 0x11 || CancelEndpoint (?)
| Calls /dev/usb/usb ioctl 0x10
 
Depending on the endpoint (<code>in[8]</code>), this may abort an ongoing transfer with return code -7022 (USB_CANCELLED).
|-
| 0x12 (ioctlv) || CtrlTransfer (?) || ?
217
edits

Navigation menu