Re: cdc_acm and sam_ba support the same device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 22, 2011 at 02:41:38PM +0100, Sven Köhler wrote:
> Am 22.03.2011 11:43, schrieb Johan Hovold:
> > There is one more issue, though; the SAM-BA devices can not handle
> > merged write request, that is, (at least to me) they seem to be
> > violating the cdc specification: 
> > 
> > 	"The data is always a byte stream. The Data Class does not define the
> > 	 format of the stream, unless a protocol data wrapper is used."
> 
> What you say is, that the SAM-BA device cannot handle the case that a
> single command spreads among two packets, or if multiple commands are
> contained in one packet?

Multiple commands in one packet.

> How did you test it?
> Do you have test program?

This was what made the generic usb-serial driver break when the write
fifo was introduced, and why I wrote a custom write implementation
for sam-ba, effectively by-passing the fifo.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux