general/other Google Cloud serial console input not reliable

I have an older custom version of freebsd running in google cloud. Everything seems to be working fine except the serial console connection.
The serial console uses ttyu0; output is fine. That is, no weird output characters or buffering. But when trying to enter characters they are not
displayed, sometimes pressing the same key multiple times will cause it show up. It doesn't really matter what character I am trying to type.
I have tried changing the ttys file entry but I have not found a fix. Am I looking in the right place? What controls keyboard input for a virtual console like this.
As a note, this same setup works with the Azure serial console.

Upgrading unfortunately is not a simple option for me at this time.
 
There are probably other better ways to have fixed this but here is what I came up with.
I removed ttyu0 from ttys and copied the "content" of that line to replace the console line.
That content line was using 3wire in gettytab.
I had also changed kern.tty="sc" in boot/loader.conf. I am not sure if that was necessary but
I left that setting.
 
Back
Top