Repository navigation
board: apple: Name the SPI keyboard spikbd in stdin - #11
Merged
Merged
Conversation
maralcbr
force-pushed
the
fix/mac-env-spikbd
branch
from
October 23, 2026 14:16
19c7bcc to
69016c6
Compare
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]>
maralcbr
force-pushed
the
fix/mac-env-spikbd
branch
from
October 23, 2026 14:29
69016c6 to
ca4a095
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
board/apple/mac/mac.envlistsspikbidinstdin, but the SPI keyboard driver registers asspikbd(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 listsspikbd.J700 and other MTP Macs are unaffected:
mtpkbdstays.Evidence
Built
apple_m1_defconfigat this branch in an arm64 container:CONFIG_APPLE_SPI_KEYB=y,CONFIG_APPLE_MTP_KEYB=yu-boot-nodtb.binembedsstdin=serial,usbkbd,spikbd,mtpkbdNot yet tried on an M1-family laptop's built-in keyboard.