Skip to content

alsa-ucm-conf-aurora: hide the J700 microphones while the lid is closed - #5

Closed
RyanTheTide wants to merge 6 commits into
feat/aurora-edgefrom
aurora-edge/alsa-ucm-clamshell-mic
Closed

RyanTheTide wants to merge 6 commits into
feat/aurora-edgefrom
aurora-edge/alsa-ucm-clamshell-mic

Conversation

@RyanTheTide

Copy link
Copy Markdown

What and why

Bumps alsa-ucm-conf-aurora to aurora-silicon/alsa-ucm-conf-asahi 3b5dfbf, the head of aurora-silicon/alsa-ucm-conf-asahi#4 (j700/clamshell-mic).

Closing the MacBook Neo's lid disconnects its internal microphones in hardware. The t8140-aop-audio Mic device now names the kernel's "Internal Mic Jack" as its JackControl. With the lid closed, PipeWire/WirePlumber see the profile as unavailable and fall back to another microphone. When the lid opens, they bring the microphone, its filter and the user's default source back. With a kernel that lacks that control, nothing changes.

The other commits since the previous pin (e55107a) are J616s documentation only. pkgver 10.aurora2 -> 10.aurora3.

Verified

  • python3 tests/aurora-edge/metadata.py: 8 tests OK.
  • makepkg --nodeps builds the package, and the packaged HiFi.conf carries the JackControl line.
  • In the source repo, alsaucm dump text parses it (alsa-lib 1.2.16).

Hardware status

Not verified end to end. The kernel half, the "Internal Mic Jack" control in t8140-aop-audio, is not merged yet. It is queued for the next Neo kernel release, and the attended lid close/open check has not run. This package is harmless without it. Draft.

Note: 3b5dfbf is on #4's branch, not yet on alsa-ucm-conf-asahi main.

🤖 Generated with Claude Code

DjDeveloperr and others added 6 commits October 14, 2026 17:16
Pin the Aurora stack, retain Mesa epoch and legacy boot paths, and isolate audio replacements from stock-name upgrades. Keep source tracking disabled for the review candidates.

Signed-off-by: DjDeveloperr <hey@djdev.me>

Assisted-by: LLM
…hing

5f6c917 merges omacom#301, which leaves the firmware-owned J700 DISP_CPU domain alone; 790d5a81 does not boot the Neo. ALARM's clang18, llvm18 and lld18 install only under /usr/lib/llvm18/bin, so LLVM defaults to that prefix and they are makedepends. The m1n1 floor goes back to 1.6.1, which M1 and M2 users' m1n1-aurora meets, and replaces=linux-asahi goes: it would swap the kernel of every Mac on [omarchy] at its next update.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
replaces= on a stock name swaps that package on every machine using [omarchy] at its next update: Mesa on every aarch64 machine, and m1n1, U-Boot, bless and the audio stack of every M1 and M2; on Qualcomm the platform guard would then refuse the whole upgrade. The recipes keep conflicts and provides, so the Neo image installs them explicitly, and replace only the Neo-only draft names. Every recipe carries the apple-silicon platform group.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No package ships the MT7932 policy files, so the initcpio hook adds them only when present instead of failing the build. Only US and world-XZ exist, and the radio stays blocked for any other country, such as one set from the timezone at setup; a watcher on regulatory changes switches such a country to the world domain.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A first build makes the CL shader compilers Asahi needs; the packaged drivers use them with -Dllvm=disabled and -Dspirv-tools=disabled, so an Arch Linux ARM LLVM or SPIRV-Tools bump no longer leaves the Neo without a GPU until a rebuild. llvmpipe goes with LLVM; softpipe stays. check() refuses a staged library that needs either, and libdisplay-info triggers rebuilds.

The recipe did not build before: arch-meson's --buildtype clashed with -Dbuildtype=release, and its --auto-features enabled demands the VA front end this driver set cannot have. meson setup now takes arch-meson's flags without auto-features, with b_ndebug like Arch's Mesa, and pins the optional features the dependencies follow. makedepends names rust-bindgen, Arch's bindgen package. Mesa's tests stay off: hk_sampler_bias_test undefines NDEBUG and calls nir_validate_shader, so it links only in debug builds.

Built in an Omarchy edge chroot on Arch Linux ARM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pin aurora-silicon/alsa-ucm-conf-asahi 3b5dfbf (j700/clamshell-mic,
aurora-silicon/alsa-ucm-conf-asahi#4). The t8140-aop-audio Mic device
names the kernel's "Internal Mic Jack" as its JackControl, so PipeWire
stops offering the internal microphones while the lid disconnects them
and offers them again when it opens. Kernels without that control are
unaffected. The other commits since the previous pin are documentation
only. pkgver 10.aurora2 -> 10.aurora3.

Assisted-by: LLM
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
@RyanTheTide

Copy link
Copy Markdown
Author

feat/aurora-edge went upstream as omacom#1101, so this base is closed. Hiding the mics with the lid closed is now done in the kernel (the t8140-aop-audio jack reports them unplugged, aurora-silicon/linux@71b8966f10ec in integration/aurora), with the UCM side in aurora-silicon/alsa-ucm-conf-asahi#4. Closing as superseded. Thanks!

@RyanTheTide
RyanTheTide deleted the aurora-edge/alsa-ucm-clamshell-mic branch November 6, 2026 03:24
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