Thankyou so much, that was simple enough.

Aaron

-----Original Message-----
From: wander.lairson [mailto:[email protected]] 
Sent: Thursday, February 17, 2011 3:42 PM
To: [email protected]
Subject: Re: [pyusb-users] WindowsError: exception: access violation reading
0x00000010

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


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

Reply via email to