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: matching against composite/HID device



Shaun,

I would install the logging version of USB appropriate for your OS X release

<http://developer.apple.com/devicedrivers/download/usbdebug.html>

Then run USBProber logging with the status level set to 6. You will see in the log as to the probe scores resulting from matching available drivers. Maybe you are missing criteria, or have specified incorrect matching criteria.

Take a look at Tech Q&A 1076 "Tips on USB driver Matching"
<http://developer.apple.com/qa/qa2001/qa1076.html>

Note that specifying "unnecessary" criteria will also cause a driver to fail to be matched.

rich

At 7:53 AM -0800 3/18/05, Shaun Wexler wrote:
Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-1--289953454;
	protocol="application/pkcs7-signature"

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



Attachment converted: Panther1:smime 4.p7s ( / ) (0003F5B9) _______________________________________________ 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

-- Sincerely, Rich Kubota email@hidden (408) 974-6212 _______________________________________________ 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: 
 >matching against composite/HID device (From: Shaun Wexler <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.