Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2026 10:04:34 -0700
From:      Steve Rikli <sr@genyosha.net>
To:        Polarian <polarian@polarian.dev>
Cc:        questions@freebsd.org
Subject:   Re: Terminal server with consumer hardware
Message-ID:  <ahCMovnPJ6qjU9Nx@dragon.home.genyosha.net>
In-Reply-To: <20260522154731.4cad8798@Hydrogen>
References:  <20260521233422.001d364f@Hydrogen> <ca6a4d16-9918-4f8d-a198-4f09ff8bba46@dorfdsl.de> <20260522154731.4cad8798@Hydrogen>

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

On Fri, May 22, 2026 at 03:47:31PM +0100, Polarian wrote:
> ...
> However I want to get serial working, full stop :)
> 
> I don't want to give up on it, so does anyone have an idea how to get
> this working?

It's been quite a while since I looked at this, but AFAIK FreeBSD can't
make use of USB serial devices for the system console.

I.e. there must be an actual serial port, recognized by the bios and
presented to the OS. Something like this, if found:

$ dmesg | grep ^uart[0-9]:
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (115200,n,8,1)

The most I was able to work out with a USB serial device (e.g. on an old
Intel NUC without a native serial port) was starting a login: getty on
ttyU*, but that's only a terminal, not a system console.

Similar situation with GRUB on Linux as well, btw. IIRC I was able to
send some boot output to ttyU* there, but it wasn't usable as an
interactive console during GRUB.

IMO it'd be great if there were more support for USB serial devices as
system console, since modern boards often don't have a serial port these
days. I expect it's a tricky problem, doing console input-output to
removable devices early in loader stages.

Cheers,
sr.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ahCMovnPJ6qjU9Nx>