2011/2/17 Aaron Murdoch <amurd...@arlut.utexas.edu>:
> I installed pyusb on Windows XP SP3 32bit then installed libusb1.0 and then
> libusb-win32.
>
>
>
> I can detect usb devices and read their descriptions using
>
>
>
> dev = usb.core.find(…)
>
> dev.idVendor
>
> ect.
>
>
>
> I can even get down to the endpoints of the USB devices:
>
>
>
> Ep = dev[0][(0,0)][0]
>
>
>
> But when I try Ep.write(‘test’) or Ep.read(1) I get this:
>
After detecting your device, you should call dev.set_configuration(),


-- 
Best Regards,
Wander Lairson Costa
LCoN - Laboratório de Computação Natural - Natural Computing Laboratory
(http://www.mackenzie.com.br/lcon.html)
Programa de Pós-Graduação em Engenharia Elétrica (PPGEE)
Faculdade de Computação e Informática (FCI)
Universidade Presbiteriana Mackenzie - SP - Brazil

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to