Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Acquiring an interface from AppleUSBAudio



On Mar 24, 2005, at 5:23 PM, Steve West wrote:

In particular we have USB Class Compliant Audio on our composite device but in
some applications of our product we need to override the class driver with our
own vendor-specific driver.

As has been discussed on this list, a codeless kext can prevent the Apple
audio driver from matching a particular interface. My question is: Can this
be done on the fly? I have tried USBInterfaceOpenSeize() but AppleUSBAudio
does not appear to honor it.

The way I did it was to have my USBDevice driver set the configuration, but use false so it wouldn't begin matching the device, then attach my driver and force-match it to the USBInterface. Ugly but effective. Then I learned that I'd been matched but a syntax-colorization bug in Xcode was obfuscating some brackets as comments, and in fact it was returning false from ::start. ;)
--
Shaun Wexler
MacFOH
http://www.macfoh.com


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden

References: 
 >Acquiring an interface from AppleUSBAudio (From: Steve West <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.