From: Michael H. <mic...@ri...> - 2018-02-27 00:20:05
|
Any suggestions on where to get the dll? I've tried www.opendlls.com , but the checksums did not match. On Mon, Feb 26, 2018 at 4:20 PM, Michael Hennebry < mic...@ri...> wrote: > zadig gives me the following options: > libusbK (v 3.0.7.0) > libusb-win32 (v 1.2.6.0) > winUSB (v 6.1.7600.16385) > USB Serial (CDC) > > The current libusb0 (v 1.2.6.0) was not obtained through zadig. > I think I got it by letting Windows go fish. > > My recollection is that nothing from zadig worked with avrdude. > I want avrdude and python.so I don't have to go back and forth between > libraries. > I guess I'll have to try libusb-1.0 and hope it works. > ' > > On Fri, Feb 23, 2018 at 9:11 PM, Xiaofan Chen <xia...@gm...> wrote: > >> On Thu, Feb 8, 2018 at 8:25 AM, Michael Hennebry >> <mic...@ri...> 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 >> pyu...@li... >> https://lists.sourceforge.net/lists/listinfo/pyusb-users >> > > |