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. The plug-in's UUID is {9E72217E-8A60-11DB-BF57-000D936D06D2}, and its interface's UUID is {EA33BA4F-8A60-11DB-84DB-000D936D06D2}.
|