Bug 2529315
| Summary: | [PTL] No SoundWire machine driver for RT721+RT1320+RT722 on link 3, snd_soc_register_card fails with -ENODEV | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | suarez.music97 | ||||||
| Component: | kernel | Assignee: | Justin M. Forbes <jforbes> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 44 | CC: | acaringi, adscvr, airlied, godell, hans, hpa, jforbes, junjie.cao, kernel-maint, linville, masami256, mchehab, nickolasjcarr, ptalbert, steved, suraj.ghimire7 | ||||||
| Target Milestone: | --- | Keywords: | Desktop | ||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | kernel-7.2.6-300.fc45 kernel-7.2.6-200.fc44 kernel-7.2.6-100.fc43 | Doc Type: | --- | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2026-09-22 00:18:02 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
suarez.music97
2026-09-07 08:31:20 UTC
Created attachment 2156974 [details]
dmesg-full.txt → Full kernel log (journalctl -k)
Created attachment 2156975 [details]
lspci.txt → lspci -vnn output
The attached dmesg says "DMI: LENOVO 83QM/LNVNB161216", the
Yoga Slim 7i 14IPH11. The RT722 on link 3 is a ghost: the
ACPI table declares it and nothing answers. The fix is a
DMI match in drivers/soundwire/dmi-quirks.c that drops that
address, the entry 83QK and 83SF already have, not a
soc-acpi-intel-ptl-match.c entry, which would keep the
ghost device in the card.
Upstream: c3133906d5bd ("soundwire: dmi-quirks: add Lenovo
Yoga Slim 7i 14IPH11"), in vkoul/soundwire next, not in a
release yet and without a stable tag, so 7.2.y does not get
it on its own. Backport for Fedora 43/44 (7.1 is EOL):
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/4743
Once it ships in a 7.2.x build, a note here on whether the
card appears would close this.
FEDORA-2026-bf6a65487f (kernel-7.2.6-300.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-bf6a65487f FEDORA-2026-1649616d86 (kernel-7.2.6-200.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-1649616d86 FEDORA-2026-77a0319608 (kernel-7.2.6-100.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-77a0319608 FEDORA-2026-bf6a65487f has been pushed to the Fedora 45 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-bf6a65487f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-bf6a65487f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-1649616d86 has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-1649616d86` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-1649616d86 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-77a0319608 has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-77a0319608` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-77a0319608 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-bf6a65487f (kernel-7.2.6-300.fc45) has been pushed to the Fedora 45 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2026-1649616d86 (kernel-7.2.6-200.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2026-77a0319608 (kernel-7.2.6-100.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. I think this has regressed on the Lenovo Yoga Slim 7i 14IPH11 (DMI 83QM) since Fedora 44 moved to the 7.3 kernel.
The fix for this bug was a backport of upstream commit c3133906d5bd ("soundwire: dmi-quirks: add Lenovo Yoga Slim 7i 14IPH11") via kernel-ark MR 4743. It is in the fedora-7.2
branch but not in fedora-7.3. The upstream commit is in v7.4-rc1 and has no stable tag, so 7.3.y does not pick it up on its own.
Same machine and BIOS for everything below:
$ cat /sys/class/dmi/id/product_name /sys/class/dmi/id/bios_version
83QM
TECN29WW
1. The 83QM quirk entry is in the 7.2.15 driver and missing from the 7.3 builds:
$ for v in $(ls /lib/modules); do printf '%s: ' $v; xz -dc /lib/modules/$v/kernel/drivers/soundwire/soundwire-intel.ko.xz | strings | grep -cx 83QM; done
7.2.15-200.fc44.x86_64: 1
7.3.3-200.fc44.x86_64: 0
7.3.4-200.fc44.x86_64: 0
2. kernel-7.2.15-200.fc44 (works, captured live): the ghost RT722 is not enumerated and the speaker PCM opens.
$ ls /sys/bus/soundwire/devices/
sdw-master-0-3
sdw:0:3:025d:0721:01
sdw:0:3:025d:1320:01
$ amixer -c 0 info | grep Components
Components : 'HDA:80862822,80860101,00100000 cfg-amp:2 mic:dmic cfg-mics:4 iec61937-pcm:7,6,5 spk:rt721+rt1320'
$ aplay -l | grep -v Subdev
card 0: sofsoundwire [sof-soundwire], device 2: Speaker (*) []
card 0: sofsoundwire [sof-soundwire], device 5: HDMI1 (*) [HDMI 1]
card 0: sofsoundwire [sof-soundwire], device 6: HDMI2 (*) [HDMI 2]
card 0: sofsoundwire [sof-soundwire], device 7: HDMI3 (*) [HDMI 3]
$ aplay -D hw:0,2 -f S32_LE -r 48000 -c 2 -d 1 /dev/zero
Playing raw data '/dev/zero' : Signed 32 bit Little Endian, Rate 48000 Hz, Stereo
$ journalctl -b -k -o cat | grep -E 'DMI: LENOVO|link 3 mfg_id|rt722|transport params|snd_soc_link_prepare'
DMI: LENOVO 83QM/LNVNB161216, BIOS TECN29WW 04/14/2026
sof-audio-pci-intel-ptl 0000:00:1f.3: link 3 mfg_id 0x025d part_id 0x0721 version 0x3
sof-audio-pci-intel-ptl 0000:00:1f.3: link 3 mfg_id 0x025d part_id 0x1320 version 0x3
3. kernel-7.3.4-200.fc44 (no internal audio). Same grep on the kernel log of a 7.3.4 boot from 2026-11-21: the RT722 is enumerated again and every SoundWire stream fails with
-61.
Linux version 7.3.4-200.fc44.x86_64
DMI: LENOVO 83QM/LNVNB161216, BIOS TECN29WW 04/14/2026
sof-audio-pci-intel-ptl 0000:00:1f.3: link 3 mfg_id 0x025d part_id 0x0721 version 0x3
sof-audio-pci-intel-ptl 0000:00:1f.3: link 3 mfg_id 0x025d part_id 0x1320 version 0x3
sof-audio-pci-intel-ptl 0000:00:1f.3: link 3 mfg_id 0x025d part_id 0x0722 version 0x3
rt722-sdca sdw:0:3:025d:0722:01: DPN_PortCtrl register write failed for port 3
soundwire sdw-master-0-3: Program transport params failed: -61
SDW3-Playback-SmartAmp: ASoC error (-61): at snd_soc_link_prepare() on SDW3-Playback-SmartAmp
rt722-sdca sdw:0:3:025d:0722:01: DPN_PortCtrl register write failed for port 1
SDW3-Playback-SimpleJack: ASoC error (-61): at snd_soc_link_prepare() on SDW3-Playback-SimpleJack
rt722-sdca sdw:0:3:025d:0722:01: DPN_PortCtrl register write failed for port 2
SDW3-Capture-SimpleJack: ASoC error (-61): at snd_soc_link_prepare() on SDW3-Capture-SimpleJack
rt722-sdca sdw:0:3:025d:0722:01: DPN_PortCtrl register write failed for port 6
SDW3-Capture-SmartMic: ASoC error (-61): at snd_soc_link_prepare() on SDW3-Capture-SmartMic
4. kernel-7.3.3-200.fc44 (no internal audio). Kernel log of a 7.3.3 boot from 2026-11-22 shows the identical sequence:
Linux version 7.3.3-200.fc44.x86_64
DMI: LENOVO 83QM/LNVNB161216, BIOS TECN29WW 04/14/2026
sof-audio-pci-intel-ptl 0000:00:1f.3: link 3 mfg_id 0x025d part_id 0x0722 version 0x3
rt722-sdca sdw:0:3:025d:0722:01: DPN_PortCtrl register write failed for port 3
soundwire sdw-master-0-3: Program transport params failed: -61
SDW3-Playback-SmartAmp: ASoC error (-61): at snd_soc_link_prepare() on SDW3-Playback-SmartAmp
On 7.3.3 I also observed that /sys/bus/soundwire/devices/sdw:0:3:025d:0722:01/status reads UNATTACHED, and that PipeWire drops the HiFi profile, leaving the card with only "off"
and "pro-audio".
The patch set for 7.3.5 in dist-git does not have the entry either. Could the patch be re-applied to fedora-7.3? I can test a build.
|