Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit 
(D64)] on win32Type "help", "copyright", "credits" or "license" for more 
information.>>> import usb.core>>> dev=usb.core.find(find_all=True)>>> 
print(dev)<generator object device_iter at 0x00000000030EEE58>
looks like it dosn't return any device found(other than Generator Object, which 
I am not sure what it is exactly) I tried it on more than one machine with 
similar conditions(windows 10 and windows 8.1 both with libusb 1.0.20 and 
pyusb1 and python 3.4.
> Date: Thu, 7 Jan 2016 16:26:47 +0100
> From: lists.tor...@gmail.com
> To: pyusb-users@lists.sourceforge.net
> Subject: Re: [pyusb-users] LibUSB and PyUSB on Windows 10 and python 3.4
> 
> On Thu, Jan 7, 2016 at 1:27 PM, igor bezenchuk wrote:
> > I used libusb from libusb.info. here is the link I download it from:
> > http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.20/libusb-1.0.20.7z/download
> >
> > it's libusb1.0.20 for windows binaries
> >
> > with listdev.exe it's working, here it my output:
> > 0b95:1790 (bus 2, device 2) path: 25
> > 8086:15b6 (bus 1, device 1)
> > 0403:6010 (bus 2, device 4) path: 6
> > 045e:0750 (bus 2, device 5) path: 14.1
> > 045e:0750 (bus 2, device 5) path: 14.1
> > 0403:6010 (bus 2, device 4) path: 6
> > 0781:5580 (bus 1, device 2) path: 3
> > 0557:7000 (bus 2, device 3) path: 14
> > 8086:a12f (bus 2, device 1)
> >
> > so apparently libusb does work and manage to display USB devices properly.
> 
> And when you use usb.core.find() to select your device, it returns
> None? When you use find_all=True, how many (and which, if you can
> tell) devices are in the returned list?
> 
> Tormod
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
                                          
------------------------------------------------------------------------------
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to