On Sun, Jun 02, 2019 at 05:39:11PM +0300, Evgeny Zinoviev wrote:
Hi folks.
I've recently ported coreboot on MBA 5,2 (13'' mid 2012 model) and MBP 10,1 (15'' mid 2012 retina model). The integrated keyboard on these models is connected as a USB device, not PS/2. I have tested GRUB, SeaBIOS and Tianocore payloads, and the keyboard works in GRUB and Tianocore but not in SeaBIOS.
I was advised to send a log to this mailing list. It was created with SEABIOS_DEBUG_LEVEL=9. I'm not yet familiar with SeaBIOS code, but with your help perhaps I can debug and fix this.
At a quick glance, it appears multiple USB keyboards/mice were found. SeaBIOS just chooses one randomly in that case. As a guess, it chose the wrong one. If you want to try and debug it, you could look at src/hw/usb-hid.c:usb_kbd_setup().
-Kevin