On Thu, 20 Sep 2018, Manuel Bouyer wrote:
Hello I just noticed a console issue on my SUNXI board. First I had to disable WSDISPLAY_MULTICONS to have a usable serial console. Otherwise I couldn't enter ddb.
I think ddb should still work, but cnmagic is different after wsdisplay takes over. Can you try playing with that?
Second, when tty0 is the (only) console, ukbd_cnattach() is still called, which cause ukbd to think it's the console keyboard. The result is that the keyboard is not attached to the framebuffer and it's unusable.
USB keyboard console works for me on Pinebook..
shouldn't ukbd_cnattach() be called from simplefb_console_consinit() instead ?
That will only ever be called if console=fb is present in bootargs, and none of our boot scripts do this.