This may be of some interests to the list here, especially with
regard to the Mac OS X HID backend.

http://lists.apple.com/archives/usb/2011/Feb/msg00021.html
"The IOUSBHIDDriver only has one interrupt read pending at a time.
That means that at the best case, you will get a IN token on the bus
every other millisecond, if your polling rate is 1ms."

To get 1ms, Apple's suggestion is not to use  IOUSBHIDDriver.
Option 2 is like use libusb/libusbx instead...

" So your only choice is to:

1.  Write a kext for your device that issues more than 1 read at a
time, so that there is always a pending read.
2.  Write a userland driver (and a codeless kext to prevent the
IOUSBHIDriver from grabbing your device) that issues multiple reads.
3.  Change the firmware to use isochronous endpoints, and write
your own driver to get that data."

-- 
Xiaofan

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to