From owner-freebsd-hackers@freebsd.org Thu Oct 19 10:06:05 2017 Return-Path: Delivered-To: freebsd-hackers@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 48EDCE363F3 for ; Thu, 19 Oct 2017 10:06:05 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DEE5C634D5 for ; Thu, 19 Oct 2017 10:06:04 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from [194.32.164.30] ([194.32.164.30]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id v9JA3mjf013464; Thu, 19 Oct 2017 11:03:48 +0100 (BST) (envelope-from rb@gid.co.uk) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: We do serial differently. From: Bob Bishop In-Reply-To: Date: Thu, 19 Oct 2017 11:03:46 +0100 Cc: FreeBSD Hackers Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Zaphod Beeblebrox X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2017 10:06:05 -0000 Hi, > On 19 Oct 2017, at 05:25, Zaphod Beeblebrox wrote: >=20 > How does FreeBSD do serial differently than Linux or MacOS or Windows? Quite likely only in the defaults when a port is opened. > Now... this isn't _exactly_ serial, but the serial that is emulated by = the > arduino driver in ports. >=20 > The issue is that running the arduino IDE works (and it boots with the > loaded code), but then running 'pronterface' fails to connect --- = looking > all-the-while like one-way communication. >=20 > I see someone else basically having the same problem and claiming that > hacking a trace (that affects the DTR response) on the arduino fixes = it for > FreeBSD (see https://plus.google.com/+MiroslavPrymek/posts/6TDdbuoNhzH = )... >=20 > Given this information, can I stty my way out of this problem? Can I = make > a small modification to pronterface? stty -clocal ... might help. All implementations of virtualised serial ports should (IMHO) provide a = software =E2=80=98breakout box=E2=80=99 which is the only sure way of = diagnosing this sort of problem. -- Bob Bishop rb@gid.co.uk