Skip to content

board: apple: Name the SPI keyboard spikbd in stdin - #11

Merged
RyanTheTide merged 1 commit into
aurora-silicon:mainfrom
maralcbr:fix/mac-env-spikbd
Oct 25, 2026
Merged

RyanTheTide merged 1 commit into
aurora-silicon:mainfrom
maralcbr:fix/mac-env-spikbd

Conversation

@maralcbr

@maralcbr maralcbr commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

board/apple/mac/mac.env lists spikbid in stdin, but the SPI keyboard driver registers as spikbd (drivers/input/apple_spi_kbd.c). iomux_doenv() skips names it can't find (common/iomux.c), so on SPI-keyboard Macs (the M1-family laptops: J293, J313, J314, J316) the built-in keyboard gives no input at the U-Boot prompt or boot menu. Only a USB keyboard works there.

The typo came in with 01e3985 ("input: apple: Add support for Apple MTP keyboard"). Asahi's current version of that commit (812c17b, in asahi-v2026.07-2) already lists spikbd.

J700 and other MTP Macs are unaffected: mtpkbd stays.

Evidence

Built apple_m1_defconfig at this branch in an arm64 container:

  • CONFIG_APPLE_SPI_KEYB=y, CONFIG_APPLE_MTP_KEYB=y
  • u-boot-nodtb.bin embeds stdin=serial,usbkbd,spikbd,mtpkbd

Not yet tried on an M1-family laptop's built-in keyboard.

The SPI keyboard driver registers itself as "spikbd", but the default
environment lists "spikbid", so iomux skips it and the built-in keyboard
of SPI-keyboard Macs (the M1-family laptops) gives no input at the U-Boot
prompt or boot menu. The typo came in with the MTP keyboard support;
Asahi's rebased version of that commit (812c17b, in the
asahi-v2026.07-2 release) lists spikbd.

Fixes: 01e3985 ("input: apple: Add support for Apple MTP keyboard")
Signed-off-by: Marcelo Alcantara <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants