> > If you set the interval to anything other than 0, then it will
> > automatically resubmit for you. This is how interrupt URB's are
> > typically used.
> 
> OK, thanks for that info. Following on from it - which fields
> can I/need I set up again in the completion routine ?

None of them.  After you submit any URB, they're all
read-only from the perspective of the driver.  Yes, that
is part of what makes the automagic resubmit model
awkward for writing data with interrupt transfers.

On the other hand, if interrupt transfers were queued
(like bulk, iso, etc) then the issue would not arise since
you'd be submitting a different URB.  (Or at least, one
that's logically different ... safely reusing URBs, once
they're given back to a driver from the HCD, is only
the business of that driver.)

- Dave




_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to