Hi all,
I'm new to pyusb. try to use ctrl_transfer() to get Device Descriptor, and
get the below error message.
My question is :
Does "ctrl_transfer()" support to access Standard RequestType(D6D5=00)?
Please help!
*Traceback (most recent call last):*
* File "D:\MyWork\pyusb\usb_devd.py", line 32, in <module>*
* msg=dev.ctrl_transfer(0x80, 6, 1, 0, 0x12,1000)*
* File "C:\Python27\lib\site-packages\usb\core.py", line 695, in
ctrl_transfer*
* self.__get_timeout(timeout)*
* File "C:\Python27\lib\site-packages\usb\backend\libusb01.py", line 536,
in ctrl_transfer*
* timeout*
* File "C:\Python27\lib\site-packages\usb\backend\libusb01.py", line 384,
in _check*
* raise USBError(errmsg, ret)*
*usb.core.USBError: [Errno None] libusb0-dll:err [control_msg] sending
control message failed, win error: A device attached to the system is not
functioning.*
--
best regards,
*Simon C. J.*
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users