On 24/11/12 19:03, Tarl Neustaedter wrote:
Right. You don't want to create a keyboard devalias if the input-device is a serial port. It may not matter for openbios under qemu, but when you get to real hardware, there are cases where you need to distinguish between keyboards and serial ports.
Hmmm. How about we do something along the lines of: scan all devices in /aliases for one with a device_type of keyboard, and assign the keyboard alias to the first one we find? The main reason for doing this is that I'd like to keep the alias assignment outside of the hardware driver code.
ATB,
Mark.