2014-05-11 0:10 GMT-03:00 Xiaofan Chen <[email protected]>: > On Sun, May 11, 2014 at 1:42 AM, Wander Lairson Costa > <[email protected]> wrote: >> 2014-05-10 5:48 GMT-03:00 Jim Easterbrook <[email protected]>: >>> On 09/05/14 23:21, Wander Lairson Costa wrote: >>>> HID devices are problematic with libusb, and since PyUSB depends on >>>> libusb, pyusb can't handle HID devices either. A better way should to >>>> use hidapi [1]. >>>> >>>> [1] http://www.signal11.us/oss/hidapi/ >>> >>> Note that on Linux hidapi uses libusb as a backend by default. >>> https://github.com/signal11/hidapi/tree/master/linux >>> >>> PS What are the problems with HID devices and pyusb? I'm using it with >>> weather stations that have an HID interface and it seems to work OK. >>> -- >> >> This information came from libusb ML, maybe things changed now. So, >> the problem might be just a matter of unloading the HID driver... > > Major problem with libusb and HID device is the lack of HID backend > under Mac OS X. Under Linux, libusb works fine with HID device (need > to detach the kernel HID driver). Under Windows, there are some > limitations as well. So HIDAPI is better in terms of cross-platform > support. >
Thanks for clarifying. Best Regards, Wander Lairson Costa ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ pyusb-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyusb-users
