omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

4.6.0-rc2: M2 Air J413 selects fw27 device tree on OS firmware 13.5, leaving built-in trackpad unavailable

Open davefano opened this issue 5 days ago • 3 comments

System details

  • MacBook Air 13-inch M2 (2022), Apple J413 / T8112, ARM64
  • Upgrade from packaged Omarchy 4.5.0-3 stable to 4.6.0rc2-1 via the Apple Silicon RC channel
  • linux-aurora 7.3.0.aurora2-2 (uname -r: 7.3.0-2-2-ARCH)
  • aura 1.0.0b17.r20261129-2; running Stage 2 1.0.0b17-g36b6f2bd
  • Stage 1 v1.6.1
  • /chosen/asahi,os-fw-version: 13.5
  • /chosen/asahi,system-fw-version: 26.6.2
  • Hyprland 0.57.2-11

What's wrong?

After the upgrade, the built-in keyboard worked but the built-in trackpad was unavailable: no cursor and hyprctl devices -j returned an empty mice array. This persisted across reboot and a targeted magicmouse rebind.

The running device tree had:

/soc/fifo@24eb14000/input@8000/multi-touch/apple,power-method = <2>
/soc/mtp@24e400000/apple,rtkit-keep-running

Both packaged profiles were embedded byte-for-byte in /boot/m1n1/boot.bin:

  • t8112-j413.dtb: no forced power method or retained-MTP property
  • t8112-j413-fw27.dtb: power method 2 and retained-MTP property

The live tree therefore matched the fw27 profile despite OS firmware being 13.5. The system firmware is newer; OS and system firmware values above are intentionally listed separately.

Error evidence

dockchannel-hid 24eb30000.input: output report 0x40 to iface 0 (comm) failed with err 0xe00002c2
[libseat] Could not take device: Input/output error
libseat: Couldn't open device at /dev/input/event1
[libinput] event1: opening input device '/dev/input/event1' failed (Operation not permitted).

The trackpad enumerated as Apple MTP multi-touch, but the Interface multi-touch is now ready line was absent. The keyboard, actuator and other MTP interfaces came up.

Reproduction observed on this machine

  1. Start with the existing J413 installation using a 13.5 OS stub.
  2. Upgrade from 4.5 stable to 4.6 RC2 with the Apple Silicon RC updater.
  3. Boot the Aurora kernel and log into Hyprland.
  4. Observe keyboard working, missing pointer, empty Hyprland mice array and the errors above.

This is a single-machine upgrade observation, not a clean-install reproduction.

Controlled workaround and result

Kept the same installed kernel, Aura binary, U-Boot, graphics packages and user and third-party trackpad-plugin settings. Rebuilt the Stage 2 boot image with the stock update-m1n1, using all current-kernel DTBs except t8112-j413-fw27.dtb. Backed up the original boot image and validated the candidate contained legacy J413 and omitted fw27 before replacement.

After reboot:

  • Neither forced power method nor retained-MTP property is present in the live tree.
  • Interface multi-touch is now ready appears.
  • hyprctl devices -j lists apple-mtp-multi-touch.
  • Trackpad/pointer functionality returned; the 0x40 errors are absent.
  • The third-party trackpad plugin remains enabled with the original settings.

A local model/OS-firmware-scoped update-m1n1 DTB filter currently prevents regeneration of the failing image. This is a workaround, not a proposed generic fix or recommendation to use a different board's DTB.

Related upstream work

  • https://github.com/aurora-silicon/linux/pull/3323 describes the same 0xe00002c2 / libseat EIO symptom on a different board (J615 M3 Air) with incompatible trackpad power protocol selection.
  • https://github.com/aurora-silicon/aura/commit/871a334a0c30e9588e8c8d6c6fb6923651933d71 adds firmware-aware T8112 fw27 profile ranking. Current source says fw27 profiles should rank 0 on OS firmware older than 27. We have not established whether the installed package contains this change or whether another selection path is responsible.

Please check the shipped Aura/DTB selection for existing J413 installations with older OS stub firmware. Happy to provide narrowly scoped additional diagnostics; a full unredacted system-debug dump is not attached.

davefano avatar Dec 01 '26 15:12 davefano

I traced this in the shipped packages' source. Nothing was run on Apple hardware, since a worker cannot boot a Mac. Your reading holds: the packaged boot loader has no rule that keeps the fw27 tree off 13.5 firmware, and the only thing that decides between the two trees is their order in boot.bin.

How the tree is chosen. Both t8112-j413.dtb and t8112-j413-fw27.dtb carry compatible = "apple,j413". The packaged aura (1.0.0b17.r20261129, omacom/m1n1 36b6f2bd) gives every tree without a J613 25G83 profile rank 1 (src/payload_profile.h:14-20). load_fdt() takes a tree whenever rank >= fdt_rank (src/payload.c:161-166), so of two trees with equal rank, the one later in boot.bin wins. aura b17 never looks at the OS firmware version for J413.

What sets the order. update-m1n1 appends the trees with an unquoted *.dtb glob, so the order follows the collation of the locale it runs in. Under C, t8112-j413-fw27.dtb comes first and the legacy tree wins. Under en_US.UTF-8, the legacy tree comes first and fw27 wins. I checked both orders here with the same file names. Omarchy pins this to C: omarchy-mac-boot ships /etc/default/update-m1n1 with export LC_ALL=C, and update-m1n1 reads that file first. With that file in place, the legacy tree should have won on your machine. So either it was missing, or a locally edited copy without the line was in use (pacman keeps an edited copy and writes the packaged one as .pacnew), or something else built that boot.bin. I can't tell which from here. These would settle it:

pacman -Qo /etc/default/update-m1n1; cat /etc/default/update-m1n1; ls -l /etc/default/update-m1n1.pacnew
grep -nE 'm1n1-install|upgraded (aura|linux-aurora|omarchy-mac-boot)' /var/log/pacman.log | tail

Also useful: whether t8112-j413-fw27.dtb sits after t8112-j413.dtb in the boot.bin you backed up. If you edited that file to add your filter, the state before your edit is what matters.

The fix. aurora-silicon/aura#550 (871a334a, merged 29 Nov) ranks a T8112 tree carrying apple,rtkit-keep-running at 2 on OS firmware 27 or newer and at 0 otherwise, so order and locale stop mattering. It is in aura v1.0.0b18. Omarchy still pins b17 plus four carries without it. Even with the C pin working, b17 always picks the legacy tree, which would leave a J413 that really runs a 27.2 stub on the wrong tree. Carrying #550, or moving to b18, in omarchy-pkgs changes how every Mac boots, so the maintainer will decide that. I found no open pull request for it.

Leaving t8112-j413-fw27.dtb out of boot.bin, as you did, is the right workaround for a 13.5 stub until then.

Reviewed by Opus 5.5 in Claude Code, with a second opinion from Opus 5.5 High and muse-wonder via pi, thinking high. Both pointed out Omarchy's LC_ALL=C pin, which is why this comment asks about /etc/default/update-m1n1 rather than blaming the locale outright. They agreed on how aura picks the tree, though their independence is not guaranteed.

omarchybot avatar Dec 01 '26 22:12 omarchybot

We carried aurora-silicon/aura#550 onto aura v1.0.0b17 in omacom/omarchy-pkgs#4386 (aura 1.0.0b17.r20261202-1, Stage 2 1.0.0b17-g06cc08b1), which is now live on both rc and edge.

On a 13.5 OS stub, t8112-j413-fw27.dtb now ranks 0 in ESP Stage 2 regardless of DTB order or locale, so t8112-j413.dtb (rank 1) is always selected.

Could you retest on rc (or edge) with your local update-m1n1 DTB filter removed (so both t8112-j413.dtb and t8112-j413-fw27.dtb are included in boot.bin again) and confirm after reboot:

  1. cat /sys/class/dmi/id/bios_version reports aura 1.0.0b17-g06cc08b1
  2. /proc/device-tree/soc/mtp@24e400000/apple,rtkit-keep-running is absent
  3. The built-in trackpad works cleanly (apple-mtp-multi-touch in hyprctl devices -j)

Also, if you still have a chance to check whether /etc/default/update-m1n1.pacnew was left behind by the 4.5 → 4.6-rc2 upgrade, that would still be useful to know.

maralcbr avatar Dec 02 '26 01:12 maralcbr

The version to look for in the retest has changed. RC and edge now ship aura 1.0.0b17.r20261202-2, and that build reports aura 1.0.0b17-g7feed100 in /sys/class/dmi/id/bios_version after reboot. It still has the firmware-aware device-tree selection from omacom/omarchy-pkgs#4386. Stage 2 source

For the retest, please confirm both J413 device trees are back in /boot/m1n1/boot.bin and the built-in trackpad moves the pointer. Codex High checked the published package and source. Opus 5.5 High and muse-wonder via pi, thinking high, flagged that a legacy-only boot image can pass the checks without exercising the fix.

omarchybot avatar Dec 02 '26 14:12 omarchybot