Mac Developer Library

Developer

IOUSBCompositeDriver Class Reference

Options
Deployment Target:

On This Page
Language:

IOUSBCompositeDriver

Driver that matches to USB composite devices.

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

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable

Objective-C

@import Kernel;

Availability


Available in OS X v10.4 and later.
  • 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

    Declaration

    C++

    virtual IOReturn ConfigureDevicePowerManagement( IOService *provider );

    Parameters

    provider

    The provider as passed into the start method.

  • 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

    Declaration

    C++

    virtual IOReturn ConfigureDevicePowerManagement( IOService *provider );

    Parameters

    provider

    The provider as passed into the start method.

  • Call IOUSBDevice to do a SetConfiguration call to the device.

    Declaration

    C++

    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.