Re: USBDUX problems (it works fine on 2.4 kernel but not on 2.6)

On Thursday 19 May 2005 04:04 pm, Joel Chenu wrote:
> usb 1-2: lt-cmd timed out on ep4out
> comedi0: could not transmit dux_command to the
> usb-device, err=-110

When I was developing some usb drivers on a 2.6.8 kernel I found the high 
level synchronous usb functions like usb_bulk_msg() (which is used by the 
usbdux driver) were rather buggy, and often produced these timeout 
problems.  When I switched to only using the lower level functions like 
usb_submit_urb, my problems went away.  As an aside, I'm noticing now 
2.6.12 has changed the timeout parameter in usb_bulk_msg() and 
usb_control_msg() to mean timeout in milliseconds instead of jiffies.

-- 
Frank

Received on 2005-05-19Z23:52:25