No sound from internal speakers HP Spectre x360 Convertible 14-ea0xxx, Realtek ALC245,

Bug #1914881 reported by Derek Marshall on 2021-02-06
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned

Bug Description

There is no sound output from the laptop internal speakers when running Ubuntu 20.10.

This is a dual-boot system;
 - Booting Windows first and then rebooting to Ubuntu -> sound works fine
 - Booting Ubuntu first and then rebooting to Windows -> Windows identifies sound as not enables and runs its troubleshooter to enable it

The card seems to be recognised OK (system sound settings report output device as Speaker - Tiger Lake-LP Smart Sound technology Audio Controller. VU meters etc all appear as if sound is playing, but no sound.

Headphone socket works perfectly.

Similar bug reports for different laptops in the HP x360 series suggest this is a pinning problem and that the extract below from the boot logs may support this.

lsb_release -rd
Description: Ubuntu 20.10
Release: 20.10

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

extract from journalctl -b

kernel: snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC245: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:>
kernel: snd_hda_codec_realtek ehdaudio0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
kernel: snd_hda_codec_realtek ehdaudio0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
kernel: snd_hda_codec_realtek ehdaudio0D0: mono: mono_out=0x0
kernel: snd_hda_codec_realtek ehdaudio0D0: inputs:
kernel: snd_hda_codec_realtek ehdaudio0D0: Mic=0x19

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 5.8.0-41.46-generic 5.8.18
Uname: Linux 5.8.0-41-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: derek 1460 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat Feb 6 20:48:52 2021
InstallationDate: Installed on 2021-02-04 (2 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
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: derek 1460 F.... pulseaudio
Symptom_Jack: Speaker, Internal
Symptom_Type: No sound at all
Title: [HP Spectre x360 Convertible 14-ea0xxx, Realtek ALC245, Speaker, Internal] No sound at all
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/13/2021
dmi.bios.release: 15.9
dmi.bios.vendor: AMI
dmi.bios.version: F.09
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 87F7
dmi.board.vendor: HP
dmi.board.version: 40.43
dmi.chassis.type: 31
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 40.43
dmi.modalias: dmi:bvnAMI:bvrF.09:bd01/13/2021:br15.9:efr40.43:svnHP:pnHPSpectrex360Convertible14-ea0xxx:pvr:rvnHP:rn87F7:rvr40.43:cvnHP:ct31:cvrChassisVersion:
dmi.product.family: 103C_5335KV HP Spectre
dmi.product.name: HP Spectre x360 Convertible 14-ea0xxx
dmi.product.sku: 2G2C7EA#ABU
dmi.sys.vendor: HP
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu50.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: derek 1481 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.10
InstallationDate: Installed on 2021-02-04 (2 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
MachineType: HP HP Spectre x360 Convertible 14-ea0xxx
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-41-generic root=UUID=0a15de41-a7a7-4152-a5dc-e7e69f45fccb ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.8.0-41.46-generic 5.8.18
RelatedPackageVersions:
 linux-restricted-modules-5.8.0-41-generic N/A
 linux-backports-modules-5.8.0-41-generic N/A
 linux-firmware 1.190.3
Tags: wayland-session groovy
Uname: Linux 5.8.0-41-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip lpadmin lxd plugdev pulse pulse-access sambashare sudo video
_MarkForUpload: True
dmi.bios.date: 01/13/2021
dmi.bios.release: 15.9
dmi.bios.vendor: AMI
dmi.bios.version: F.09
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 87F7
dmi.board.vendor: HP
dmi.board.version: 40.43
dmi.chassis.type: 31
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 40.43
dmi.modalias: dmi:bvnAMI:bvrF.09:bd01/13/2021:br15.9:efr40.43:svnHP:pnHPSpectrex360Convertible14-ea0xxx:pvr:rvnHP:rn87F7:rvr40.43:cvnHP:ct31:cvrChassisVersion:
dmi.product.family: 103C_5335KV HP Spectre
dmi.product.name: HP Spectre x360 Convertible 14-ea0xxx
dmi.product.sku: 2G2C7EA#ABU
dmi.sys.vendor: HP

Have collected alsa-info output from non-working and working situations as per the notes at https://bugzilla.kernel.org/show_bug.cgi?id=195457#c11

 echo 1 | sudo tee /sys/module/snd_hda_codec/parameters/dump_coef
 sudo alsa-info --no-upload --output /home/derek/alsainfo_bad.txt

Adding the alsainfo_good attachment

affects: alsa-driver (Ubuntu) → linux (Ubuntu)
tags: added: kernel-sound
description: updated

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1914881

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete

apport information

tags: added: apport-collected
description: updated

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Max Bowsher (maxb) wrote :

I also have this exact model of laptop.

I have installed kernel 5.11 from https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11/

Following a cold boot to Ubuntu, sound can be made to work via the workaround GPIO commands detailed in https://bugzilla.kernel.org/show_bug.cgi?id=210633#c13

The related patch to teach the kernel to do the necessary GPIO itself is https://patchwork<email address hidden>/

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

Other bug subscribers

Remote bug watches

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