Repository navigation
Open
Description
Mac and installed build
- Model / board / SoC: MacBook Air 13" M1 (2020) /
apple,j313/apple,t8103 - Installed kernel package:
linux-aurora 7.1.12.aurora7-2(Omarchy package, built 2026-10-18 08:31 UTC, installed 2026-10-18 as an upgrade from7.1.12.aurora2-11). The package does not expose the Aurora release tag. uname -r:7.1.12-7-2-ARCH- Bootloader and relevant packages: m1n1 stage2
v1.6.1-omarchy.aurora1,omarchy-mac-boot 20261010-1,limine 12.9.3-1,asahi-audio 4.1-1,pipewire 1.6.9-1,wireplumber 0.5.18-1 - Distribution / local patches: Omarchy
4.0.0.r7052.ga6dcc31(Arch Linux ARM). No kernel changes. No audio config overrides are active (a WirePlumber override forcingS32LEon the AOP PCM was tried briefly, then removed).
Both firmware versions and provisioning
asahi,os-fw-version:13.5asahi,system-fw-version:unknown- Provisioning: not relevant
Reproduction, expected result, and actual result
- Boot normally. The PCM is free while PipeWire keeps it suspended.
- Talk while you run
arecord -D hw:AppleJ313HPAI,0 -f FLOAT_LE -c 3 -r 48000 -d 3 -t raw cap.raw. FLOAT_LE / 3 ch / 48 kHz is also what PipeWire negotiates. - Read
cap.rawas little-endian float32, 3 interleaved channels.
Expected: three independent live microphone channels, with room noise around 1e-4 to 1e-2 and louder speech.
Actual (every capture, also after a cold reboot):
- max |sample| = 2.42e-38. 55.5 % of the 32-bit words are exactly 0. Every non-zero word has float exponent field 1 or 2 (
0x00800000–0x0100ffff), and none is negative. - Channel 0 is bit-identical to channel 1.
- The stream is a fixed, looping pattern, not live samples. Two captures taken minutes apart match 100 % for the full 3 s once shifted by one frame. Within a capture, the data repeats exactly every 40,647 frames (846.8 ms). Speaking or keeping quiet makes no difference.
- So the asahi-audio j313 chain outputs silence, and applications record nothing.
Excerpt. The same sequence appears in every capture at the same position, give or take one frame:
00802a55 00802a55 00000000 00000000 00000000 00000000 008f64ba 008f64ba 00bc514b
00e3580f 00e3580f 00000000 00000000 00000000 00000000 0087ea09 0087ea09 00b69b4b
Last known-good build: unknown. The mic was first tried after the upgrade to aurora7-2.
Relevant error lines
No kernel message appears while capturing: no ADMAC descriptor or report ring error, no DART fault, no aop_audio error ("Unable to power mic on", etc.). The journal records every log level. The AOP firmware logs PDM activity only at boot, and logs nothing when the PCM is opened or closed:
udioPDMNodeBase.cpp:150: PDMDev<pdm0> wake notification. Prev AP state 1
Controller.cpp:160: RTKitAudioFramework v240.4 (built Jun 30 2023 17:51:05) ready!! {12 nodes}
Controller.cpp:251: aop-audio v240.10 (built Jun 30 2023 17:56:11, debug 0x0) ready!!
udioPDMNodeBase.cpp:115: PDMDev<pdm0> LPClkCfg=Src:pll ,Freq:2400000
udioPDMNodeBase.cpp:554: PDMDev<pdm0> off ->xi0 , 0->2400000 AP state 1
PCM state while PipeWire captures:
access: MMAP_INTERLEAVED
format: FLOAT_LE
channels: 3
rate: 48000 (48000/1)
Related issues, pull requests, or code examples
sound/soc/apple/aop_audio.rsis identical between AsahiLinux/linuxasahi(94fb233) and linux-auroraintegration/aurora(5d570a7), so the mic driver itself has not changed.- The layers underneath have changed substantially compared with AsahiLinux
asahi:drivers/soc/apple/aop.rs: 1033 → 2367 lines. Includes the T8140 setup port, the low-power source ring, DMA retention, and tagless call serialization.drivers/dma/apple-admac.c:dma_set_mask_and_coherent(DMA_BIT_MASK(42))now applies to every ADMAC, includingapple,t8103-admac, andadmac_wait_stopped()was added (f4b4f0c, 2026-10-17).drivers/iommu/apple-dart.c: 1651 → 3347 lines, including the 2026-10-10 series on inherited and retained firmware translations (bb7055e, 4446c6d, 277ff6c, 9e2232a, 9b96a8f) and the 2026-10-17 merge (0ad5362).
- The live device tree nodes
aop,aop/audio(dmas = <&aop_admac 1>),aop_dartandaop_admacmatch AsahiLinuxt8103.dtsi. All drivers are bound (apple-dart,apple-admac,apple_aop,snd_soc_aop), with the ADMAC and AOP in their own IOMMU groups. - Asahi documents built-in mic support on M1 laptops with
os-fw-version≥ 13.5, which this Mac meets. - Unverified hypothesis: a buffer replayed in a loop, with no AOP log on open, suggests the PDM/HPAI capture inside the AOP never starts, or that the buffer the AOP streams from is never refreshed. For example, AOP-side DMA through
aop_dartstream 0 could have been affected by the inherited-translation changes. - Workaround in use: Bluetooth headset microphone (HFP).
What was not tested
- Upstream Asahi kernel, or the previous
linux-aurora 7.1.12.aurora2-11, on this Mac. Whether this is a regression or never worked is unknown. - The microphone under macOS on this unit (hardware not cross-checked).
- No dynamic debug or EPIC message tracing (no root used).
- No suspend/resume test.
Metadata
Metadata
Assignees
Labels
No labels
Activity
soc: apple: sep: boot the SEP even when the xART store is unavailable
soc: apple: sep: boot the SEP even when the xART store is unavailable
soc: apple: sep: boot the SEP even when the xART store is unavailable
soc: apple: sep: boot the SEP even when the xART store is unavailable
soc: apple: sep: boot the SEP even when the xART store is unavailable
soc: apple: sep: boot the SEP even when the xART store is unavailable
soc: apple: sep: boot the SEP even when the xART store is unavailable
Boot the Secure Enclave read-only at boot so M1-family microphones work
soc: apple: sep: boot the SEP even when the xART store is unavailable
matiaslapolla commentedon Nov 7, 2026
Still reproduces on J313 with
aurora14and Omarchy 4.5. Raw capture shows the same 40,647-frame loop as in this report.System
MacBookAir10,1, J313, t8103)linux-aurora 7.2.11.aurora14-1(7.2.11-14-1-ARCH)aurora-audio 4.1.aurora3-3, PipeWire 1.6.9, WirePlumber 0.5.18,m1n1-aurora 1.6.1.aurora22-1,omarchy-mac-boot 20261104-1asahi,os-fw-version13.5,asahi,system-fw-version27.0aop-audio v240.10 (built Jun 30 2023)LidClosed=false)Capture
arecord -D hw:0,0 -f FLOAT_LE -c 3 -r 48000 -d 5 -t raw, with PipeWire not using the PCM:0095533c 0095533c 00000000 00000000 00000000 008b0b30 00a7113c 00a7113c 00000000Other observations
PDMDev<pdm0> off ->xi0 , 0->2400000 AP state 1once at startup and no PDM activity when the PCM opens.snd_soc_aop.mic_check_123=1makes no difference. Disassembly suggests it's only read inprobe, to gate theapple,no-beamformingcheck, so this is expected.Not tested: the mic under macOS on this unit, or any older kernel. The built-in mic has never worked on this install, so there's no last known-good build.
Happy to test patches or a debug kernel.
Diagnosed with Claude Code.
n0mahd commentedon Nov 11, 2026
Same result on a second J313, and with a different system firmware.
System
linux-aurora 7.2.11.aurora14-1(7.2.11-14-1-ARCH),aurora-audio 4.1.aurora3-3,m1n1-aurora 1.6.1.aurora22-1,omarchy-mac-boot 20261104-1asahi,os-fw-version13.5,asahi,system-fw-version26.6.2 (the reports above are on 27.0, so the macOS 27 system firmware is not the trigger)Capture
arecord -D hw:AppleJ313HPAI,0 -f FLOAT_LE -c 3 -r 48000 -d 5 -t raw, PipeWire not using the PCM, after a cold reboot:00809929 00809929 0095c6a7 00000000 00000000 00000000PDMDev<pdm0> off ->xi0 , 0->2400000 AP state 1once at boot only. A suspend/resume and a reboot both leave it the same.The user-visible result: every recorder (Superwhisper,
pw-recordoneffect_output.j313-micor Omarchy'somarchy_asahi_mic) gets digital silence.Not tested: macOS on this unit, an older kernel or the stock Asahi kernel. The 7.1.12.aurora2 install on this Mac (2026-10-11) showed the mic chain present, but capture was not measured then, so I can't call it a last known-good build.
Happy to test a patch or a debug kernel.
Diagnosed with Claude Code.
chioumike-max commentedon Nov 17, 2026
Same loop on a third J313. Unlike the reports above, this unit has a last known-good build: the built-in mic worked here under the unofficial omarchy-mac 4.0.4 build, before a fresh install of Omarchy 4.5 / linux-aurora.
System (broken)
linux-aurora 7.2.11.aurora14-1(7.2.11-14-1-ARCH),aurora-audio 4.1.aurora3-3,alsa-ucm-conf-aurora 10.aurora3-1, PipeWire 1.6.9, WirePlumber 0.5.18asahi,os-fw-version13.5; AOP reportsaop-audio v240.10 (built Jun 30 2023)Known good
Capture
arecord -D hw:0,0 -f FLOAT_LE -r 48000 -c 3 -d 3, after a cold boot with no suspend, PipeWire not using the PCM:effect_output.j313-micreads -92 dBFS RMS andomarchy_asahi_mic-86 dBFS. Dictation reports "No speech detected".PDMDev<pdm0> off ->xi0 , 0->2400000 AP state 1once at boot only, and nothing when the PCM opens.Small extra observation: the J313 UCM (
conf.d/aop_audio/3chan/HiFi.conf) declaresJackControl "Internal Mic Jack", butamixer -c0 controlslists no controls on the AOP card. That's probably unrelated to the loop.Happy to test a patch or a debug kernel.
Diagnosed with Claude Code.
mpodhaisky commentedon Nov 22, 2026
Another J313 (MacBook Air M1 2020) with the same signature on
linux-aurora 7.2.11.aurora14-1, os-fw 13.5: about 7.1e-4 startup transient, then about 2e-38 on all 3 channels fromarecord -D hw:0,0 -f FLOAT_LE -c 3 -r 48000, with no reaction to speech. It persists across reboots, including coming back from macOS.New data point for J313: the built-in mic works in macOS on this unit, so it isn't the hardware. Happy to test patches.
Boot the Secure Enclave read-only at boot so M1-family microphones work