Hi Alan,
Hi David,
thanks for your answers.
On Mon, 30 May 2005, David Brownell wrote:
It does however strongly suggest you weren't using isochronous endpoints,
since "3strikes" is not an ISO error. :)
You were right, this error was caused by a copy'n'paste mistake *slap*...
However, I have a "new" problem. Since transfers are now taking place
(URBs are submitted and received) every iso_frame_desc has status -71
(-EPROTO) instead of being successful and urb->error_count ==
urb->number_of_packets. What can be the cause for that?
It is a USB2.0 device so I looked at ehci-sched.c to see in which
situation -EPROTO is assigned to status. I found two places (2.6.11):
line 1358: when having "t & EHCI_ISOC_XACTERR"
line 1722: when having "XACT, MMF, etc" error
I'm sorry, but I don't know what these errors mean... :( . I assume I'm
doing something wrong in the initialization of the URBs, but what?
This is my urb-init-routine:
urb->dev = d->udev;
urb->context = d;
urb->complete = dvb_usb_urb_complete;
urb->pipe = usb_rcvisocpipe(d->udev,d->props.urb.endpoint);
urb->transfer_flags = URB_ISO_ASAP;
urb->interval = 1; /* 125us from /proc/bus/usb/devices */
urb->number_of_packets = 64; /* from the windows driver */
urb->transfer_buffer_length = d->buf_size; /* 64*940*3 */
urb->transfer_buffer = d->buf_list[i];
buf_list is a list of buffer allocated like this:
d->buf_list[d->buf_num] =
usb_buffer_alloc(d->udev, size, SLAB_ATOMIC, &d->dma_addr[d->buf_num])
All parameters I took from the windows driver.
Thanks for your help, I hope it is something obvious. If you need more
information to evaluate the situation, please ask.
regards,
Patrick.
PS: I'm using altsetting 6, which looks like this:
I: If#= 0 Alt= 6 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=82(I) Atr=01(Isoc) MxPS=2820 Ivl=125us
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel