All of lore.kernel.org
 help / color / mirror / Atom feed
* closing serial device dumps data in buffer
@ 2021-02-24 14:23 Michael G. Katzmann
  2021-02-24 16:57 ` Johan Hovold
  0 siblings, 1 reply; 2+ messages in thread
From: Michael G. Katzmann @ 2021-02-24 14:23 UTC (permalink / raw)
  To: linux-serial@vger.kernel.org

I've noticed that when the serial device is closed, the USB serial device dumps any buffered data. Is this expected behavior?

i.e ls -l >/dev/ttyUSB0 will not print everything (I'm missing some at the end) but

(ls -l; sleep 30) >/de/ttyUSB0 will print everything.

(this is at 110bd so it's probably longer than most people will see to drain the buffer)


Michael


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-24 16:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-24 14:23 closing serial device dumps data in buffer Michael G. Katzmann
2021-02-24 16:57 ` Johan Hovold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.