On Thu, 8 Feb 2007, Pete Zaitcev wrote:

> On Thu, 08 Feb 2007 17:11:04 +0100, "Clemens Ladisch" <[EMAIL PROTECTED]> 
> wrote:
> 
> > The driver uses 8 packets per URB by default.  It is possible to select
> > a higher value with a module option; the maximum value is 20 (but this
> > is just a #define).
> > 
> > In high speed mode, everything is multiplied by 8.
> 
> Thanks. 64 is above the treshold where rework is needed. I'm grasping for
> the straws here, but if the packets are regular (same size), would it be
> all right if I just dump 5 of them and the total number?
> 
> I'm thinking something like this (on a 32-bit box):
> 
> c5058964 2244739372 S Zo:003:05 -115:2:0 10 -115:0:10 -115:10:10 -115:20:10 
> -115:30:10 -115:40:10 100 = 55534243 24000000 00000000 00000600 00000000 
> 00000000 00000000 00000000
> 
> Status gets extended to status:interval:start_frame, then number of
> descriptors, several descriptors as status:offset:length, then length
> and data as usual. The result remains perl-parseable.

The format looks fine to me.

> I take it I can expect the data size to be set in an ISO URB, right?

You mean, urb->transfer_buffer_length?  Yes, that has to be set in an ISO 
URB.  It has to be long enough to encompass all the packets in the 
descriptor list (although usbcore doesn't bother to check for that), 
because transfer_buffer_length is used in setting up the DMA mapping.

Alan Stern


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to