Neo Air default serial console
Posted: Tue Jan 08, 2019 1:15 am
I use both /dev/ttyS1 and S2 in my application. It seems that /dev/ttyS2 is the default text console - and this causes me some problems with stdin.
When I use open() and close() on /dev/ttyS2, I inadvertently close stdin for my ssh over wifi console.
As I log in over wifi using ssh, and I configure wpa_supplicant.conf so that it is active on first boot after installation of ubuntu, I have no need for the serial console.
How can I disable the text console, or at least move it off of /dev/ttyS2.
thanks
seth
When I use open() and close() on /dev/ttyS2, I inadvertently close stdin for my ssh over wifi console.
As I log in over wifi using ssh, and I configure wpa_supplicant.conf so that it is active on first boot after installation of ubuntu, I have no need for the serial console.
How can I disable the text console, or at least move it off of /dev/ttyS2.
thanks
seth