Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2022 06:50:31 -0400 (EDT)
From:      Daniel Feenberg <feenberg@nber.org>
To:        Mychaela Falconia <mychaela.falconia@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Unwanted auto-assertion of DTR & RTS on serial port open
Message-ID:  <b3ca19e-e7b2-92b6-dba1-d9734c2b3a11@nber.org>
In-Reply-To: <CA%2BuuBqZ=PJMcuWj%2Bz3kGAy0bG=1S8oRXUAaO13PPqTea%2BoS04Q@mail.gmail.com>
References:  <CA%2BuuBqZ=PJMcuWj%2Bz3kGAy0bG=1S8oRXUAaO13PPqTea%2BoS04Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 23 May 2022, Mychaela Falconia wrote:

> Hello,
>
> I am not a current FreeBSD user (I use Linux at the moment), but I am
> asking here in connection with this recent feature addition to FreeBSD:
>
> https://reviews.freebsd.org/D20031
>
> The main purpose of this inquiry is to find out if this newly added
> FreeBSD feature really works as it seems at first glance, or if it is
> not quite there yet.

The man page adds the (-)rtsdtr option in version 13.1:

    https://www.freebsd.org/cgi/man.cgi?query=stty

and I can confirm it is an invalid argument in 13.0. I can't confirm that 
it works in 13.1, though, only that it is first documented there. You 
should be able to test it with any old desktop computer pretty easily 
though. Documented things tend to work.

Have you thought of the alternative solution of cutting some wires in the 
serial cable? Does your device even need those signals? Would it work at a 
lower data rate?

This does remind me of a question I have had myself - which is how does 
one tell from the bugzilla or review what version a commit refers to? 
Bugzilla has a Version descriptor, but presumably that refers to the 
version where the bug is found, not where it is corrected. The word 
"version" does not appear on the typical Review page.

Daniel Feenberg
NBER



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b3ca19e-e7b2-92b6-dba1-d9734c2b3a11>