Hi all:
I have this problem with pyusb:
I wrote this code
import usb
buses = usb.busses()
dev = None
for bus in buses :
for device in bus.devices :
if device.idVendor == 0x1781:
print u"ProtoTermociclador found"
dev=device
break
if dev == None:
print 'ProtoTermociclador device not found'
else:
handle = dev.open()
handle.interruptWrite(0x01,'\x00')
I run the code with sudo python mycode.py and I get an error.
usb.USBError: error submitting URB: Device or resource busy
Please you help my with it...
Thank you very much
--
Gabriel
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Pyusb-users mailing list
Pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users