Hi, I have a bug in a usb driver I wrote and I would like some advice.
First things: 2.2.15 with most recent backport using usb-uhci.o
The top level bug is a timeout on a usb_control_msg.
On my CATC analyzer the setup packet for the control msg looks precisely
as it does under windows. However, the next thing it should do is an OUT
and actually send the control message. This never happens. In fact
I get nothing on the analyzer at all, no syncs or anything.
So I dug into the code until I got stuck. In usb-uhci.c in the
uhci_submit_control_urb there are clearly three sections one for the
SETUP, one for the OUT and one for an IN for status.
I put in a uhci_show_td call for each td. Each one looks mostly correct:
one SETUP, one OUT, one IN.
There are one or two strange things though:
The MaxLen on the SETUP is 07 and the MaxLen on the OUT is 02.
My setup packet is 8 bytes of data and my out packet is 3 bytes of data.
Important? Also it says that Len=00 for all of them
Also, there is a TD Link Terminate printed out by the show_td.
Any idea what is going on? Thanks.
----
Mark Douglas Corner
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]