On Mon, Apr 11, 2011 at 12:44 AM, Robin Kluth <commi1...@googlemail.com> wrote: > Hello everyone, > > I'll try to build a Python program under windows using PyUSB, Py2EXE etc.. > > My problem is: I dont get PyUSB working correctly. It should work with an > HID-USB Device (an Oregon Scientific WMRS200 weather station). I would use > it with libusb10. > > I dont know how to set-up PyUSB and libusb10 correctly for my Windows XP > 32-bit environment.
In order to use libusb-1.0, you have to use WinUSB driver. So you have an issue now since the HID backend has been removed due to the vehement objection from the current maintainer. http://www.mail-archive.com/libhid-discuss@lists.alioth.debian.org/msg00708.html So you have to switch from the HID driver to WinUSB in order to use libusb-1.0 under Windows and I do not think this is a good idea. Probably you need to look at HIDAPI and write a Python wrapper for it. http://www.signal11.us/oss/hidapi/ You can however use libusb-win32 filter on the HID device and use the libusb-0.1 backend of pyusb. That is not an optimal solution but it can be done. To use the filter, install libusb-win32 and run the Filter Wizard GUI program. -- Xiaofan ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users