Re: how to set rx and tx fifo sizes

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

 



We're using an ARM7TDMI processor (LPC2368) running custom firmware which includes the open-source LPCUSB driver code modified for our usages (and subsequently enumerates using the cdc_acm driver as /dev/ttyACM0). The USB pins from the ARM processor are hardwired to our x86 host.

Greg KH wrote:
On Mon, Jan 10, 2011 at 03:34:19PM -0800, Donna Rigas wrote:
kernel version: 2.6.29.6

Wow, that's really old and obsolete and unsupported.  Can you try
something a bit more modern (i.e. written in the past year at the
least?)

Alan Cox wrote:
On Mon, 10 Jan 2011 13:23:46 -0800
Donna Rigas <donna.rigas@xxxxxxxxx> wrote:

Can anyone tell me how to change the rx and tx fifo sizes for a
USB virtual serial port? We're trying to run at high effective
baud rates (would like to utilize the full 12mbps of our USB 1.1
device), and servicing a read routine at 16Hz. Initial
investigations reveal what looks like a buffer size of PAGE_SIZE
(but we may have looked in the wrong area), or 4K. We can't
easily service the read routine faster than 16Hz, which if our
math is right, that means we'll average 7500 byte reads if we
utilize 100% of the throughput. On the host side, we're using
the cdc_acm driver, and on the device side (if it matters at
all), we're using LPCUSB.

What usb to serial device are you using that you need to control the
uart size?  Not all of them allow this type of control to be made.

thanks,

greg k-h


--
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