2011/3/11 Brendan Simon (eTRIX) <brendan.si...@etrix.com.au>: > My usb device can not be found with pysub (v1.0.0a). > I am running on OS X 10.6 and have installed libusb-1.0.8 (=>/usr/local/lib) > > I have python2.7 installed, and installed pysub with "pip install pyusb" > > Following the tutorial, dev = usb.core.find() does return an object :) > > However, dev = usb.core.find(idVendor=myVID, idProduct=myPID) returns > None :( > Does your device is found by another tools. What about the samples that come with libusb 1.0, do they can find your device?
> dev = usb.core.find(find_all=True) does return a list of devs, but none > of them are my usb device. It seems like a limited set. > Does it return all devices but yours? > I tried the same thing with my python 2.5 and python 2.6 installs, but > with these I get: > ValueError: No backend available > > I don't know why I get this with python2.5 and python2.6, but not with > python2.7. All I can think of is that python2.7 is my default python, > but that shouldn't make any difference should it ?? > Very strange, please define the env variable PYUSB_DEBUG_LEVEL=debug, run your app with python 2.7 and 2.6, and report the results, this might be a bug in PyUSB. > Is it a python problem or a libusb backend problem ?? > Would I have better luck with openusb ?? > OpenUSB is not implemented yet. It is predicted for alpha 3 or 4 releases. > I tried building openusb but couldn't get it to build. I had to run > configure and that failed. It failed due to pkg-config not being > installed. I didn't bother going any further, but if someone tells me > this will fix the problem then I will persist :) > -- Best Regards, Wander Lairson Costa LCoN - Laboratório de Computação Natural - Natural Computing Laboratory (http://www.mackenzie.com.br/lcon.html) Programa de Pós-Graduação em Engenharia Elétrica (PPGEE) Faculdade de Computação e Informática (FCI) Universidade Presbiteriana Mackenzie - SP - Brazil ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users