On Wed, May 19, 2010 at 8:59 AM, Karl Palsson <tw...@tweak.net.au> wrote:
> After a bit of hassle, I got pyusb 1.0.0a and libusb1.0 working on windows, 
> and
> it's all quite nice.  I've got a simple python script listening to a "teensy"
> board from pjrc.com.  (AVR with built in USB)
>
> The code that works just fine on windows is at:
> http://github.com/karlp/karlnet/tree/usbmaster/producers/pyhid/

Current libusb-1.0 Windows implementation has two backends.
One is HID, so you can use the Windows built-in HID driver and
no need to detach the kernel driver. The other is WinUSB. For
non-HID device, you have to change the original driver to use
WinUSB in order to use libusb-1.0 Windows.

For Linux, you have to detach the kernel driver (HID, or others)
in order to use libusb. You can do this by programming method.

For Mac OS X, you have to prevent kernel drivers (like HID, or
other) from claiming the device. There is no way of doing
this by programming method now as far as I know. Currently
there is no HID backend for libusb-1.0 under Mac OS X.
http://www.libusb.org/ticket/33


-- 
Xiaofan http://mcuee.blogspot.com

------------------------------------------------------------------------------

_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to