I am adding technical logs for the ThinkPad T14s Gen 6 (X1E80100) which
shares the same SoundWire/WSA884x architecture. I have verified the
following mixer paths...

while
the DSP and ALSA stack appear fully functional (firmware loads,
streams are processed without errors), there is no analog output on
speakers or headphones.

I have performed extensive diagnostics and manual mixer path
configurations to rule out userspace/UCM issues. Below is a detailed
technical report of the current status, routing attempts, and logs.

I hope this information helps in refining the machine driver or
topology profiles for this specific device. I am available to test
patches if needed.

[Technical Report]

Target Hardware: Lenovo ThinkPad T14s Gen 6 (21N1) - Snapdragon X
Elite (X1E80100)
OS: Ubuntu 25.10 (Debian-based)
Kernel: 6.17.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC aarch64
Audio Topology: Qualcomm ASoC / SoundWire / WSA884x (Smart Amps) /
WCD938x (Codec)

1. Executive Summary

Despite successfully loading ADSP/CDSP firmware and creating a valid
ALSA UCM profile, audio playback results in absolute silence on both
Speakers and the 3.5mm Jack.

speaker-test executes successfully (consuming periods/buffers) without
I/O errors on hw:0,0 (MultiMedia1) and hw:0,1 (MultiMedia2),
indicating the DSP is correctly processing the PCM data. However, the
backend widgets appear to remain in a muted or power-down state
despite manual enablement.

2. Current Status

Firmware: Loaded successfully from
/lib/firmware/qcom/x1e80100/LENOVO/21N1/ (qcadsp8380.mbn).

ALSA Detection: Card X1E80100LENOVOT detected correctly.

Mixer Controls: Accessible via amixer. Note: Many controls have
verbose prefixes (e.g., WSA WSA_RX0 instead of just WSA_RX0).

Symptoms:
speaker-test -D hw:0,1 -c 2 -r 48000: Runs successfully, time periods
elapse. Result: Silence.
No dmesg xrun or I/O errors during playback after correct routing is applied.

3. Troubleshooting & Routing Attempted
I manually configured the mixer paths using amixer commands to bypass
potential UCM misconfigurations. I confirmed the routing logic against
the topology file.

A. Speaker Routing (WSA884x)
Path established: MultiMedia1/2 -> RX_MACRO -> WSA_MACRO -> WSA_RX0/1
-> SpkrLeft/Right

Specific Mixer Settings Applied:
cset "name='WSA_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 1"
cset "name='RX_MACRO RX0 MUX' 'AIF1_PB'"
cset "name='RX_MACRO RX1 MUX' 'AIF1_PB'"
cset "name='WSA WSA RX0 MUX' 'AIF1_PB'"
cset "name='WSA WSA RX1 MUX' 'AIF1_PB'"
cset "name='WSA WSA_RX0 INP0' 'RX0'"
cset "name='WSA WSA_RX1 INP0' 'RX1'"
cset "name='WSA WSA_RX0 Digital Volume' 84"
cset "name='WSA WSA_RX0 Digital Mute' 0"


Analog/Amp Enable Sequence Forced:
cset "name='SpkrLeft WSA MODE' 'Speaker'"
cset "name='SpkrLeft DAC Switch' 1"
cset "name='SpkrLeft BOOST Switch' 1"
cset "name='SpkrLeft VISENSE Switch' 1"
cset "name='SpkrLeft PBR Switch' 1"
cset "name='SpkrLeft PA Volume' 30" (Max)

B. Headphone Routing (WCD938x)
Path established: MultiMedia2 -> RX_MACRO -> RX INT MIX -> HPH

Specific Mixer Settings Applied:
cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 1"
cset "name='RX_MACRO RX0 MUX' 'AIF1_PB'"
cset "name='RX INT0_1 MIX1 INP0' 'RX0'"
cset "name='RX INT0_2 MUX' 'RX0'"

Power Mode Forced (Critical step):
cset "name='RX HPH Mode' 'CLS_H_LOHIFI'"
cset "name='RX_HPH PWR Mode' 'LOHIFI'"
cset "name='HPHL Switch' 1"
cset "name='HPHL_COMP Switch' 1"

4. Conclusion

The PCM stream is successfully traversing the DSP chain, but the
backend widgets (WSA smart amps and WCD codec headphone rail) fail to
drive the analog outputs even when manually forced via mixer controls.
This suggests a missing device-specific sequence in the machine
driver, a missing GPIO trigger for the amp rails, or a specific
register configuration quirk for the T14s Gen 6 implementation.

I also wrote to Johan Hovold <[email protected]> that answered me:
"You need to report this to your distro as this is not a mainline issue.

IIUC, Ubuntu disables audio by default until you pass a kernel parameter
due to the lack of speaker protection."

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2130536

Title:
  SoundWire bus clash prevents audio on Lenovo Yoga Slim 7x (X1E80100)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2130536/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to