Is www.opendll.com a good place to get libusb-1?
I'm using WIndows because I have to and do not know
what places are safe or otherwise?
On Fri, Feb 23, 2018 at 9:11 PM, Xiaofan Chen <xiaof...@gmail.com> wrote:
> On Thu, Feb 8, 2018 at 8:25 AM, Michael Hennebry
> <michael.henne...@rivieranexus.com> wrote:
> > I'm having trouble make pyusb work at all.
> > When typing usb stuff in interactive mode,
> > usb.core.find(...) either produces ant empty list
> > or something that prints as nothing.
> > \Python27\python search.py
> > produced ValueError: No backend available .
> > search.py :
> > import usb.core
> > import usb.util
> > import usb.control
> > import array
> > dev = usb.core.find(find_all=True)
> > print dev
> > dev = usb.core.find()
> > dev = usb.core.find(find_all=True, idVendor=0x045e, idProduct=0x0040) #
> my
> > mouse
> > print dev
> > dev = usb.core.find( idVendor=0x045e, idProduct=0x0040) #
> my
> > mouse
> > print dev
> > dev = usb.core.find(find_all=True, idVendor=0x03eb, idProduct=0x2141) #
> > Atmel ICE
> > print dev
> > dev = usb.core.find( idVendor=0x03eb, idProduct=0x2141) #
> > Atmel ICE
> > print dev
> >
> > I'm on Windows 10.
> > A find on libusb produces only files with names beginning libusb0.
> > How do I make pyusb work?
>
> pyusb supports libusb-win32 and libusb (aka libusb-1.0) under Windows.
> libusb-win32 is a bit old. So the better option is libusb Windows.
>
> 1) Use Zadig to install WinUSB driver to the device you are interested.
> https://github.com/libusb/libusb/wiki/Windows#driver-installation
>
> 2) Get latest version of libusb Windows binary (libusb-1.0.dll) and put
> it into a location your Python installation recognizes.
>
>
> --
> Xiaofan
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users