public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* [BUG REPORT] arm64: dts: qcom: x1e80100: Audio routing issues on ThinkPad T14s Gen 6
@ 2026-01-07 14:09 Simone Flavio Paris
  2026-01-07 14:39 ` Johan Hovold
  0 siblings, 1 reply; 2+ messages in thread
From: Simone Flavio Paris @ 2026-01-07 14:09 UTC (permalink / raw)
  To: linux-arm-msm, alsa-devel

Hi everyone,

I am testing the latest experimental kernels on the Lenovo ThinkPad
T14s Gen 6 (Snapdragon X Elite).

I have encountered a specific issue with the audio subsystem: 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.

Best regards,
Simone Flavio

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG REPORT] arm64: dts: qcom: x1e80100: Audio routing issues on ThinkPad T14s Gen 6
  2026-01-07 14:09 [BUG REPORT] arm64: dts: qcom: x1e80100: Audio routing issues on ThinkPad T14s Gen 6 Simone Flavio Paris
@ 2026-01-07 14:39 ` Johan Hovold
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hovold @ 2026-01-07 14:39 UTC (permalink / raw)
  To: Simone Flavio Paris; +Cc: linux-arm-msm, alsa-devel

On Wed, Jan 07, 2026 at 03:09:10PM +0100, Simone Flavio Paris wrote:

> I am testing the latest experimental kernels on the Lenovo ThinkPad
> T14s Gen 6 (Snapdragon X Elite).
> 
> I have encountered a specific issue with the audio subsystem: 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

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.

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-04 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-07 14:09 [BUG REPORT] arm64: dts: qcom: x1e80100: Audio routing issues on ThinkPad T14s Gen 6 Simone Flavio Paris
2026-01-07 14:39 ` Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox