2012/2/10 Lance R. Vick <la...@lrvick.net>:
> Added that detach line back for 0 but left the dev.read() pointing to 1 and
> now I get:
>
> Traceback (most recent call last):
>   File "temper1.py", line 15, in <module>
>     ret = dev.read(0x82,8,1,500)
>   File
> "/home/lrvick/.virtualenvs/temper1/lib/python3.2/site-packages/usb/core.py",
> line 637, in read
>     self.__get_timeout(timeout)
>   File
> "/home/lrvick/.virtualenvs/temper1/lib/python3.2/site-packages/usb/_debug.py",
> line 52, in do_trace
>     return f(*args, **named_args)
>   File
> "/home/lrvick/.virtualenvs/temper1/lib/python3.2/site-packages/usb/backend/libusb10.py",
> line 511, in intr_read
>     timeout)
>   File
> "/home/lrvick/.virtualenvs/temper1/lib/python3.2/site-packages/usb/backend/libusb10.py",
> line 593, in __read
>     timeout))
>   File
> "/home/lrvick/.virtualenvs/temper1/lib/python3.2/site-packages/usb/backend/libusb10.py",
> line 357, in _check
>     raise USBError(_str_error[retval.value])
> usb.core.USBError: Operation timed out
>
> -----------
>
> even if i increase the timeout to 5 seconds it is still the same.
>
>

Try to get latest code from github. Yesterday a merge a patch that
fixes a bug related to timeout.

-- 
Best Regards,
Wander Lairson Costa

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to