Re: [pyusb-users] Unable to read with pyusb, though HID device works in stdout

2014-05-10 Thread Xiaofan Chen
On Fri, May 9, 2014 at 11:47 AM, Dm M wrote: > Hi, > > I am having problems reading from a usb nfc device that acts like a > keyboard. If I plug the device into my linux computer and scan a nfc tag, it > outputs it out as if a keyboard was typing the keys: > >> $: 2352481416 > > > However when I t

Re: [pyusb-users] Unable to read with pyusb, though HID device works in stdout

2014-05-10 Thread Xiaofan Chen
On Sun, May 11, 2014 at 1:42 AM, Wander Lairson Costa wrote: > 2014-05-10 5:48 GMT-03:00 Jim Easterbrook : >> 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 shoul

Re: [pyusb-users] ValueError: No backend available

2014-05-10 Thread Wander Lairson Costa
2014-05-09 21:09 GMT-03:00 Bruce Lewis : > > Thanks for the prompt reply ... > > libusb is installed in ... > /Library/Python/2.7/site-packages/usb/backend/ > which contains the following ... > My bad. I mean the libusb library, not libusb backend... -- Best Regards, Wander Lairson Costa --

Re: [pyusb-users] Unable to read with pyusb, though HID device works in stdout

2014-05-10 Thread Wander Lairson Costa
2014-05-10 5:48 GMT-03:00 Jim Easterbrook : > 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

Re: [pyusb-users] Unable to read with pyusb, though HID device works in stdout

2014-05-10 Thread Jim Easterbrook
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 backe