Re: input lag on /dev/ttyACM0?
On Wed, 29 Oct 2025 at 05:01, David <bouncingcats@gmail.com> wrote:
> The additional information you give there about 'cat' sounds like
> a buffering issue. Maybe someone here knows what you should be sending to
> the port to flush the USB buffer, if that is possible.
I know the previous answer is probably not very satisfying given that it seems
to work in other situation.
For debugging, you could try writing your own reader in C, Perl, Python,
shell, for example.
Here's some ideas about reading from /dev/ttyACM0, maybe that
helps investigate the issue:
https://unix.stackexchange.com/questions/502824/flush-tty-device-buffer-from-terminal
Reply to: