On Mon, 18 Aug 2003, Matthias Bruestle wrote:

> The Int IN is issued from the PC every 4 or 8 ms (can't remember). In an
> unsuccessful run, the device does allways response with NAK with one exception,
> where it sends data to the PC. I want to get this data, which I do correctly
> on the first run (or with 2.4.20 or 2.5.3x), but not here.

...

> Now we are waiting for the Int IN response which traves over the USB cable to the
> PC as can be seen with the analyzer ....
> 
> <7>drivers/usb/host/uhci-hcd.c: uhci_irq(), pipe=40408280 (eZ)
> <7>drivers/usb/host/uhci-hcd.c: uhci_transfer_result/A: pipetype:40408280 (eZ)a
> 
> No data.
> 
> <4>[c3792240] link (03792122) element (03793030)
> <4>  0: [c3793030] link (00000001) e3 SPD IOC Active NAK Length=7ff MaxLen=f DT1 
> EndPt=1 Dev=2, PID=69(IN) (buf=05d2dac0)
> <4>
> <7>drivers/usb/host/uhci-hcd.c: uhci_result_common() entered (eZ)
> <7>drivers/usb/serial/usb-serial.c: usb_serial_port_softint - port 0
> <7>drivers/usb/host/uhci-hcd.c: uhci_irq(), pipe=40408280 (eZ)
> <7>drivers/usb/host/uhci-hcd.c: uhci_transfer_result/A: pipetype:40408280 (eZ)
> 
> Again no data.
> 
> <4>[c3792240] link (03792122) element (03793030)
> <4>  0: [c3793030] link (00000001) e3 SPD IOC Active NAK Length=7ff MaxLen=f DT1 
> EndPt=1 Dev=2, PID=69(IN) (buf=05d2dac0)
> <4>
> <7>drivers/usb/host/uhci-hcd.c: uhci_result_common() entered (eZ)
> 
> So what is wrong?

Without knowing your situation it's hard to say anything definite.  But
probably what's wrong is that your device isn't sending any data, and
that's why you're not receiving any.  You haven't said what Interrupt
response your bus analyzer shows, but it might simply be NAKs.  As for why
your device won't send the data -- I don't know.

By the way, you could try looking at the data toggle values in your log
(indicated by DT0 or DT1 next to the MaxLen values).  They are supposed to
alternate each time a new URB is submitted, and they should be reset to 0
when the device is initialized and when the driver does a Clear Halt.  I
recently found the toggles were not getting set correctly for control
transfers, so it's possible that something's going wrong with your
interrupt transfers.

Alan Stern



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to