From owner-freebsd-questions@freebsd.org Sun Oct 1 11:34:22 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2AF6AE14DA0 for ; Sun, 1 Oct 2017 11:34:22 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from lb2-smtp-cloud7.xs4all.net (lb2-smtp-cloud7.xs4all.net [194.109.24.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE04B82AE9 for ; Sun, 1 Oct 2017 11:34:21 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud7.xs4all.net with ESMTPA id ycUfdjgJzVNbYycUgdle8U; Sun, 01 Oct 2017 13:33:10 +0200 Received: from rsmith (uid 1001) (envelope-from rsmith@xs4all.nl) id 124b0 by slackbox.erewhon.home (DragonFly Mail Agent v0.11+); Sun, 01 Oct 2017 13:33:08 +0200 Date: Sun, 1 Oct 2017 13:33:08 +0200 From: Roland Smith To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: one character lag with pyboard over usb serial Message-ID: <20171001113308.GA82813@slackbox.erewhon.home> Mail-Followup-To: Polytropon , freebsd-questions@freebsd.org References: <20171001093541.GA81952@slackbox.erewhon.home> <20171001122009.3fbfbf95.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171001122009.3fbfbf95.freebsd@edvax.de> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.9.1 (2017-09-22) X-CMAE-Envelope: MS4wfFlFB8CuWAc6x6gm07YT4034ol6pzteNcuG4rpWO+S6nF/l2iHmGYYAsZ45DO98Yobymu4FhpfI/KXqDG0QbmKYVa5f7i5DNbeujPoaYDkhmZvb/N18X WLio/I10emC+Eh8sRW7Yk4cAiw1DLO3X8QSVom0nCvYRwbOoVS2GOQaz4ua0i6eyv+P1gdOUS2QA1Q== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 11:34:22 -0000 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]