Skip to content

Add ghost RT722 SoundWire fix for ASUS ExpertBook B9406 to base and BORE kernels - #535

Open
mijuny wants to merge 1 commit into
omacom:masterfrom
mijuny:soundwire-ignore-ghost-rt722-b9406
Open

mijuny wants to merge 1 commit into
omacom:masterfrom
mijuny:soundwire-ignore-ghost-rt722-b9406

Conversation

@mijuny

@mijuny mijuny commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Add the upstream ghost-RT722 SoundWire quirk for the ASUS ExpertBook B9406CAA to the base and BORE kernels.

With linux-omarchy 7.2.5, an ASUS ExpertBook B9406CAA registers no ALSA card, so the machine has no internal speakers, no HDMI audio and no microphone.

The B9406CAA firmware advertises a phantom RT722 on SoundWire link 3 next to the real CS42L43 and CS35L56. From 7.1 on, the duplicate SDW3-Playback-SimpleJack runtime fails to register with -EEXIST and the sof_sdw probe aborts with -12, so no card registers at all.

Upstream fixed this in 90af3209742d ("soundwire: dmi-quirks: Disable ghost Realtek on Asus Expertbook", Charles Keepax, Cirrus Logic), in mainline for v7.3 and closing thesofproject/linux#5828. linux-omarchy is on 7.2.5, which does not contain the fix. The ghost_realtek remap it references is already present in 7.2, so this is a single 7-line DMI table addition.

  • Adds 0519-soundwire-dmi-quirks-ignore-ghost-rt722-b9406.patch
  • Applied to both linux-omarchy and linux-omarchy-bore (pkgrel 6 -> 7)
  • No detached patch signature included
  • Upstream: torvalds/linux@90af320

Negative control: on unpatched 7.2.5-3 with the b9406-soundwire DKMS override and sof-b9406.conf both removed, the defect reproduces exactly (duplicate SDW3-Playback-SimpleJack, -EEXIST, sof_sdw probe -12, no soundcards).

Tested: built and installed as linux-omarchy 7.2.5-7, then booted with both workarounds removed. dyndbg shows remapped _ADR 0x330025d072201 as 0x0, the phantom is gone from the SoundWire bus, and speakers and the internal microphone work across two suspend/resume cycles and a second cold boot. HDMI 1-3 enumerate; playback to them and the headset jack were not tested. Runtime-tested on the base kernel only: linux-omarchy-bore carries the identical patch and applies cleanly in its series, but was not booted.

Refs: argrig666's #163 and omacom/omarchy#7321 document the same B9406CAA DMI match in the linux-ptl package, which Omarchy no longer installs. This puts the fix in the default kernel. The temporary DKMS b9406-soundwire override becomes unnecessary once a kernel with this patch ships. Drop patch 0519 when linux-omarchy moves to a kernel that contains the fix.

Credit: upstream fix by Charles Keepax (Cirrus Logic), signed off by Vinod Koul; the B9406CAA ghost-RT722 diagnosis and an earlier Omarchy backport were documented by argrig666 in #163, with rubas pointing to the merged mainline commit there. Backport, review and hardware testing done by Mikko Nyman with the herdr agent team: DeepSeek V4.1 Flash, GPT-6 Astra (Codex), Claude Opus 5, Grok 4.6, GLM 5.3 and GLM 5.3 Flash.

@mijuny
mijuny force-pushed the soundwire-ignore-ghost-rt722-b9406 branch 2 times, most recently from 09b74d9 to dd17c35 Compare September 19, 2026 17:09
…ORE kernels

Backport of upstream commit 90af3209742d ("soundwire: dmi-quirks: Disable
ghost Realtek on Asus Expertbook"), in mainline for v7.3 and closing
thesofproject/linux#5828. The B9406CAA firmware advertises a phantom RT722 on
SoundWire link 3 beside the real CS42L43 and CS35L56; from 7.1 the duplicate
SDW3-Playback-SimpleJack fails to register with -EEXIST and the sof_sdw probe
aborts with -12, so no ALSA card registers at all. linux-omarchy 7.2.5 does
not contain the fix. Linux 7.2.5 already carries the ghost_realtek remap this
references, so the change is a single DMI row.

Upstream: torvalds/linux@90af320
Original upstream commit by Charles Keepax <ckeepax@opensource.cirrus.com>,
signed off by Vinod Koul <vkoul@kernel.org>.
Closes: thesofproject/linux#5828
Diagnosis and an earlier Omarchy backport documented by argrig666 in
omacom#163; rubas pointed to the merged mainline commit there.
Refs: omacom#163
Refs: omacom/omarchy#7321

Verified on ASUS ExpertBook B9406CAA: the patch applies with
patch -Np1 --fuzz=0 to 7.2.5 and matches the upstream hunk, and it also
applies in the BORE patch series. Runtime-tested on the base kernel only:
built and installed as linux-omarchy 7.2.5-7, then booted with both the
out-of-tree b9406-soundwire DKMS override and the sof-b9406.conf
board-topology workaround removed. dyndbg shows "remapped _ADR
0x330025d072201 as 0x0", the phantom is gone from the SoundWire bus, and
speakers and the internal microphone work across two suspend/resume cycles and
a second cold boot; HDMI 1-3 enumerate but playback to them was not tested,
and the headset jack was not tested. A negative control on unpatched 7.2.5-3
with both workarounds removed reproduces the duplicate-link and no-soundcard
failure. linux-omarchy-bore carries the identical patch but was not booted.
No detached patch signature is included.

Built and reviewed by Mikko Nyman with the herdr agent team: DeepSeek V4.1
Flash, GPT-6 Astra (Codex), Claude Opus 5, Grok 4.6, GLM 5.3 and GLM 5.3
Flash.
@mijuny
mijuny force-pushed the soundwire-ignore-ghost-rt722-b9406 branch from dd17c35 to 85ef483 Compare September 19, 2026 17:15
@mijuny

mijuny commented Sep 19, 2026

Copy link
Copy Markdown
Contributor Author

The failed result check is the fork-author vouch gate (author is not vouched), not a diff or build failure: Build changed packages was skipped for that reason, while Tests (self-tests, build-isolation) passed. A maintainer can unblock it by adding mijuny to .github/VOUCHED.td or applying the build-approved label.

For context, linux-omarchy 7.2.5-7 with this patch was built locally and booted on a B9406CAA with both local workarounds removed (the negative control on stock 7.2.5-3 is in the description). Happy to boot-test linux-omarchy-bore locally as well if that is useful.

@argrig666

Copy link
Copy Markdown

Thank you @mijuny for putting this together and backporting upstream 90af3209742d to linux-omarchy and linux-omarchy-bore.

This cleanly supersedes #163 now that Omarchy supports Panther Lake on the core kernels. I can confirm this quirk resolves the duplicate SimpleJack enumeration and gets audio working on the ASUS ExpertBook B9406CAA.

Closing #163 in favor of this PR.

maralcbr added a commit that referenced this pull request Sep 27, 2026
Both packages move to the same omarchy-mac commit, so speakersafetyd keeps
one owner (#567 with #535) and the boot entrypoints the runtime needs publish
first. omarchy-mac gains the Apple Silicon platform group its source's guard
contract names.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants