Repository navigation
Description
Drafted with an AI assistant (Claude Code); I reviewed it before posting.
@iconidentify: is anyone working on Touch ID for the M3 (T8122)? If not, we'd like to help. Our 13" M3 Air (J613) is available for testing, and below are the values a T8122 profile and device tree would need.
Today on 2026.10.11.13, the driver loads and stops: apple_sep: no platform profile for this SoC; the SEP stays disabled. t8122.dtsi has no spi2, SEP, SEP DART or Mesa nodes; pinctrl_nub, ps_spi2 and ps_sep are already there.
The values come from Firmware/all_flash/DeviceTree.j613ap.im4p and DeviceTree.j615ap.im4p in the public UniversalMac_26.6.2_25G83_Restore.ipsw. As a check, the same parser run on that IPSW's DeviceTree.j415ap.im4p gives exactly the J415 values in aurora-silicon/linux#152. J613 and J615 are wired identically: only phandle numbers differ.
| J415 (T8112, works) | J613 / J615 (T8122) | |
|---|---|---|
| spi2 | 0x235108000, IRQ 750 |
0x2a1108000 (ADT 0x91108000), IRQ 767, spi-1,spimc |
| Mesa | biosensor,mesa, R3, 8 MHz, CS 0 |
same: R3, spi-frequency 8 MHz, CS 0, same reg bytes |
| Mesa power | AP GPIO 178 (/arm-io/gpio) |
NUB GPIO 29 (function-mesa_pwr → /arm-io/nub-gpio, i.e. pinctrl_nub), active high |
| Mesa data-ready | AP GPIO 177, flags 3 | AP GPIO 199 (/arm-io/gpio0), flags 3 |
| Mesa extras | none | function-monitor-current-3v0 (SMC PMU key), monitor-power-interval = 1000 |
| SEP | iop-sep,ascwrap-v4, 0x25e400000/0x6c000, 0x25e050000/0x60000 |
iop-sep,ascwrap-v6, 0x29e400000/0x6c000, 0x29e050000/0x60000, IRQs 318–321, no power gates |
| SEP DART | dart,t8110, vm-base 0x4000, vm-size 0xffff0000 |
dart,t8110 at 0x29cac0000, IRQ 324, vm-base 0x100_0000_4000 (the BIT(40) alias, as on J700), vm-size 0xffff0000 |
/defaults |
cpx-encryption-mode = 2 |
cpx-encryption-mode = 2 |
(Addresses add the /arm-io offset 0x210000000, which matches pinctrl_nub at 0x2e41f0000 and spi1 at 0x2a1104000 in t8122.dtsi.)
So the T8122 profile would most likely be T8112's warm-registration profile with T8140's wide_dma_mask. The two things I can't tell from the ADT:
- whether
ascwrap-v6changes the SEP mailbox; - whether iBoot leaves the sensor powered when the power line is on the NUB controller.
This Air's firmware: system 27.0 (mBoot-20457.1.29), OS 26.6.2 (mBoot-18000.161.10).
What we can do:
- test any branch or kernel you point us at. Boot it read-only first (
xart_writes=0), then enrol only once that passes; - if nobody has started, draft the profile and the
t8122.dtsi/J613 nodes ourselves, test them on the Air, and send a PR the way iio: aop_als: add opt-in J613 system-sleep report quiescing #152 was done.
Activity
scottjones commentedon Oct 12, 2026
Drafted with an AI assistant (Claude Code); I reviewed it before posting.
@iconidentify: Touch ID works on the 13" M3 Air (J613). On 2026.10.11.15 with a T8122 profile and device-tree nodes built from the values above, the SEP attaches, the sensor comes up, and a finger enrols, matches and still matches after a reboot. macOS Touch ID still works afterwards. Patch:
scottjones/aurora-linux@t8122-touchid(a51a1e02), one commit on top of6c982dda.Patch:
profile.rs: aT8122/J613profile, which isT8112withwide_dma_mask: true. Onlyapple,j613andapple,j615select it, because the other T8122 boards' sensor wiring hasn't been checked.t8122.dtsi:sep_dart(0x29cac0000, IRQ 324,apple,dma-range = /bits/ 64 <0x10000004000 0xffff0000>as on t8140),sep,sep_mbox(apple,t8122-asc-mailbox, IRQs 318–321), andspi2(0x2a1108000, IRQ 767, no pinctrl) with a disabledmesanode in mode 1, as on J415.t8122-j613.dts/t8122-j615.dts: thesepalias, plus&mesawithenable-gpios = <&pinctrl_nub 29 GPIO_ACTIVE_HIGH>andfirmware-name = "apple/mesacal-<board>.bin".Test setup: J613, system firmware 27.0 (
mBoot-20457.1.29), OS firmware 26.6.2 (mBoot-18000.161.10), the m3next Stage 1 with m1n1aurora17-5, and thej613-25g83GPU profile. The kernel is your 11.15 package. The test parts wereapple-sep.korebuilt from this branch (same config and rustc 1.93.1 / bindgen 0.73.2; vermagic and every undefined symbol match the running kernel; BTF stripped) and the two J613 DTBs swapped inside the existingboot.bin. An unpatched build of those DTBs is byte-identical to the ones in your package.sepaliasSEPFW,lpolandibot:iboot-manifest6287 B,local-policy-manifest2883 B,sep-firmwarereservedxart_writes=0)SEP platform profile: T8122/J613, DART aliasing0x0000010000004000..0x00000100ffff3fff, 12 endpoints, hwrng;keybag: missingas expectedxart_writes=1 provision_keybag=1sks: identity keybag provisioned(variant 5 accepted); ref-key created; xART 12 live records, 0 malformedpower line from the device node,bound, 8000000 Hz, mode 1; the stage 0/2 registration and device-view sync passenroll-completedin 6 touches; user/master catacomb state 7verify-match; another fingerverify-no-matchRestored;Touch ID: restored 1 enrolled identity/identities; enrolment survived reboot;verify-matchRestored, identity count 1, xART 12 live records and 0 malformed (revision 17118 → 17142),verify-matchOne installer change this needs: the first enrol failed with
calibration blob apple/mesacal-j613.bin could not be loaded (ENOENT).install-aurora-sep.shhad saved this Air's calibration asapple/mesa_calibration.bin, because the 11.15 J613 DTB has no sensor node. With this DT,calibration()would pick upmesacal-j613.binfrom the installed DTB. For the test I copied the file across.Like J415, the data-ready line (AP GPIO 199, flags 3) is left out, so the driver polls (
no data-ready interrupt (describe it in DT); capture falls back to SPI polling); the same follow-up as #53.Not tested: J615 (identical ADT values, no hardware here); lock screen and
sudothrough PAM; suspend and resume. Happy to open a PR againstintegration/aurora, or adjust first if you'd like it done differently.Attached (MACs, UUIDs and IPs removed):
touchid.txt, which has the firmware versions, the reboot boot's SEP log and diagnostics, and the enrolment boot's SEP and fprintd log.touchid.txt
scottjones commentedon Oct 15, 2026
Drafted with an AI assistant (Claude Code); I reviewed it before posting.
@iconidentify: J613 Touch ID after suspend: works. 13" M3 Air, 26.6.2 stub firmware, Aurora 2026.10.11.15 + the T8122 SEP profile from #82.
apple_sep: "restored 1 enrolled identity; enrolment survived reboot", andfprintd-verifymatched.systemctl suspend(s2idle) for about 2 minutes (23:27:41 → 23:29:39). On resume the sensor re-registered with identity count 1, andfprintd-verifymatched again.Not yet tested: J615, and a 14.8.3 stub (which the current edge installer uses for M3).
tonibergholm commentedon Oct 16, 2026
Additional J613 hardware validation on 2026-10-16: Touch ID works with the 14.7 OS firmware stub, system firmware 27.0, and the published aurora-2026.10.15.19 packages. Enrollment, matching, sudo and the Omarchy lock screen passed; enrollment and matching also survived a Linux reboot.
Tested on my 13-inch M3 MacBook Air with Codex assistance. This adds a different firmware combination and desktop authentication coverage to the results above.
Machine and stack
apple,j613/apple,t8122.4.0.0.r7026.g51bfd1d-1;omarchy-mac 0.1.4-1.7.1.12-2-20261015.19-sep-ARCH.7.1.12.aurora2-20261015.19.m1n1-aurora 1.6.1.aurora17-5; stage2 reportsv1.6.1-omarchy.aurora17. Existing stage1 reportsv1.6.1-dirtyand was retained.asahi,os-fw-version: 14.7;asahi,system-fw-version: 27.0.libfprint 1.94.100-1.1,fprintd 1.94.5-2,aurora-touchid 20261003-2.--read-only --m3-handoff --no-m3-mesafirst. This was a software-rendered desktop test; GPU acceleration was not enabled or qualified.Procedure and results
xart_writes=0 provision_keybag=0.T8122/J613, advertised all 12 endpoints, and exposed/dev/sep-bio. xART diagnostics reported zero malformed or duplicate records. Sensor bound at 8 MHz, SPI mode 1. Activation stopped because no Linux identity keybag existed, as expected in this mode.xart_writes=1 provision_keybag=1and rebooted. SEP provisioned the Linux identity keybag; fprintd discovered one Apple secure enclave fingerprint sensor.fprintd-enroll, verified it, then configured the standard Aurora/Omarchy PAM paths with password fallback retained.apple/mesacal-j613.bin; no manual calibration copy neededenroll-completedverify-no-matchverify-no-match; retry returnedverify-matchsudo -k /usr/bin/truepassed after fingerprint authentication; an earlier attempt timed outpkexec /usr/bin/truecompleted after the graphical authentication promptfprintd-verifyreturnedverify-matchsudo -k /usr/bin/truepassed after fingerprint authenticationRelevant post-reboot kernel messages:
Remaining limits and documentation
Not tested on this machine: macOS Touch ID after Linux enrollment, Linux/macOS round-trip persistence, suspend/resume, or physical password-fallback authentication. Password paths remain configured. These results do not qualify J615 or other M3 models.
The matched installer's final summary still says "Touch ID is not supported on M3 yet." That appears stale for this J613 configuration. Would you prefer a small documentation/installer-message PR, scoped to the tested board and firmware combinations?
No calibration, keybags, raw device trees, biometric payloads or disk images are attached.
scottjones commentedon Oct 23, 2026
Drafted with an AI assistant (Claude Code); I reviewed it before posting.
J613 (13" M3 Air), reinstalled: Touch ID bring-up wedges the enclave after the xART guard refuses a record the earlier install left.
Setup
os-fw14.7). The boot chain is aura 0.1.0.r20261023, and m1n1 forwards/chosen/apfs-preboot-uuid.linux-aurora 7.2.11.aurora1, run here as a local7.2.11-m3airbuild).SEP platform profile: T8122/J613.modprobe apple-sepwithxart_writes=1 provision_keybag=1, afterextract-mesa-calibrationwroteapple/mesacal-j613.bin.What happened
diagreadtouchid=failed sensor_attach=unknown restore=unknown matching=blocked xart=enabled./dev/sep-bionever appeared.What's different from the working runs
@tonibergholm's J613 above works on the same 14.7 stub. That Mac differs from this one in two ways:
-sepkernel (aurora-2026.10.15.19). This Air runs 7.2.11.So the 14.7 stub doesn't look like the cause.
Questions
CREATE_KEYBAGthen hung the enclave instead of failing back. Could the driver stop beforeCREATE_KEYBAGwhen the guard refuses, and report why?Full
apple_sepkernel log from the failed boot (no serials)🤖 Generated with Claude Code
satchlj commentedon Oct 26, 2026
Additional J613 Touch ID validation on 2026-10-25: one saved fingerprint survived a normal Linux reboot and unlocked the ordinary Omarchy lock screen. The owner physically confirmed password login/unlock, typing and trackpad movement after the final reboot as well.
This is a local research build, not qualification of the latest published Aurora kernel and not a proposed fix for the reinstall/foreign-session-record failure in the latest comment above.
Machine and stack:
apple,j613/apple,t8122, Arch Linux ARM/Omarchy.7.1.9-j613-4, local packagelinux-j613 1:7.1.9.j613.4-11;m1n1-aurora 1.6.1.aurora1-3; Omarchy4.0.0.r7025.g8a787b6-1;omarchy-mac 0.1.4-1.f6cfe0a4e88bec9abf54d9e8b4bfe1725916dae7df887a3d59198b353e8f0db1; this includes local recovery/diagnostic work and is not asserted identical to the current public driver.libfprint 1.94.100-1.2,fprintd 1.94.5-2.1, normal Quickshell fingerprint PAM. The vendor fprintd sandbox remains enabled.Results:
The daily existing-bag policy explicitly uses
xart_writes=1 provision_keybag=0 xart_guard=1 trusted_keys=0 filevault_api=0 fresh_enrolment_only=0. The earlier local guard-2 experiment prevented the shared-root persistence updates; normal guard 1 works here. Current public M3 defaults already select guard 1, so this observation does not justify changing upstream to an unguarded mode.The final boot was observed without any manual module/daemon start: the loader ran at 4.56–7.87 seconds and fprintd started at 13.70–14.23 seconds, then idle-exited/reactivated normally. All one-shot recovery/test packages have now been removed; a dependency-only normal-service package update leaves its five working runtime files byte-identical.
Unused bags from the earlier attempts remain, and safe deletion is not established. Backups and spent-authority receipts are retained privately. No raw xART replay, anti-replay counter reset, key deletion or forced internal save was used. No enrolled data, identifiers, calibration bytes, device trees, keybags or whole journals are attached.
Prepared with Codex assistance from the owner-confirmed results and read-only final boot/package observations.