IOUSBDeviceFamily

From iPhone Development Wiki
Revision as of 20:48, 21 December 2010 by KennyTM~ (talk | contribs) (Created page with ''''IOUSBDeviceFamily''' is a kernel-extension for communication of device to the host via the USB cable. This is only an abstract extension. The actual driver implementation is i…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

IOUSBDeviceFamily is a kernel-extension for communication of device to the host via the USB cable. This is only an abstract extension. The actual driver implementation is in AppleSynopsysOTG2.

Methods

Selector Action Input Output
0 open void* _arg -
1 close - -
2 setDescription char description[*] -
3 setClassForAlternateSetting uint8_t class_, uint8_t _unused -
4 setSubClassForAlternateSetting uint8_t subclass, uint8_t _unused -
5 setProtocolForAlternateSetting uint8_t protocol, uint8_t _unused -
6 appendStandardClassOrVendorDescriptor ? -
7 appendNonStandardClassOrVendorDescriptor ? -
8 setClassCommandCallbacks ? -
9 classCommandCallbacksHandler ? -
10 createPipe int ?, int ?, int ?, int ?, int ?, int ? void* pipe
11 commitConfiguration - -
12 setAlternateSetting uint8_t configIndex -
13 readPipe ? ?
14 writePipe ? ?
15 stallPipe void* pipe -
16 abortPipe void* pipe -
17 getPipeCurrentMaxPacketSize void* pipe int packetSize
18 createData ? ?
19 releaseDataCallback ? -
20 isActivated - bool ? , bool ?

IOUSBDeviceLib

IOUSBDeviceLib is a userland COM plug-in for accessing the IOUSBDeviceInterface.