mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [alsa-devel] [BUG] Lenovo ThinkBook 16 G7 QOY (Snapdragon X) - No soundcards detected
@ 2026-06-08 11:57 thomas.kuang
  2026-06-09  9:24 ` Konrad Dybcio
  0 siblings, 1 reply; 6+ messages in thread
From: thomas.kuang @ 2026-06-08 11:57 UTC (permalink / raw)
  To: alsa-devel; +Cc: linux-arm-msm, linux-kernel



Hardware: Lenovo ThinkBook 16 G7 QOY (Qualcomm Snapdragon X / X Plus / X Elite)
Kernel version: 7.0.0-22-generic (Ubuntu 26.04 LTS)
Architecture: aarch64

Problem Description:
-------------------
Audio is not working on this Snapdragon X-based laptop. The system fails to detect any soundcards,
even though the Qualcomm audio driver modules are loaded.

Symptoms:
---------
- `aplay -l` shows: "no soundcards found..."
- `cat /proc/asound/cards` shows: "--- no soundcards ---"
- `/dev/snd/` only contains seq and timer devices, no pcm devices

Relevant System Information:
----------------------------

$ uname -a
Linux ks-ThinkBook-16-G7-QOY 7.0.0-22-generic #22-Ubuntu SMP PREEMPT_DYNAMIC Mon May 25 15:37:49 UTC 2026 aarch64 GNU/Linux

$ cat /proc/version
Linux version 7.0.0-22-generic (buildd@bos03-arm64-083) (aarch64-linux-gnu-gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0, GNU ld (GNU Binutils for Ubuntu) 2.46) #22-Ubuntu SMP PREEMPT_DYNAMIC Mon May 25 15:37:49 UTC 2026

$ cat /sys/devices/virtual/dmi/id/product_name
21NH

$ cat /sys/devices/virtual/dmi/id/product_version
ThinkBook 16 G7 QOY

$ cat /sys/devices/virtual/dmi/id/sys_vendor
LENOVO

Loaded Audio Modules:
--------------------
$ lsmod | grep -i qcom | grep -i sound
snd_soc_qcom_sdw        12288  1 snd_soc_x1e80100
snd_soc_qcom_common     16384  1 snd_soc_x1e80100
soundwire_qcom          36864  0

$ lsmod | grep snd_soc_x1e80100
snd_soc_x1e80100        16384  0

Platform Devices:
-----------------
$ ls /sys/bus/platform/devices/ | grep audio
audio-codec
hdmi-audio-codec.6.auto
hdmi-audio-codec.7.auto
hdmi-audio-codec.8.auto

PipeWire Status:
----------------
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Mon 2026-06-08 18:40:50 CST; 30min ago

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Mon 2026-06-08 18:40:50 CST; 30min ago

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Mon 2026-06-08 18:40:50 CST; 30min ago

Additional Notes:
-----------------
This appears to be similar to issues reported on other Snapdragon X Elite devices
(Dell Latitude 7455, Dell XPS 13 9345). The audio driver modules load correctly,
but the sound card registration fails.

A workaround mentioned in community discussions is to add:
  snd-soc-x1e80100.i_accept_the_danger=1
to the kernel command line, which suggests this may be related to speaker
protection mechanisms not being fully implemented for this platform.

Any help or guidance would be greatly appreciated.

Best regards,
thomas.kuang


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

* Re: [alsa-devel] [BUG] Lenovo ThinkBook 16 G7 QOY (Snapdragon X) - No soundcards detected
  2026-06-08 11:57 [alsa-devel] [BUG] Lenovo ThinkBook 16 G7 QOY (Snapdragon X) - No soundcards detected thomas.kuang
@ 2026-06-09  9:24 ` Konrad Dybcio
  2026-06-09 22:26   ` thomas.kuang
  0 siblings, 1 reply; 6+ messages in thread
From: Konrad Dybcio @ 2026-06-09  9:24 UTC (permalink / raw)
  To: thomas.kuang, alsa-devel; +Cc: linux-arm-msm, linux-kernel

On 6/8/26 1:57 PM, thomas.kuang wrote:
> 
> 
> Hardware: Lenovo ThinkBook 16 G7 QOY (Qualcomm Snapdragon X / X Plus / X Elite)
> Kernel version: 7.0.0-22-generic (Ubuntu 26.04 LTS)
> Architecture: aarch64
> 
> Problem Description:
> -------------------
> Audio is not working on this Snapdragon X-based laptop. The system fails to detect any soundcards,
> even though the Qualcomm audio driver modules are loaded.

Please post the output of

grep ^ /sys/class/remoteproc/*/state
grep ^ /sys/class/remoteproc/*/name

Konrad

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

* Re:Re: [alsa-devel] [BUG] Lenovo ThinkBook 16 G7 QOY (Snapdragon X) - No soundcards detected
  2026-06-09  9:24 ` Konrad Dybcio
@ 2026-06-09 22:26   ` thomas.kuang
  2026-06-10 10:32     ` Konrad Dybcio
  0 siblings, 1 reply; 6+ messages in thread
From: thomas.kuang @ 2026-06-09 22:26 UTC (permalink / raw)
  To: Konrad Dybcio; +Cc: alsa-devel, linux-arm-msm, linux-kernel



grep ^ /sys/class/remoteproc/*/state
/sys/class/remoteproc/remoteproc0/state:offline
/sys/class/remoteproc/remoteproc1/state:offline


grep ^ /sys/class/remoteproc/*/name
/sys/class/remoteproc/remoteproc0/name:adsp
/sys/class/remoteproc/remoteproc1/name:cdsp











At 2026-06-09 17:24:57, "Konrad Dybcio" <konrad.dybcio@oss.qualcomm.com> wrote:
>On 6/8/26 1:57 PM, thomas.kuang wrote:
>> 
>> 
>> Hardware: Lenovo ThinkBook 16 G7 QOY (Qualcomm Snapdragon X / X Plus / X Elite)
>> Kernel version: 7.0.0-22-generic (Ubuntu 26.04 LTS)
>> Architecture: aarch64
>> 
>> Problem Description:
>> -------------------
>> Audio is not working on this Snapdragon X-based laptop. The system fails to detect any soundcards,
>> even though the Qualcomm audio driver modules are loaded.
>
>Please post the output of
>
>grep ^ /sys/class/remoteproc/*/state
>grep ^ /sys/class/remoteproc/*/name
>
>Konrad

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

* Re: [alsa-devel] [BUG] Lenovo ThinkBook 16 G7 QOY (Snapdragon X) - No soundcards detected
  2026-06-09 22:26   ` thomas.kuang
@ 2026-06-10 10:32     ` Konrad Dybcio
  2026-06-10 13:31       ` thomas.kuang
  0 siblings, 1 reply; 6+ messages in thread
From: Konrad Dybcio @ 2026-06-10 10:32 UTC (permalink / raw)
  To: thomas.kuang; +Cc: alsa-devel, linux-arm-msm, linux-kernel

On 6/10/26 12:26 AM, thomas.kuang wrote:
> 
> 
> grep ^ /sys/class/remoteproc/*/state
> /sys/class/remoteproc/remoteproc0/state:offline
> /sys/class/remoteproc/remoteproc1/state:offline
> 
> 
> grep ^ /sys/class/remoteproc/*/name
> /sys/class/remoteproc/remoteproc0/name:adsp
> /sys/class/remoteproc/remoteproc1/name:cdsp

Try writing start into > /state

This will attempt to power on the DSPs, most importantly the A(udio)DSP
which is necessary for audio to work. If that fails, check dmesg as you
may be missing some firmware files.

Konrad

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

* Re:Re: [alsa-devel] [BUG] Lenovo ThinkBook 16 G7 QOY (Snapdragon X) - No soundcards detected
  2026-06-10 10:32     ` Konrad Dybcio
@ 2026-06-10 13:31       ` thomas.kuang
  2026-06-10 13:52         ` Konrad Dybcio
  0 siblings, 1 reply; 6+ messages in thread
From: thomas.kuang @ 2026-06-10 13:31 UTC (permalink / raw)
  To: Konrad Dybcio; +Cc: alsa-devel, linux-arm-msm, linux-kernel



when run 
sudo sh -c 'echo "start" > /sys/class/remoteproc/remoteproc0/state'
sudo sh -c 'echo "start" > /sys/class/remoteproc/remoteproc1/state'


dmesg is following:
  625.929265] remoteproc remoteproc0: powering up adsp
[  625.929296] remoteproc remoteproc0: Direct firmware load for qcom/x1p42100/LENOVO/21NH/qcadsp8380.mbn failed with error -2
[  625.929299] remoteproc remoteproc0: request_firmware failed: -2
[  625.929302] remoteproc remoteproc0: Boot failed: -2
[  625.936529] remoteproc remoteproc1: powering up cdsp
[  625.936552] remoteproc remoteproc1: Direct firmware load for qcom/x1p42100/LENOVO/21NH/qccdsp8380.mbn failed with error -2
[  625.936555] remoteproc remoteproc1: request_firmware failed: -2
[  625.936557] remoteproc remoteproc1: Boot failed: -2













At 2026-06-10 18:32:43, "Konrad Dybcio" <konrad.dybcio@oss.qualcomm.com> wrote:
>On 6/10/26 12:26 AM, thomas.kuang wrote:
>> 
>> 
>> grep ^ /sys/class/remoteproc/*/state
>> /sys/class/remoteproc/remoteproc0/state:offline
>> /sys/class/remoteproc/remoteproc1/state:offline
>> 
>> 
>> grep ^ /sys/class/remoteproc/*/name
>> /sys/class/remoteproc/remoteproc0/name:adsp
>> /sys/class/remoteproc/remoteproc1/name:cdsp
>
>Try writing start into > /state
>
>This will attempt to power on the DSPs, most importantly the A(udio)DSP
>which is necessary for audio to work. If that fails, check dmesg as you
>may be missing some firmware files.
>
>Konrad

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

* Re: [alsa-devel] [BUG] Lenovo ThinkBook 16 G7 QOY (Snapdragon X) - No soundcards detected
  2026-06-10 13:31       ` thomas.kuang
@ 2026-06-10 13:52         ` Konrad Dybcio
  0 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2026-06-10 13:52 UTC (permalink / raw)
  To: thomas.kuang; +Cc: alsa-devel, linux-arm-msm, linux-kernel

On 6/10/26 3:31 PM, thomas.kuang wrote:
> 
> 
> when run 
> sudo sh -c 'echo "start" > /sys/class/remoteproc/remoteproc0/state'
> sudo sh -c 'echo "start" > /sys/class/remoteproc/remoteproc1/state'
> 
> 
> dmesg is following:
>   625.929265] remoteproc remoteproc0: powering up adsp
> [  625.929296] remoteproc remoteproc0: Direct firmware load for qcom/x1p42100/LENOVO/21NH/qcadsp8380.mbn failed with error -2
> [  625.929299] remoteproc remoteproc0: request_firmware failed: -2
> [  625.929302] remoteproc remoteproc0: Boot failed: -2
> [  625.936529] remoteproc remoteproc1: powering up cdsp
> [  625.936552] remoteproc remoteproc1: Direct firmware load for qcom/x1p42100/LENOVO/21NH/qccdsp8380.mbn failed with error -2
> [  625.936555] remoteproc remoteproc1: request_firmware failed: -2
> [  625.936557] remoteproc remoteproc1: Boot failed: -2

As the dmesg suggests, you're missing these firmware files and need
to supply them.

Konrad

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

end of thread, other threads:[~2026-06-10 13:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-08 11:57 [alsa-devel] [BUG] Lenovo ThinkBook 16 G7 QOY (Snapdragon X) - No soundcards detected thomas.kuang
2026-06-09  9:24 ` Konrad Dybcio
2026-06-09 22:26   ` thomas.kuang
2026-06-10 10:32     ` Konrad Dybcio
2026-06-10 13:31       ` thomas.kuang
2026-06-10 13:52         ` Konrad Dybcio

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

all inboxes | Powered by JetHome®