If you're screwing around with inf files, (in my opinion) you're doing it wrong.
I (finally) got windows XPand ubuntu working with (almost) the same code, and no inf files. http://github.com/karlp/karlnet/tree/usbmaster/producers/pyhid/ has the simple code, and the README there is.... --- copied You'll need pyusb 1.x from: http://pyusb.wiki.sourceforge.net/ I used pyusb-1.0.0-a0, and just ran the regular python setup.py install. I did that before I had libusb-1.0 installed. Steps for getting libusb-1.0 on windows.... (at least, what worked for me) 1. from http://www.libusb.org/wiki/windows_backend That's from libusb itself. NOT from libusb-win32. 2. get the latest package, I used 2010.05.17(pbr277) 3. for me, on winxp (32bit) I copied libusb-1.0.dll and libusb-1.0.lib from the MS32\dll directory, over to \windows\system32 Verified working on ubuntu 9.10 (with libusb-1.0-0) as well as windows xp Cheers, Karl P Mark wrote: > Hello Xiaofan, thanks for the reply. I did create the .inf file & > selected it as the driver to load when the device is attached. My device > shows up with no errors under Device Manager but when I run > testlibusb-win.exe nothing at all is shown (not even for devices that > windows can see). I have also installed the filter package as suggested > by Wander but without success. > > I also did a completely fresh install of XP & loaded Python, PyUsb & > libusb again. Same result. Then I loaded the filter package. This time > testlibusb shows devices on only 1 bus but not my device. Note that on > Ubuntu, usbenum.py shows 5 busses & all devices descriptors are > displayed. > > By the way, the device is something that I am developing. I'm using > vendor specific class & subclass, no protocol. I've developed an > application under Ubuntu & can read & write from the device without > problems. > > Thanks > Mark > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > 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