Repository navigation
Conversation
09b74d9 to
dd17c35
Compare
…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.
dd17c35 to
85ef483
Compare
|
The failed 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. |
|
Thank you @mijuny for putting this together and backporting upstream 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. |
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-SimpleJackruntime fails to register with-EEXISTand thesof_sdwprobe 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. Theghost_realtekremap it references is already present in 7.2, so this is a single 7-line DMI table addition.0519-soundwire-dmi-quirks-ignore-ghost-rt722-b9406.patchlinux-omarchyandlinux-omarchy-bore(pkgrel 6 -> 7)Negative control: on unpatched 7.2.5-3 with the
b9406-soundwireDKMS override andsof-b9406.confboth removed, the defect reproduces exactly (duplicateSDW3-Playback-SimpleJack,-EEXIST,sof_sdwprobe-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 thelinux-ptlpackage, which Omarchy no longer installs. This puts the fix in the default kernel. The temporary DKMSb9406-soundwireoverride becomes unnecessary once a kernel with this patch ships. Drop patch0519when 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.