Re: USB-serial adapter suggestions needed

From: bob prohaska <fbsd_at_www.zefox.net>
Date: Sat, 30 Dec 2023 22:38:13 UTC
On Sat, Dec 30, 2023 at 07:05:32PM +0000, Marcin Cieslak wrote:
> are you running with the default /etc/ttys ?
> 
Yes, I am.

> If yes,
> 
> can you please edit /etc/ttys on the serial port
> side as follows (as root)
> 
> # ed /etc/ttys 2216
> /ttyu0
> ttyu0	"/usr/libexec/getty 3wire"	vt100	onifconsole secure
> .s/3wire/3wire.9600/
> .
> ttyu0	"/usr/libexec/getty 3wire.9600"	vt100	onifconsole secure
> w
> q

Couple of questions: 

Is it necessary to use ed? I'm less bad with vi 8-)

Should I plan to change tip settings once FreeBSD boots?
Right not the Pi uses 115200 at boot, changing is ok
for an experiment but undesirable in normal use.

The serial link has stayed up since a second reboot after 
turning off powerd last night. I'd like to give it until 
tomorrow to fail. 

I'll add in passing that in the past www.zefox.org's 
serial console did spontaneously seem to run at 9600,
despite my starting the tip session with 115200. That
confused me, but it worked so I ignored it. It also 
set the terminal window background to light grey. That
stopped, I think after I switched from the mini-UART to 
PL011. 

Thanks for writing, I'll follow up in a day or two.

bob prohaska