Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

No sound: HP Spectre x360 "Dummy Output" output device (broadwellrt286)

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
intrinsiqc
Posts: 3
Joined: 2022-07-06 14:56

No sound: HP Spectre x360 "Dummy Output" output device (broadwellrt286)

#1 Post by intrinsiqc »

Hi, I've been having some trouble getting the built-in speakers of a HP Spectre x360 (13-4003dx) working in Debian 11, and suspend doesn't work either which I think is related. The only output device showing is Dummy Output. Searching these forums and Google didn't turn up much, but I did find the bug Missing support for Haswell/Broadwell platforms with I2S codec present which may be relevant.

Can I ask for some help troubleshooting to get this working?

Code: Select all

$ uname -a
Linux spectre 5.18.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.5-1 (2022-06-16) x86_64 GNU/Linux

Code: Select all

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: broadwellrt286 [broadwell-rt286], device 0: System Playback/Capture (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: broadwellrt286 [broadwell-rt286], device 1: Offload0 Playback (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: broadwellrt286 [broadwell-rt286], device 2: Offload1 Playback (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Code: Select all

$ lspci -k | grep -A2 Audio
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
	Subsystem: Hewlett-Packard Company Broadwell-U Audio Controller
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
It looks like there was a timeout loading firmware intel/IntcSST2.bin for intel_catpt.

Code: Select all

$ dmesg | egrep -i -3 "snd|sound|audio|catpt|asoc"
...
[  321.604486] intel_catpt INT3438:00: DesignWare DMA Controller, 8 channels
[  321.619028] intel_catpt INT3438:00: firmware: direct-loading firmware intel/IntcSST2.bin
[  321.630779] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input17
[  321.630871] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input18
[  321.630953] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input19
[  321.631044] input: HDA Intel HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/sound/card0/input20
[  321.631133] input: HDA Intel HDMI HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:03.0/sound/card0/input21
...
[  321.875576] rt286 i2c-INT343A:00: ASoC: sink widget DMIC1 overwritten
[  321.875590] rt286 i2c-INT343A:00: ASoC: source widget DMIC1 overwritten
[  321.883814] input: broadwell-rt286 Headset as /devices/platform/broadwell-audio/sound/card1/input22
[  322.055703] intel_catpt INT3438:00: firmware: direct-loading firmware intel/IntcSST2.bin
[  322.326725] intel_catpt INT3438:00: firmware ready timeout
[  322.327341] intel_catpt INT3438:00: boot firmware failed: -110
...
This also appears to be preventing the laptop from suspending. When I close the lid or click "Suspend" it doesn't go into the sleep state (power light remains solid instead of flashing, battery continues to drain). I think these log messages are indicative of what's happening:

Code: Select all

$ dmesg
...
[  909.928179] OOM killer disabled.
[  909.928180] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  909.929381] printk: Suspending console(s) (use no_console_suspend to debug)
[  910.029819] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  910.029972] sd 0:0:0:0: [sda] Stopping disk
[  910.139945] intel_catpt INT3438:00: enter dx state failed: -1
[  910.139953] intel_catpt INT3438:00: PM: dpm_run_callback(): acpi_subsys_suspend+0x0/0x60 returns -1
[  910.139961] intel_catpt INT3438:00: PM: failed to suspend: error -1
[  912.369050] PM: Some devices failed to suspend, or early wake event detected
[  912.369542] sd 0:0:0:0: [sda] Starting disk
[  912.474241] OOM killer enabled.
[  912.474243] Restarting tasks ... done.
[  912.551057] PM: suspend exit
inxi shows PulseAudio and Pipewire are both running which for Debian 11 I believe is expected, where PulseAudio is still the primary sound server.

Code: Select all

$ inxi -A
Audio:
  Device-1: Intel Broadwell-U Audio driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.18.0-2-amd64 running: yes
  Sound Server-2: PulseAudio v: 15.0 running: yes
  Sound Server-3: PipeWire v: 0.3.53 running: yes

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: No sound: HP Spectre x360 "Dummy Output" output device (broadwellrt286)

#2 Post by Aki »

Hello,

I suppose you are right both for audio and suspend: the intel_catpt kernel component is not correctly initialized and fails to suspend:

Code: Select all

[  322.327341] intel_catpt INT3438:00: boot firmware failed: -110
[..]
[  909.929381] printk: Suspending console(s) (use no_console_suspend to debug)
[..]
[  910.139945] intel_catpt INT3438:00: enter dx state failed: -1
[  910.139953] intel_catpt INT3438:00: PM: dpm_run_callback(): acpi_subsys_suspend+0x0/0x60 returns -1
[  910.139961] intel_catpt INT3438:00: PM: failed to suspend: error -1
[  912.369050] PM: Some devices failed to suspend, or early wake event detected
The intel_catpt is the kernel component that supports Intel(R) Haswell and Broadwell platforms with I2S audio codec, as reported here [1]. A Debian bug report is here [2], as you reported earlier.

You can try to boot the kernel disabling (blacklisting [3]) the "snd-soc-catpt.ko" kernel module to verify if system suspends and if you can work around the audio issue with different audio codecs.

HTH

[1] https://www.kernelconfig.io/config_snd_soc_intel_catpt
[2] https://bugs.debian.org/cgi-bin/bugrepo ... bug=986822
[3] https://wiki.debian.org/KernelModuleBlacklisting
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

intrinsiqc
Posts: 3
Joined: 2022-07-06 14:56

Re: No sound: HP Spectre x360 "Dummy Output" output device (broadwellrt286)

#3 Post by intrinsiqc »

Thanks for the reply.

I blacklisted snd_soc_catpt like you suggested and the laptop now suspends without issue and the error message from intel_catpt in the kernel boot log isn't present anymore.

Code: Select all

$ cat /etc/modprobe.d/snd_soc_catpt.conf
blacklist snd_soc_catpt
The "card 1: broadwellrt286" entries are missing from aplay -l now though, and the only output device is still "Dummy Output".

Code: Select all

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
work around the audio issue with different audio codecs
Can you give me a pointer on how I can do that?

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: No sound: HP Spectre x360 "Dummy Output" output device (broadwellrt286)

#4 Post by FreewheelinFrank »

Do you have

Code: Select all

firmware-intel-sound
?

panpan
Posts: 61
Joined: 2015-09-18 17:07
Has thanked: 3 times

Re: No sound: HP Spectre x360 "Dummy Output" output device (broadwellrt286)

#5 Post by panpan »

How well are integrated in your system kernel 5.18 and this?
https://wiki.debian.org/PipeWire

intrinsiqc
Posts: 3
Joined: 2022-07-06 14:56

Re: No sound: HP Spectre x360 "Dummy Output" output device (broadwellrt286)

#6 Post by intrinsiqc »

FreewheelinFrank wrote: 2022-07-18 05:29 Do you have

Code: Select all

firmware-intel-sound
?
Yes, though I saw there were two versions listed and mine was /testing (20210818-1) rather than /stable (20210315-3).

Code: Select all

$ apt list -a firmware-intel-sound
firmware-intel-sound/now 20210818-1 all [installed,local]
firmware-intel-sound/stable 20210315-3 all
This is because I had tried the testing version of linux-image-amd64 to see if sound was working and I believe that pulled in the testing version of firmware-intel-sound. I downgraded linux-image-amd64 to stable, so now have:

Code: Select all

$ apt list -a firmware-intel-sound
firmware-intel-sound/stable,now 20210315-3 all [installed]
$ uname -a
Linux spectre 5.10.0-16-amd64 #1 SMP Debian 5.10.127-2 (2022-07-23) x86_64 GNU/Linux
If I don't blacklist the snd_soc_catpt module the same timeout message appears in the logs for 5.10. When it's blacklisted sleep works but the broadwell card is no longer listed, same as in my previous reply.
panpan wrote: 2022-07-18 12:00 How well are integrated in your system kernel 5.18 and this?
https://wiki.debian.org/PipeWire
As above, I downgraded the kernel to 5.10.

themagicm
Posts: 49
Joined: 2011-11-23 06:08

Re: No sound: HP Spectre x360 "Dummy Output" output device (broadwellrt286)

#7 Post by themagicm »

Probably wont help you but one of the issues I had with my Envy x360 was solved by using a much more newer kernel than what the default is in Debian.

chofer32
Posts: 1
Joined: 2022-08-19 07:28

Re: No sound: HP Spectre x360 "Dummy Output" output device (broadwellrt286)

#8 Post by chofer32 »

I faced the same problem when reinstalling my Linux as bullseye. The solution for former distributions depends only on a grub-directive for the soundcard on startup so I tried the "old" solution

https://h30434.www3.hp.com/t5/Notebook- ... -p/4980797

and it worked on bullseye as well.

My default startup directive in /etc/default/grub is

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT='acpi_osi="!Windows 2013" acpi_osi="!Windows 2012" quiet splash acpi_backlight=vendor'
after

Code: Select all

$ sudo update-grub 
and two reboots

Code: Select all

$ sudo reboot
the command

Code: Select all

$ aplay -l
has following entry at the end

Code: Select all

card 1: PCH [HDA Intel PCH], device 0: ALC3242 Analog [ALC3242 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
and sound of speakers work on bullseye (Verification: Application PulseAudio should regognize speakers as well as headphone and microphone)

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: No sound: HP Spectre x360 "Dummy Output" output device (broadwellrt286)

#9 Post by Aki »

Hello,
chofer32 wrote: 2022-08-19 07:50 [..] sound of speakers work on bullseye (Verification: Application PulseAudio should regognize speakers as well as headphone and microphone)
Thanks. What about the "Line-out" connector ?
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply