On Thu, Dec 21, 2017 at 11:47:40AM +0100, Stef van Os wrote:
The use case is that on many boards there is a BMC emulating a keyboard/mouse device (the Aspeed AST2500 in our case). This device is always on, and enumerated first.
This meant that in our case we were never able to use both a "real" keyboard to select the boot mode in SeaBIOS, and the network KVM via the Aspeed at the same time.
With this patch (and multiple keyboards configured in Kconfig) we do not have this limitation anymore, and can use both the network KVM remote, as well as a "real" keyboard on the device to select e.g. network boot or USB install medium.
Okay, thanks. That makes sense.
I agree with Daniel that it would be preferable to do this without a kconfig option. Perhaps put all of the keyboards in a linked list? (FYI, I don't see any reason to support multiple mice, as no one uses the old dos mouse interface anyway.)