[PATCH] iso pipe support for usbatm
matthieu castet
castet.matthieu at free.fr
Thu Mar 24 12:56:18 EST 2005
Hi Roman,
Roman Kagan wrote:
> On Sun, Mar 20, 2005 at 06:30:45PM +0100, matthieu castet wrote:
>
>>matthieu castet wrote:
>>
>>>matthieu castet wrote:
>>>
>>>>When I loged the data, I saw there are EOVERFLOW errors. And because
>>>>the errors aren't catch by usbatm, the bad packet go through
>>>>usbatm_extract_cells and produce the vpi/vci error.
>>>>I will try with a smaller size.
>
>
> EOVERFLOW is reported when there was a babble (out-of-frame activity) on
> the usb bus. Another indication of a hardware/firmware problem... Did
yes, I told you that the modem don't seem to appreciate bulk transfert...
> smaller buffer size help? And BTW were you talking of bulk or iso
> transfers?
>
I am talking about bulk.
>
>>>In case of error : status !=0 couldn't we add the buffer to the
>>>spare_receive_buffers list ?
>>>
>>
>>or at least set buf->filled_cells to 0.
>
>
> I thought urb->actual_length represented the amount of successfully
> transferred data, i.e. in case of fatal error, 0. Thus ->filled_cells
> would be set appropriately, so urb->status can be ignored. I'll go
> recheck if this is true with the current hcd code.
>
I is not the case if the EOVERFLOW error.
Matthieu
More information about the Usbatm
mailing list