simplefb not considered local console (keyboard not working during EFI boot)
Submitted by Timo Teräs
Assigned to Ray Strode @halfline
Description
The problem seems to be in device_is_for_local_console() that requires sysfs boot_vga attribute to be present (and contain '1') to make the renderer plugin grab input.
However, this sysfs attribute is supported only for VGA like devices in pci subsystem. This means non-pci backed devices such as simplefb, or e.g. SPI framebuffer devices, are not considered local. I think the primary intention of this attribute is to figure out 'primary' monitor, and considering whether a display is local or not based on it is not correct.
I would be tempted to just always grab keyboard for any renderer on udev based device. But I wonder if there's any side-effects on this for multi-head systems (e.g. multiple framebuffer devices present).
Any ideas how to do this properly?