Hi,

I have a IR Remote control that I'm writing a program for. I've run into a  
problem however.
I handle the error that occurs if you unplug the device while the program  
is trying to read from, this drops the program into a loop waiting for the  
device to be replugged in. When the device is plugged in again, the  
program finds it but then crashes usually with this error:

usb.USBError
could not release intf 1: No such device

The program works properly if the device is unplugged initially, and then  
plugged in after the program has started.

I can post sections of code as requested, but it seems I'm doing things  
the same as most others form the code I've seen.

Anyone have any ideas?

Cheers,
Alan

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Pyusb-users mailing list
Pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to