[HP EliteBook 840 G8 Notebook PC, Realtek ALC245, Speaker, Internal] No sound except loud crackling (popping) noise

Bug #1980937 reported by fwjmath
62
This bug affects 12 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

New laptop with fresh installation of Xubuntu 22.04. Intel Tiger Lake-LP audio controller. When playing any audio, the internal speaker plays no sound except periodic loud crackling noise. The 3.5mm jack does not work either, producing the same craclking noise alongside some eletrical noise. HDMI audio skimmishly tested, but also gave no sound. Curiously, USB headphone (along with microphone) works perfectly, also the internal microphone.

As attempts to fix the problem, I have tried the following separately, with no avail:
- Installing some Ubuntu OEM version of the 5.17 kernel
- Updating to the v2.2 firmware from Sound Open Firmware Project (thesofproject on github), reverted afterwards

I found exactly the same problem reported in the Fedora community:
https://forums.fedoraforum.org/showthread.php?328627-HP-Elitebook-840-G8-Tiger-Lake-audio-only-produces-popping-sound&p=1860086

As the pre-installed Windows has been destroyed, no further test on Windows has been done.

Since USB headphone and internal microphone work, I think that there is no problem on the Intel Tiger Lake-LP controller and its driver. The bug probably lies elsewhere, like in the handling of ALC245 on this new laptop model.

Thank you very much for your time and effort in advance.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: alsa-base 1.0.25+dfsg-0ubuntu7
ProcVersionSignature: Ubuntu 5.15.0-40.43-generic 5.15.35
Uname: Linux 5.15.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: fwjmath 2810 F.... pulseaudio
                      fwjmath 72467 F.... alsamixer
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
Date: Thu Jul 7 10:59:22 2022
InstallationDate: Installed on 2022-06-29 (7 days ago)
InstallationMedia: Xubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:sofhdadsp failed
Symptom_Card: Tiger Lake-LP Smart Sound Technology Audio Controller - sof-hda-dsp
Symptom_DevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: fwjmath 2810 F.... pulseaudio
                      fwjmath 72467 F.... alsamixer
Symptom_Jack: Speaker, Internal
Symptom_Type: No sound at all
Title: [HP EliteBook 840 G8 Notebook PC, Realtek ALC245, Speaker, Internal] No sound at all
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/05/2022
dmi.bios.release: 9.1
dmi.bios.vendor: HP
dmi.bios.version: T37 Ver. 01.09.01
dmi.board.name: 8AB8
dmi.board.vendor: HP
dmi.board.version: KBC Version 58.03.00
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.ec.firmware.release: 88.3
dmi.modalias: dmi:bvnHP:bvrT37Ver.01.09.01:bd05/05/2022:br9.1:efr88.3:svnHP:pnHPEliteBook840G8NotebookPC:pvr:rvnHP:rn8AB8:rvrKBCVersion58.03.00:cvnHP:ct10:cvr:sku6A3P3AV:
dmi.product.family: 103C_5336AN HP EliteBook
dmi.product.name: HP EliteBook 840 G8 Notebook PC
dmi.product.sku: 6A3P3AV
dmi.sys.vendor: HP
mtime.conffile..etc.modprobe.d.alsa-base.conf: 2022-07-02T17:07:35.783239

Revision history for this message
fwjmath (fwjmath) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
fwjmath (fwjmath) wrote :

The bug is now fixed in a recent update. Here is a list of updated packages, with the kernel ones the most relevant:

Start-Date: 2022-09-01 11:54:38
Commandline: aptdaemon role='role-commit-packages' sender=':1.2252'
Install: linux-image-5.15.0-47-generic:amd64 (5.15.0-47.51, automatic), linux-headers-5.15.0-47-generic:amd64 (5.15.0-47.51, automatic), linux-modules-5.15.0-47-generic:amd64 (5.15.0-47.51, automatic), linux-headers-5.15.0-47:amd64 (5.15.0-47.51, automatic), linux-modules-extra-5.15.0-47-generic:amd64 (5.15.0-47.51, automatic)
Upgrade: linux-headers-generic:amd64 (5.15.0.46.46, 5.15.0.47.47), linux-generic:amd64 (5.15.0.46.46, 5.15.0.47.47), linux-image-generic:amd64 (5.15.0.46.46, 5.15.0.47.47), xdg-utils:amd64 (1.1.3-4.1ubuntu1.22.04.1, 1.1.3-4.1ubuntu3~22.04.1), ubuntu-advantage-tools:amd64 (27.9~22.04.1, 27.10.1~22.04.1), linux-libc-dev:amd64 (5.15.0-46.49, 5.15.0-47.51)
End-Date: 2022-09-01 11:54:52

Start-Date: 2022-09-01 11:54:59
Commandline: aptdaemon role='role-commit-packages' sender=':1.2252'
Remove: linux-image-5.15.0-43-generic:amd64 (5.15.0-43.46), linux-headers-5.15.0-43-generic:amd64 (5.15.0-43.46), linux-modules-5.15.0-43-generic:amd64 (5.15.0-43.46), linux-modules-extra-5.15.0-43-generic:amd64 (5.15.0-43.46), linux-headers-5.15.0-43:amd64 (5.15.0-43.46)
End-Date: 2022-09-01 11:55:02

Start-Date: 2022-09-02 22:11:07
Commandline: aptdaemon role='role-commit-packages' sender=':1.109'
Upgrade: libcurl4-openssl-dev:amd64 (7.81.0-1ubuntu1.3, 7.81.0-1ubuntu1.4), libcurl4:amd64 (7.81.0-1ubuntu1.3, 7.81.0-1ubuntu1.4), libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.3, 7.81.0-1ubuntu1.4), libldap-common:amd64 (2.5.12+dfsg-0ubuntu0.22.04.1, 2.5.13+dfsg-0ubuntu0.22.04.1), libldap-2.5-0:amd64 (2.5.12+dfsg-0ubuntu0.22.04.1, 2.5.13+dfsg-0ubuntu0.22.04.1), curl:amd64 (7.81.0-1ubuntu1.3, 7.81.0-1ubuntu1.4), thermald:amd64 (2.4.9-1, 2.4.9-1ubuntu0.1)
End-Date: 2022-09-02 22:11:11

Start-Date: 2022-09-06 10:36:54
Commandline: aptdaemon role='role-commit-packages' sender=':1.1607'
Upgrade: tzdata:amd64 (2022a-0ubuntu1, 2022c-0ubuntu0.22.04.0), libgnome-desktop-3-19:amd64 (42.2-0ubuntu1, 42.4-0ubuntu1), gnome-desktop3-data:amd64 (42.2-0ubuntu1, 42.4-0ubuntu1)
End-Date: 2022-09-06 10:36:55

Revision history for this message
fwjmath (fwjmath) wrote :

I forgot to check for the internal speaker. The bug is only partially fixed by the recent updates. The internal speaker still does not work, but the 3.5mm jack works perfectly now.

Revision history for this message
Konstantin (wizard34) wrote :

have the same issue with hp envy 16 Alder Lake-P and Realtek ALC245. With latest packages at the moment (kernel 5.15.0-48-generic)

Revision history for this message
william mantly (wmantly) wrote :

Same issue with a HP envy 15-ew0 Alder Lake-P and Realtek ALC245. I have tried kernels 5.15, 5.19, 6 and 6.1 RC. I have tried Ubuntu 22.10, 22.04, Linux Mint 21, popOS and fedora 36. Speakers do not work on any of them.

Revision history for this message
fwjmath (fwjmath) wrote :

Updating to 22.10 fixes the problem entirely, including the internal speaker.

Revision history for this message
Konstantin (wizard34) wrote :

22.10 with latest kernel at the moment (5.19.0-26-generic) speakers still do not work (hp envy 16 Alder Lake-P and Realtek ALC245)

Revision history for this message
Tristan SMAGGHE (yewolf) wrote :

Same issue on HP Envy 17 Alder Lake-P and Realtek ALC245. Tried all LTS kernels, 6.0 & 6.1. Tried on Ubuntu 23.01, 22.04, PopOS 22.04, Manjaro and speakers won't work on any of them.

Revision history for this message
Avik Topchyan (topchyan) wrote :

Confirming this issue on

Host: HP ENVY x360 2-in-1 Laptop 13-bf0xxx
Kernel: 5.15.0-58-generic

dmesg | grep -i speak
[ 5.793393] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC245: line_outs=2 (0x17/0x14/0x0/0x0/0x0) type:speaker
[ 5.793402] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)

I tried (after googling, but not sure what I am doing):

sudo xed /etc/modprobe.d/audiofix.conf

options snd_hda_intel dmic_detect=0
options snd_hda_intel model=laptop-amic enable=yes

and rebooting, but no effect whatsoever on spearkers.
Headphone jack works correctly.

Revision history for this message
Rafael Filipe Ferreirinha Cardoso (rcardoso20) wrote :

Hello,

I'm having the same problem on a HP ENVY x360 2-in-1 Laptop 15-ew0xxx.

The internal speaker doesn't reproduce any sound but I can use my headset and headphone jack.

If any info is needed please do tell.

Revision history for this message
Vladimir Djurovic (vdjurovic) wrote (last edit ):

I'm having the same problem with HP Elitebook 860 G9. I get sound through headphones and HDMI output, but not through built-in speakers.

Upgrading to kernel 5.19.17 seems to fix the problem.

Revision history for this message
cetver (cetver) wrote :

Same problem

Laptop
Product Name: Victus by HP Laptop 16-e17xxx
Serial Number: 5CD212MCYY

OS
DISTRIB_ID=Kubuntu
DISTRIB_RELEASE=22.10

Revision history for this message
Rafael Filipe Ferreirinha Cardoso (rcardoso20) wrote :

I'm running on Ubuntu 22.04, kernel 5.15.0-60-generic and this still happens.

Revision history for this message
Dalo Green (rovibloni) wrote :

I also don't have sound from my internal speakers on HP Envy x360 15-ew0023dx, but I can play audio from headphone jack, HDMI, or bluetooth. I've tried Ubuntu 22.04 and 22.10, linux kernel 5.15, 5.19.17, and 6.1.11, none fixed it.

Revision history for this message
Amarpreet Singh (solamarpreet) wrote :

Can confirm the bug on HP Envy 15t-ew000. However I searched the web for a solution and it seems like someone on the hp forums might have gotten it to work by writing a custom patch for the kernel as given here https://<email address hidden>/

Source:
https://h30434.www3.hp.com/t5/Notebook-Audio/No-sound-from-internal-speakers-using-Linux/m-p/8601304/highlight/true#M120589

Revision history for this message
Eldak (eldak2) wrote (last edit ):
Download full text (4.2 KiB)

I have HP EliteBook 860 G9. The earliest kernel version where ALC245 worked with speakers is 6.1.8 (Arch Linux 2023.02.01).

$ dmesg | grep -i cs35
[ 27.381629] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: Cirrus Logic CS35L41 (35a40), Revision: B2
[ 27.383637] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Reset line busy, assuming shared reset
[ 27.408366] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: Cirrus Logic CS35L41 (35a40), Revision: B2
[ 27.709657] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: DSP1: Firmware version: 3
[ 27.709661] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8973.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
[ 27.784202] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
[ 27.784615] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
[ 27.784617] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
[ 27.784619] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: DSP1: spk-prot: E:\Amp Tuning\HP\860\0527 LS R754 UPDATE THERMAL\103C8973_220527.bin
[ 27.807221] snd_hda_codec_realtek ehdaudio0D0: bound spi1-CSC3551:00-cs35l41-hda.0 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[ 27.811013] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: DSP1: Firmware version: 3
[ 27.811015] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8973.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
[ 27.873935] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
[ 27.875257] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
[ 27.875279] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
[ 27.875290] cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: DSP1: spk-prot: E:\Amp Tuning\HP\860\0527 LS R754 UPDATE THERMAL\103C8973_220527.bin
[ 27.902819] snd_hda_codec_realtek ehdaudio0D0: bound spi1-CSC3551:00-cs35l41-hda.1 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])

$ dmesg | grep -i snd_hda_codec
[ 27.807221] snd_hda_codec_realtek ehdaudio0D0: bound spi1-CSC3551:00-cs35l41-hda.0 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[ 27.902819] snd_hda_codec_realtek ehdaudio0D0: bound spi1-CSC3551:00-cs35l41-hda.1 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[ 27.903947] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC245: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[ 27.903953] snd_hda_codec_realtek ehdaudio0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 27.903956] snd_hda_codec_realtek ehdaudio0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 27.903958] snd_hda_codec_realtek ehdaudio0D0: mono: mono_out=0x0
[ 27.903960] snd_hda_codec_realtek ehdaudio0D0: inputs:
[ 27.903961] snd_hda_codec_realtek ehdaudio0D0: Mic=0x19
[ 27.952752] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[ 27.952777] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten

$ modinfo snd_hda_scodec_cs35l41
filename: /lib/modules/6.1.8-arch1-1/kernel/sound/pci/hda/snd-hda-scodec-cs35l41.ko.zst
...

Read more...

Revision history for this message
Konstantin (wizard34) wrote :

Ubuntu 23.04 kernel 6.2.0-20-generic still no luck. Speakers not working

with following in alsa-base.conf speakers works, but microphone doesn't
options snd-hda-intel dmic_detect=0
options snd-hda-intel model=laptop-amic enable=yes

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.