12-01-2021, 01:24 PM
If you really want a serial terminal rather than ssh you'll need to check how they configure the USB gadget mode. This is more of a pointer for research than a set of instructions as I don't know the details. There's an example in the Mobian wiki for changing between different networking gadgets at runtime using entries under /sys/kernel/config/usb_gadget/g1
https://wiki.mobian-project.org/doku.php...ws-via-usb
There should be a similar way to add a serial gadget.
Once you have a serial interface you need to start getty or similar on the serial port, whether manually or using a service file like getty@ttyGS0.service
https://wiki.mobian-project.org/doku.php...ws-via-usb
There should be a similar way to add a serial gadget.
Once you have a serial interface you need to start getty or similar on the serial port, whether manually or using a service file like getty@ttyGS0.service