On Mar 21, 2005, at 9:52 AM, Rhoads Hollowell wrote:
Shaun,
Any chance that your driver's ::start method is returning false?
No, it's matched and loaded for the USBDevice. It wasn't matching the
USBInterface even though its score was the highest (90000). All of my
driver classes are in the same module. Is that the problem? What I did
as a workaround was to pass false to usbDriver->SetConfiguration, so it
didn't perform the matching, then instantiated my interface driver and
force-matched it to the interface, from within the device driver. I
don't NEED to publish the interface since everything from there on is
done in-kernel, but to use it from... ok, I wrote a test utility, and
without using my driver, an IOUSBHIDDriver is matched to the
USBInterface (which just contains a pair of interrupt pipes). The HID
async callback is dropping reports (or it may be in the device's
firmware), yet everything in the app is on a single thread in the main
run loop. hidDevice->SendReport synchronously works fine and never
fails. I can upload firmware as text thru the device's parser and it
works fine, never failed. But performance is no-so-good.
--
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