First of all, it appears to me that you don't really need a driver for
the IOUSBDevice, as the AppleUSBComposite driver should handle your
needs for you.
As far as the IOUSBInterface driver goes, is there a difference between
when the device is plugged in at boot time and when it is plugged in
after boot? This may be a problem with the IOUSBHIDDriver being a
higher priority at boot time.
Rhoads Hollowell
USB Software Team
Apple Computer, Inc.
On Mar 18, 2005, at 7:53 AM, Shaun Wexler wrote:
I've written a driver for a composite device (Cypress EZ-USB) and the
current firmware provides only one config, with one interrupt pipe:
bInterfaceClass 3 (HID). My device driver is successfully matched by
vendor/product, and configures the devices, but I can't seem to
position my interface driver ahead of IOUSBHIDDriver, which is
matching with a score of 50000. I've tried
vendor/product/interfaceNumber/configurationValue, and many other
combinations, all with no success. I need to maintain exclusive
access to the interface, but HID always gets there first. In my
driver, I have to intercept all I/O and process it in-kernel thru
another kext, which optionally publishes the data in /dev, filters and
routes it elsewhere, etc. I'm writing a framework to wrap my protocol
API, to abstract the different kinds of hardware and transports.
Suggestions? TIA~
--
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
_______________________________________________
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