Re: Regarding USB-to-Serial device driver

From: Greg KH
Date: Mon Sep 13 2010 - 11:49:54 EST


On Mon, Sep 13, 2010 at 02:47:45PM +0530, Raju Rameshwar Uprade wrote:
> output of usbmon tell that data going out properly, but it's going in chunks,Ideally It
> should go out in one chunk.I think I have to take care of RTS line. UART drivers works
> in that way,RTS is enabled for complete data out ,then it is disabled so that we can get
> device response.

usb to serial devices are known for sending data in "chunks", that's the
way the devices work (cheap, tiny, 8bit microcontrollers in the device)
and they break things up like this all the time.

If this is an issue, I suggest buying a high-cost usb to serial device
that has a real uart in them and can handle high data rates at constant
speeds. The I/O devices (now made by digi) do this, and I think a
number of keyspan devices also work well, but it's been a long time
since I tested them.

good luck,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/