I know next to nothing about PyUSB but I did install libusb-win32 and 
remember reading in the documentation that you need to run inf_wizzard.exe 
to create a inf file for your device. Perhaps that is what is missing.

----- Original Message ----- 
From: "Robin Kluth" <[email protected]>
To: <[email protected]>
Sent: Sunday, April 10, 2011 9:44 AM
Subject: [pyusb-users] Get PyUSB working


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. By running the Python app, I get:

Traceback (most recent call last):
>   File "wfdriver\station\wmrs200.pyc", line 104, in run
>   File "wfdriver\station\wmrs200.pyc", line 89, in _search_device
>   File "usb\legacy.pyc", line 330, in busses
>   File "usb\legacy.pyc", line 326, in __init__
>   File "usb\legacy.pyc", line 311, in __init__
>   File "usb\core.pyc", line 706, in __iter__
>   File "usb\core.pyc", line 407, in __init__
>   File "usb\_debug.pyc", line 52, in do_trace
>   File "usb\backend\libusb10.pyc", line 423, in
> get_configuration_descriptor
>   File "usb\backend\libusb10.pyc", line 357, in _check
> USBError: Entity not found
>

I hope someone can send me a workaround for setup PyUSB with libusb10 for
Windows.

P.S.: I use Python2.6 ;)

Cheers,

-- 
Gruß,
Robin Kluth



--------------------------------------------------------------------------------


> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
> 



------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to