IOUSBCompositeDriver

Inherits from
IOService
Availability
Available in OS X v10.4 and later.
Declared in
IOUSBCompositeDriver.h

Overview

Driver that matches to USB composite devices.

This class can be overriden to provide for specific behaviors. The driver itself essentially just calls SetConfiguration().

Tasks

Miscellaneous

Instance Methods

ConfigureDevicePowerManagement

To be used by a subclass of IOUSBCompositeDriver which wants to participare in the IOPower tree. This is called as part of IOUSBCompositeDriver::start. The default implementation is a NOP

virtual IOReturn ConfigureDevicePowerManagement( IOService *provider );
Parameters
provider

The provider as passed into the start method.

ConfigureDriverPowerManagement

To be used by a subclass of IOUSBCompositeDriver which wants to participare in the IOPower tree. This is called as part of IOUSBCompositeDriver::start. The default implementation is a NOP

virtual IOReturn ConfigureDevicePowerManagement( IOService *provider );
Parameters
provider

The provider as passed into the start method.

SetConfiguration

Call IOUSBDevice to do a SetConfiguration call to the device.

virtual IOReturn SetConfiguration( UInt8 configValue, bool startInterfaceMatching=true);
Parameters
configValue

The desired configuration value.

startInterfaceMatching

A boolean specifying whether IOKit should begin the process of finding matching drivers for the new IOUSBInterface objects.