On Wed, Apr 27, 2011 at 9:06 AM, Prashant Patel <[email protected]> wrote:
> Hi Xiaofan,
>
> Thank you for reply. I did test using "SimpleHIDWrite" and come to some
> interesting observations:
> (1) At first I tried "SimpleHIDWrite" and it was not detecting my device.
> Then I uninstalled the driver from Driver Manager window. And then
> I tried using "SimpleHIDWrite" and it is started working.
> This is because, I have used "inf-wizard.exe" utility to generate the inf
> file and this utility also installed it.

Yes. When you use SimpleHIDWrite, does the input report and output
report work as expected?

> (2) Now my device using the windows hid driver.
> Then I tried running my Python Program. The program just goes to infinite
> loop after the call set_configuration() function. And does not come out even
> if I press Ctrl+Z. Our terminal does not close even I use "Task Manager". I
> have to shutdown PC to close the terminal.
>

That will not work since you are using the libusb-0.1/libusb-win32 backend
of pyusb which needs the libusb0.sys driver.


-- 
Xiaofan

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
pyusb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to