Hi,

 

Does anyone know what is causing the usb_set_configuration 'not
functioning' error below mean? I am able to get all the descriptors from
the device but when I call the usb_set_configuration() is called. I get
that error.

 

======================================================================

ERROR: runTest (__main__.BackendTest)

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

Traceback (most recent call last):

  File "test_backend.py", line 50, in runTest

    self.test_set_configuration()

  File "test_backend.py", line 126, in test_set_configuration

    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)

  File "C:\projects\pyusb-1.0.0-a0\usb\_debug.py", line 53, in do_trace

    return f(*args, **named_args)

  File "C:\projects\pyusb-1.0.0-a0\usb\backend\libusb01.py", line 419,
in set_configuration

    _check(_lib.usb_set_configuration(dev_handle, config_value))

  File "C:\projects\pyusb-1.0.0-a0\usb\backend\libusb01.py", line 364,
in _check

    raise USBError(errmsg)

USBError: usb_set_configuration: could not set config 1: win error: A
device attached to the system is not fun

ctioning.

                                                                         
Statement Of Confidentiality:

This electronic message transmission,  and all attachments, contains 
information from Extron Electronics which is confidential and privileged. The 
information is for the exclusive viewing or use of the intended recipient.  If 
you are not the intended recipient, be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited.  If you 
have received this electronic transmission in error, please notify the sender 
immediately by a "reply to sender only" message and destroy all electronic and 
hard copies of the communication, including attachments.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to