Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
HP Envy 17.3 inch Laptop PC 17-cw0000 (761Z0AV)

I have a fresh install of Ubuntu 22.04. The speakers aren't playing sound.

I've gone through https://help.ubuntu.com/stable/ubuntu-help/sound-nosound.html.en but nothing there helps.

I can get sound on headphones, but when I pull the headphones out, the sound is gone, even though the volume is set to max.

`Speaker - sof-hda-dsp` shows in the settings as being recognized, but it's not being used. When I pull the headphones out, the `Output device` switches.

`sudo lspci` gives the output:

00:00.0 Host bridge: Intel Corporation Device a706
00:02.0 VGA compatible controller: Intel Corporation Device a7a0 (rev 04)
00:04.0 Signal processing controller: Intel Corporation Device a71d
00:06.0 PCI bridge: Intel Corporation Device a74d
00:07.0 PCI bridge: Intel Corporation Device a76e
00:07.2 PCI bridge: Intel Corporation Device a72f
00:08.0 System peripheral: Intel Corporation Device a74f
00:0a.0 Signal processing controller: Intel Corporation Device a77d (rev 01)
00:0d.0 USB controller: Intel Corporation Device a71e
00:0d.2 USB controller: Intel Corporation Device a73e
00:0d.3 USB controller: Intel Corporation Device a76d
00:12.0 Serial controller: Intel Corporation Device 51fc (rev 01)
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
00:14.3 Network controller: Intel Corporation Device 51f1 (rev 01)
00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 (rev 01)
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation Device 51bd (rev 01)
00:1f.0 ISA bridge: Intel Corporation Device 519d (rev 01)
00:1f.3 Multimedia audio controller: Intel Corporation Device 51ca (rev 01)
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a80b (rev 02)
56:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)

`sudo lspci -v` gives:

00:1f.3 Multimedia audio controller: Intel Corporation Device 51ca (rev 01)
Subsystem: Hewlett-Packard Company Device 8bdd
Flags: bus master, fast devsel, latency 32, IRQ 204, IOMMU group 15
Memory at 601d1d0000 (64-bit, non-prefetchable) [size=16K]
Memory at 601d000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: sof-audio-pci-intel-tgl
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl


https://askubuntu.com/questions/471433/sound-card-not-detecting and the command `sudo apt-get install build-essential linux-headers-`uname -r` alsa-base alsa-firmware-loaders alsa-oss alsa-source alsa-tools alsa-tools-gui alsa-utils alsamixergui` didn't fix the problem.

https://askubuntu.com/questions/873881/how-to-install-bang-and-olufsen-audio-drivers-for-hp-laptop failed to solve my problem.

https://askubuntu.com/questions/1253498/no-sound-on-headphones-with-sof-hda-dsp-audio-on-ubuntu-and-... also failed.

https://askubuntu.com/questions/1448046/audio-output-doesnt-switch-when-headphones-connect-or-discon... didn't help either.

`cat /proc/asound/cards` produces the following output:

0 [sofhdadsp ]: sof-hda-dsp - sof-hda-dsp
HP-HPEnvyLaptop17_cw0xxx-Type1ProductConfigId-8BDD


How can I get the sound working on my speakers?

1 REPLY 1
HP Recommended

Hi, this is a problem for many HP and Asus laptop users. The problem is that bios/uefi is missing some parameters for the firmware of the speaker amplifier Cirrius. Some people has been successfull by patching the kernel with some fixes but mainly the solution is that HP, Asus etc implement the correct code in bios/uefi.

And because at least HP don't officially supports Linux, we never know when this is going to be corrected. But HP should seriously make a fix for this ASAP because it would make the community really happy and happy customers wil bring more customers!

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.