Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Oct 2017 13:33:08 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: one character lag with pyboard over usb serial
Message-ID:  <20171001113308.GA82813@slackbox.erewhon.home>
In-Reply-To: <20171001122009.3fbfbf95.freebsd@edvax.de>
References:  <20171001093541.GA81952@slackbox.erewhon.home> <20171001122009.3fbfbf95.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171001113308.GA82813>