No sound from built-in speakers HP Pavilion All-in-One Desktop 27-ca1xxx (ALC274)

Bug #1982483 reported by Ernst Sjöstrand
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
Confirmed
Medium
alsa-driver (Ubuntu)
New
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

I have tried:

options snd-hda-intel model=alc285-hp-amp-init
options snd-hda-intel model=alc274-dell-aio

and newer kernels up to 5.19-rc6.

21: PCI 1f.3: 0403 Audio device
  [Created at pci.386]
  Unique ID: nS1_.2CriaNVEdN5
  SysFS ID: /devices/pci0000:00/0000:00:1f.3
  SysFS BusID: 0000:00:1f.3
  Hardware Class: sound
  Device Name: "Onboard - Sound"
  Model: "Intel Audio device"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x7ad0
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x89e9
  Revision: 0x11
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0x6105238000-0x610523bfff (rw,non-prefetchable)
  Memory Range: 0x6105000000-0x61050fffff (rw,non-prefetchable)
  IRQ: 161 (1098 events)
  Module Alias: "pci:v00008086d00007AD0sv0000103Csd000089E9bc04sc03i80"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Driver Info #1:
    Driver Status: snd_sof_pci_intel_tgl is active
    Driver Activation Cmd: "modprobe snd_sof_pci_intel_tgl"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

  <6>[ 3.582352] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC274: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
  <6>[ 3.582359] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
  <6>[ 3.582362] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
  <6>[ 3.582364] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
  <6>[ 3.582366] snd_hda_codec_realtek hdaudioC0D0: inputs:
  <6>[ 3.582367] snd_hda_codec_realtek hdaudioC0D0: Mic=0x19
  <6>[ 3.582369] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12

Alsa-info:

https://alsa-project.org/db/?f=ed6190cfc9d9eb1c758c6c3106dd236b150f5b31

Here is a kernel bug report:

https://bugzilla.kernel.org/show_bug.cgi?id=216139
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ernst 1560 F.... pulseaudio
 /dev/snd/controlC0: ernst 1560 F.... pulseaudio
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-06-15 (143 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
MachineType: HP HP Pavilion All-in-One Desktop 27-ca1xxx
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.0.0-1006-oem root=UUID=72ea78e1-7744-4fcc-b63c-3aa577c86a80 ro quiet splash ibt=off mitigations=off vt.handoff=7
ProcVersionSignature: Ubuntu 6.0.0-1006.6-oem 6.0.0
RelatedPackageVersions:
 linux-restricted-modules-6.0.0-1006-oem N/A
 linux-backports-modules-6.0.0-1006-oem N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.6
Tags: jammy wayland-session
Uname: Linux 6.0.0-1006-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 02/09/2022
dmi.bios.release: 15.2
dmi.bios.vendor: AMI
dmi.bios.version: F.02
dmi.board.name: 89E9
dmi.board.vendor: HP
dmi.board.version: 0100
dmi.chassis.type: 13
dmi.chassis.vendor: HP
dmi.ec.firmware.release: 1.16
dmi.modalias: dmi:bvnAMI:bvrF.02:bd02/09/2022:br15.2:efr1.16:svnHP:pnHPPavilionAll-in-OneDesktop27-ca1xxx:pvr:rvnHP:rn89E9:rvr0100:cvnHP:ct13:cvr:sku661Q7EA#UUW:
dmi.product.family: 103C_53311M HP Pavilion
dmi.product.name: HP Pavilion All-in-One Desktop 27-ca1xxx
dmi.product.sku: 661Q7EA#UUW
dmi.sys.vendor: HP
modified.conffile..etc.default.apport: [modified]
mtime.conffile..etc.default.apport: 2022-06-15T22:28:44.879144

Revision history for this message
In , ernstp (ernstp-linux-kernel-bugs) wrote :

I have tried:

options snd-hda-intel model=alc285-hp-amp-init
options snd-hda-intel model=alc274-dell-aio

21: PCI 1f.3: 0403 Audio device
  [Created at pci.386]
  Unique ID: nS1_.2CriaNVEdN5
  SysFS ID: /devices/pci0000:00/0000:00:1f.3
  SysFS BusID: 0000:00:1f.3
  Hardware Class: sound
  Device Name: "Onboard - Sound"
  Model: "Intel Audio device"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x7ad0
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x89e9
  Revision: 0x11
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0x6105238000-0x610523bfff (rw,non-prefetchable)
  Memory Range: 0x6105000000-0x61050fffff (rw,non-prefetchable)
  IRQ: 161 (1098 events)
  Module Alias: "pci:v00008086d00007AD0sv0000103Csd000089E9bc04sc03i80"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Driver Info #1:
    Driver Status: snd_sof_pci_intel_tgl is active
    Driver Activation Cmd: "modprobe snd_sof_pci_intel_tgl"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

  <6>[ 3.582352] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC274: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
  <6>[ 3.582359] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
  <6>[ 3.582362] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
  <6>[ 3.582364] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
  <6>[ 3.582366] snd_hda_codec_realtek hdaudioC0D0: inputs:
  <6>[ 3.582367] snd_hda_codec_realtek hdaudioC0D0: Mic=0x19
  <6>[ 3.582369] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12

Revision history for this message
In , ernstp (ernstp-linux-kernel-bugs) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

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 1982483

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
Changed in linux:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Ernst Sjöstrand (ernstp) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected jammy wayland-session
description: updated
Revision history for this message
Ernst Sjöstrand (ernstp) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : IwConfig.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : Lspci.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : Lspci-vt.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : Lsusb.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : Lsusb-t.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : Lsusb-v.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : PaInfo.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : ProcEnviron.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : ProcModules.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : PulseList.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : RfKill.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : UdevDb.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : WifiSyslog.txt

apport information

Revision history for this message
Ernst Sjöstrand (ernstp) wrote : acpidump.txt

apport information

Revision history for this message
In , ernstp (ernstp-linux-kernel-bugs) wrote :

Created attachment 303138
AlsaInfo.txt

Perhaps this has even more contents.

Revision history for this message
In , ernstp (ernstp-linux-kernel-bugs) wrote :

options snd-hda-intel model=alc295-hp-x360

didn't help either.

Revision history for this message
In , erasmocaponio (erasmocaponio-linux-kernel-bugs) wrote :

Same problem on Manjaro with kernel 6.4.2-3.

Revision history for this message
In , ernstp (ernstp-linux-kernel-bugs) wrote :

Hi! Is it possible for you to try Windows on the computer (dual-boot, etc..) ?

Then you could run something called RtHDDump.exe like referenced here: https://bugzilla.kernel.org/show_bug.cgi?id=207423

Where do you actually find RtHDDump.exe... ? I'm not sure yet!

Revision history for this message
In , erasmocaponio (erasmocaponio-linux-kernel-bugs) wrote :

(In reply to Ernst Sjöstrand from comment #5)
> Hi! Is it possible for you to try Windows on the computer (dual-boot, etc..)
> ?
>
> Then you could run something called RtHDDump.exe like referenced here:
> https://bugzilla.kernel.org/show_bug.cgi?id=207423
>
> Where do you actually find RtHDDump.exe... ? I'm not sure yet!

Hi!, yes I have dual boot with Win 11 (the speakers work perfectly in windows).
In Manjaro, I have audio from headphones, the camera and the microphone (built in the monitor) work perfectly. The only thing that does not work are the Bose speakers. So I am not going to risk to make the thing worse by applying some "not official" patch. By the way, I've contacted Hp support some months ago without receiving any answer from them.

Revision history for this message
In , ernstp (ernstp-linux-kernel-bugs) wrote :

The point of running RtHDDump.exe under Windows is just to let it read out what all the HDA registers are programmed to by the Windows driver.

You can sen an example in "Output from RtHDDump.exe" in https://bugzilla.kernel.org/show_bug.cgi?id=207423

That will be needed to update the Linux kernel to apply the same configuration.

Oh, you have working headphones? I don't even have that, last time I tried...

Revision history for this message
In , erasmocaponio (erasmocaponio-linux-kernel-bugs) wrote :

(In reply to Ernst Sjöstrand from comment #7)
> The point of running RtHDDump.exe under Windows is just to let it read out
> what all the HDA registers are programmed to by the Windows driver.
>
> You can sen an example in "Output from RtHDDump.exe" in
> https://bugzilla.kernel.org/show_bug.cgi?id=207423
>
> That will be needed to update the Linux kernel to apply the same
> configuration.
>
> Oh, you have working headphones? I don't even have that, last time I tried...

Ok I will try later, and post the output here

Revision history for this message
In , erasmocaponio (erasmocaponio-linux-kernel-bugs) wrote :

(In reply to erasmocaponio from comment #8)
> (In reply to Ernst Sjöstrand from comment #7)
> > The point of running RtHDDump.exe under Windows is just to let it read out
> > what all the HDA registers are programmed to by the Windows driver.
> >
> > You can sen an example in "Output from RtHDDump.exe" in
> > https://bugzilla.kernel.org/show_bug.cgi?id=207423
> >
> > That will be needed to update the Linux kernel to apply the same
> > configuration.
> >
> > Oh, you have working headphones? I don't even have that, last time I
> tried...
>
> Ok I will try later, and post the output here

ah sorry I forgot to mention that I got audio from headphones after replacing pulseaudio with pipewire (I am almost sure... but it might have been the upgrade from kernel 6.3 to 6.4...)

Revision history for this message
In , erasmocaponio (erasmocaponio-linux-kernel-bugs) wrote :

Created attachment 304647
dump file

Revision history for this message
In , erasmocaponio (erasmocaponio-linux-kernel-bugs) wrote :

(In reply to Ernst Sjöstrand from comment #5)
> Hi! Is it possible for you to try Windows on the computer (dual-boot, etc..)
> ?
>
> Then you could run something called RtHDDump.exe like referenced here:
> https://bugzilla.kernel.org/show_bug.cgi?id=207423
>
> Where do you actually find RtHDDump.exe... ? I'm not sure yet!

I've found it here https://asus-linux.org/blog/sound-2021-01-11/

Revision history for this message
In , ernstp (ernstp-linux-kernel-bugs) wrote :

No sound from headphones here with 6.4.3 kernel + vanilla Ubuntu 22.04 with Pulseaudio.

Revision history for this message
In , ernstp (ernstp-linux-kernel-bugs) wrote :

The basic pin-config looks perfect...

Wid=12 Codec=90A60130 Drv=90A60130 Loc=00000000
Wid=13 Codec=40000000 Drv=40000000 Loc=00000000
Wid=14 Codec=411111F0 Drv=411111F0 Loc=00000000
Wid=15 Codec=411111F0 Drv=411111F0 Loc=00000000
Wid=16 Codec=411111F0 Drv=411111F0 Loc=00000000
Wid=17 Codec=90170110 Drv=90170110 Loc=00000000
Wid=18 Codec=411111F0 Drv=81D111F0 Loc=00000000
Wid=19 Codec=03A11040 Drv=03A11040 Loc=00000000
Wid=1A Codec=411111F0 Drv=411111F0 Loc=00000000
Wid=1B Codec=411111F0 Drv=411111F0 Loc=00000000
Wid=1D Codec=40600001 Drv=40600001 Loc=00000000
Wid=1E Codec=411111F0 Drv=411111F0 Loc=00000000
Wid=1F Codec=411111F0 Drv=411111F0 Loc=00000000
Wid=21 Codec=03211020 Drv=03211020 Loc=00000000

is the same as in alsa-info.

Revision history for this message
In , ernstp (ernstp-linux-kernel-bugs) wrote :

Ah no actually Wid=18 differs.

Revision history for this message
In , ernstp (ernstp-linux-kernel-bugs) wrote :

Created attachment 304697
Broken patch, doesn

Revision history for this message
In , ernstp (ernstp-linux-kernel-bugs) wrote :

Oops hit enter too soon.

Anyway, the patch doesn't fix anything at all. :-( Just put some things I found in the RtHDDump.txt in a patch for reference...

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.