one character lag with pyboard over usb serial

Roland Smith rsmith at xs4all.nl
Sun Oct 1 11:34:22 UTC 2017


On Sun, Oct 01, 2017 at 12:20:09PM +0200, Polytropon wrote:
> On Sun, 1 Oct 2017 11:35:41 +0200, Roland Smith wrote:
> > I've asked around on the pyboard forum, but nobody there (using Linux or OSX)
> > has seen this problem. It has been suggested that this is a FreeBSD driver
> > problem.
> 
> Try to verify with the "cu" program provided natively by the OS.

With ‘cu’, I see the same problem. :-(

> In worst case, monitor the /dev/cuaU-1 device file directly to
> check what is really being sent in either direction. If the
> lag also appears there, it really looks like a driver issue...

What would be the best way to monitor the device directly?

I saw a met/socat invocation like this:

    socat /dev/ttyS0,raw,echo=0 SYSTEM:'tee input.txt |\
    socat - "PTY,link=/tmp/ttyV0,raw,echo=0,waitslave" | tee output.txt'

> -- 
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...

o ánthropos pou palévei me daímones ;-)

-- 
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text email much appreciated]


More information about the freebsd-questions mailing list