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
_______________________________________________
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