- Component
sys/dev/usb/serial/usb_serial.c- Found on
- Raspberry Pi 5, 15.0-RELEASE
- Status
- Drafted
- Written
The Pi 5 has no UART FreeBSD can drive, so a USB serial adapter was plugged in for console logs, with hw.usb.ucom.cons_unit in loader.conf. The adapter attached, but ucom never became an active console. Reading usb_serial.c on releng/15.0, releng/15.1 and main shows why: the attach path takes the port into console mode but calls cnadd() only in the USB device-mode branch, not for a host-side adapter.
Workaround: conscontrol add ucom after boot. That is too late for a boot hang, but enough for a hang later on. The cons_* tunables are also missing from the man page. Drafted for Base System / usb.