Ucom/Uftdi Thru-put

Bernd Walter ticso at cicely12.cicely.de
Wed Aug 31 15:04:20 GMT 2005


On Wed, Aug 31, 2005 at 07:42:02AM -0700, User Tomdean wrote:
> I changed the input buffer size.  The read reported 382 bytes.  The
> buffer is 6*(4*16)==384 bytes long.  On the scope I see 6 distinct
> groupings in the USB data stream.  Looks like ucom/uftdi, or something
> up the chain, is using 64 bytes anyway.  Every 64 bytes, there seem to
> be 2 bytes not from the data stream.  Uftdi.c subtracts 2 from count,
> giving 382 bytes.

Yes - that's exactly what I'm saying: the buffer can't just be
increased without further changes.
Btw.: it is the FTDI chip itself adding the bytes.
I already said that I have tested patches to do this correctly, just
need to pic them up.

-- 
B.Walter                   BWCT                http://www.bwct.de
bernd at bwct.de                                  info at bwct.de



More information about the freebsd-usb mailing list