Hey everyone, I was wondering if there was a way to recover (aka regain communication with the device) from a "Timer expired" message. The only way I've found so far is to physically re-plugin the device.
I've tried using the following without success: handle.resetEndpoint(0x83) handle.clearHalt(0x83) handle.reset() The way I'm claiming the device is the following: -------------------------------------------------------- # linksys CIT200 Device Info vendor_id = 5041 product_id = 29 buses = usb.busses() for bus in buses : for device in bus.devices : if device.idVendor == vendor_id : if device.idProduct == product_id : # found the CIT200 print "Found Linksys Device ..." linksys = device # setup interface and configs ... there are 4 interfaces for this device... config = linksys.configurations[0] interface = config.interfaces[3][0] endpoint = interface.endpoints[0] # open device handle = linksys.open() handle.detachKernelDriver(3) handle.getDescriptor(usb.DT_REPORT,0,0x9c,usb.ENDPOINT_OUT) handle.controlMsg(0x21,0x0a,0,0,0x03) -------------------------------------------------------- I haven't been able to find anything else in the pyUSB docs. Any help would be appreciated. Thanks Christopher ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Pyusb-users mailing list Pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users