Skip to content

arm: apple: hand off J614s MTP input to Linux - #29

Merged
RyanTheTide merged 1 commit into
aurora-silicon:aurora-wipfrom
notmysegv:codex/j614s-mtp-handoff
Nov 4, 2026
Merged

RyanTheTide merged 1 commit into
aurora-silicon:aurora-wipfrom
notmysegv:codex/j614s-mtp-handoff

Conversation

@notmysegv

@notmysegv notmysegv commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Extend the existing retained MTP handoff to the J614s T6041 helper, so Linux can adopt the running keyboard and trackpad session. The helper remains unavailable on other T6040 boards and when the MTP keyboard is disabled. A failure to publish the handoff prevents OS entry, as on J713.

The matching Linux consumer is aurora-silicon/linux#817. J614s also needs a device tree describing the helper and keyboard; this PR does not add one.

Validation:

  • Built the standalone apple_m1_defconfig U-Boot candidate on AArch64.
  • Ran the existing helper and keyboard handoff tests, extended for J614s and the disabled-keyboard case (9 passed). These exercise control flow and failure handling, not hardware.
  • The installed U-Boot package was built from this PR's original source commit 7a6dc91397981d52339be0fa7cce981bc5d47c2d; the current J614s boot reports that U-Boot revision. With an integrated J614s kernel containing #817 and other changes, Linux retained the MTP DART bypass, adopted three RTKit buffers, and initialized the keyboard and trackpad. The current PR commit changes only commit metadata and has the same source tree. This is combined-stack evidence, not a standalone kernel-branch boot.

Use the existing retained RTKit handoff for the J614s T6041 MTP helper, preserving the running keyboard and trackpad session for Linux.

Generated-by: LLM
Assisted-by: LLM
Signed-off-by: Michal S. <[email protected]>
@notmysegv
notmysegv force-pushed the codex/j614s-mtp-handoff branch from 7a6dc91 to 11f3e37 Compare November 3, 2026 01:23
@RyanTheTide
RyanTheTide merged commit 279c4af into aurora-silicon:aurora-wip Nov 4, 2026
satchlj added a commit that referenced this pull request Nov 5, 2026
aurora-wip gained the J614s MTP handoff (#29), which extends the same
J713-only checks this branch extends for J613. Two conflicts:

arch/arm/mach-apple/rtkit_helper.c, rtkit_helper_remove(): keep this
branch's J613 condition next to rtkit_helper_j713_handoff(), which now
also covers J614s, and take aurora-wip's "MTP: refusing OS entry after
DART retention error" message.

drivers/input/apple_mtp_kbd.c, apple_mtp_kbd_probe(): announce INIT
packets for J713, J614s and J613.
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