Page MenuHomeVyOS Platform

USB serial output console does not work
Closed, ResolvedPublicBUG

Description

I'm using a external FTDI USB Serial Device converter on VyOS. After configured and rebooting, I'm not getting any output to console.
Configuration command used:

vyos@vyos# sudo ls -la /dev/serial/by-bus
total 0
drwxr-xr-x 2 root root  60 Aug 15 17:15 .
drwxr-xr-x 5 root root 100 Aug 15 17:15 ..
lrwxrwxrwx 1 root root  13 Aug 15 17:15 usb0b2p1.0 -> ../../ttyUSB0
[edit]
vyos@vyos# set system console device usb0b2p1.0 speed 9600

After configuring and rebooting service serial-getty@USB0 - inactive (dead):

VirtualBox_VyOS 1.3_25_08_2022_15_01_24.png (159×720 px, 6 KB)

journalctl output logs:
VirtualBox_VyOS1.4_25_08_2022_13_31_46.png (319×720 px, 16 KB)

Details

Version
VyOS 1.3.0; VyOS 1.4-rolling-202208240217
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

zsdc changed the task status from Open to Needs testing.Aug 31 2022, 9:06 AM
zsdc closed this task as Unknown Status.Sep 6 2022, 9:17 AM
zsdc subscribed.

The serial-getty@ttyUSB0.service seems to work well after the fix. We should backport this to the equuleus as well.

dmbaturin changed the task status from Unknown Status to Resolved.Jan 10 2024, 8:48 PM
dmbaturin claimed this task.