Date: Thu, 19 Oct 2017 13:32:47 +0200 From: Gary Jennejohn <gljennjohn@gmail.com> To: Bob Bishop <rb@gid.co.uk> Cc: Zaphod Beeblebrox <zbeeble@gmail.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: We do serial differently. Message-ID: <20171019133247.69361225@ernst.home> In-Reply-To: <E94C8886-3282-432F-A46E-ED0DA83F7B18@gid.co.uk> References: <CACpH0Md0ckYH6k5ufAwCoc-_ThtJHrV9%2BdUtp66%2BSSjVuyhpxA@mail.gmail.com> <E94C8886-3282-432F-A46E-ED0DA83F7B18@gid.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Oct 2017 11:03:46 +0100 Bob Bishop <rb@gid.co.uk> wrote: > Hi, > > > On 19 Oct 2017, at 05:25, Zaphod Beeblebrox <zbeeble@gmail.com> wrote: > > > > 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. > > > > 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. > > > > 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 )... > > > > Given this information, can I stty my way out of this problem? Can I make > > a small modification to pronterface? > > stty -clocal ... > Hmm. The description of clocal in stty(1) is incorrect. It states that clocal is without and -clocal with modem control. It's reversed. > might help. > > All implementations of virtualised serial ports should (IMHO) provide a software ___breakout box___ which is the only sure way of diagnosing this sort of problem. > -- Gary Jennejohn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171019133247.69361225>