Re: [pyusb-users] Not implemented error on is_kernel_driver_active

2015-06-14 Thread Xiaofan Chen
On Sun, Jun 14, 2015 at 7:21 PM, Matthias Grabowski wrote: > Hey, > > my version that i downloaded from sourceforge seems to have indeed been > quite old. I got the latest version from github now. After some more > googling, im now using this code: > > On that last line i (again) get a undefined s

Re: [pyusb-users] Not implemented error on is_kernel_driver_active

2015-06-14 Thread Matthias Grabowski
Hey, my version that i downloaded from sourceforge seems to have indeed been quite old. I got the latest version from github now. After some more googling, im now using this code: import usb.backend.libusb1 as libusb backend = libusb.get_backend(find_library=lambda x: "usr/lib/arm-linux-gnueabih

Re: [pyusb-users] Not implemented error on is_kernel_driver_active

2015-06-13 Thread Wander Lairson Costa
2015-06-13 8:33 GMT-03:00 Matthias Grabowski : > hey guys, > Hi, so what's going on here is a chain of unfortunate events. > i got it now, thanks :) The log follows below, it seems that pyusb was > unable to load the propper backend? when installing i did all the steps > in the documentation: > s

Re: [pyusb-users] Not implemented error on is_kernel_driver_active

2015-06-13 Thread Matthias Grabowski
hey guys, i got it now, thanks :) The log follows below, it seems that pyusb was unable to load the propper backend? when installing i did all the steps in the documentation: sudo apt-get install python libusb-1.0-0 sudo python setup.py install Both run fine. Heres the Log dump: 2015-06-12 16:38

Re: [pyusb-users] Not implemented error on is_kernel_driver_active

2015-06-12 Thread Wander Lairson Costa
2015-06-12 11:15 GMT-03:00 Matthias Grabowski : > I don't know what you want me to do with > export PYUSB_DEBUG=debug > This is an environment variable to define before running your script. You can also define inside your Python code before you import the pyusb modules. If you need further details

Re: [pyusb-users] Not implemented error on is_kernel_driver_active

2015-06-12 Thread Matthias Grabowski
I don't know what you want me to do with export PYUSB_DEBUG=debug Am 12. Juni 2015 15:36:52 MESZ, schrieb Wander Lairson Costa : >2015-06-12 9:20 GMT-03:00 Matthias Grabowski : >> Hello guys, >> >> I'm new to this mailing list, pyusb and Linux in general. So sorry, >if some >> of my questions may

Re: [pyusb-users] Not implemented error on is_kernel_driver_active

2015-06-12 Thread Wander Lairson Costa
2015-06-12 9:20 GMT-03:00 Matthias Grabowski : > Hello guys, > > I'm new to this mailing list, pyusb and Linux in general. So sorry, if some > of my questions may be a little stupid. I know my way around python, though. > > Anyways, I got a raspberry pi with raspbian installed and I'm writing a > p

[pyusb-users] Not implemented error on is_kernel_driver_active

2015-06-12 Thread Matthias Grabowski
Hello guys, I'm new to this mailing list, pyusb and Linux in general. So sorry, if some of my questions may be a little stupid. I know my way around python, though. Anyways, I got a raspberry pi with raspbian installed and I'm writing a python script to read data from an air quality sensor that