usb_control_msg() returns timeout !!

"Jayaprakash Shanmugam" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Hello Group,

  I have two devices connected to a host. I periodically read bulk
data from first device and pass it on to the second device via EP-2.
Apart from this periodic data, the host sends some vendor commands
through EP-0 of first device.  Though these vendor commands are
received successfully by the device, usb_control_msg() returns
-ETIMEDOUT error sometimes. If I stop sending the periodic bulk data,
no -ETIMEDOUT is seen for the usb_control_msg().  I traced out the
message.c file and it looks like the URB times out to call the
timeout_kill() function.  I even tried with a higher timeout, but no
improvement is seen.  Any pointers on what could have gone wrong ?

I observed the same with both EHCI and OHCI drivers.  The device is
Cypress based, capable of USB2.0.  The host runs  2.6.11 on MPC8270
with PCI-USB ISP1561.

Regards,
Jayaprakash.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.