Bug 216139 - No sound from built-in speakers HP Pavilion All-in-One Desktop 27-ca1xxx (ALC274)
Summary: No sound from built-in speakers HP Pavilion All-in-One Desktop 27-ca1xxx (ALC...
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-15 20:06 UTC by Ernst Sjöstrand
Modified: 2023-09-22 08:49 UTC (History)
3 users (show)

See Also:
Kernel Version: 5.19-rc6
Subsystem:
Regression: No
Bisected commit-id:


Attachments
AlsaInfo.txt (79.71 KB, text/plain)
2022-11-06 01:23 UTC, Ernst Sjöstrand
Details
dump file (1.23 MB, text/plain)
2023-07-17 16:48 UTC, erasmocaponio
Details
Broken patch, doesn (6.12 KB, patch)
2023-07-25 19:32 UTC, Ernst Sjöstrand
Details | Diff

Description Ernst Sjöstrand 2022-06-15 20:06:45 UTC
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
Comment 1 Ernst Sjöstrand 2022-07-14 00:21:42 UTC
Alsa-info: https://alsa-project.org/db/?f=ed6190cfc9d9eb1c758c6c3106dd236b150f5b31
Comment 2 Ernst Sjöstrand 2022-11-06 01:23:11 UTC
Created attachment 303138 [details]
AlsaInfo.txt

Perhaps this has even more contents.
Comment 3 Ernst Sjöstrand 2023-07-02 09:17:51 UTC
options snd-hda-intel model=alc295-hp-x360

didn't help either.
Comment 4 erasmocaponio 2023-07-15 19:05:24 UTC
Same problem on Manjaro with kernel 6.4.2-3.
Comment 5 Ernst Sjöstrand 2023-07-17 10:26:19 UTC
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!
Comment 6 erasmocaponio 2023-07-17 10:43:20 UTC
(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.
Comment 7 Ernst Sjöstrand 2023-07-17 10:50:22 UTC
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...
Comment 8 erasmocaponio 2023-07-17 10:56:38 UTC
(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
Comment 9 erasmocaponio 2023-07-17 11:00:45 UTC
(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...)
Comment 10 erasmocaponio 2023-07-17 16:48:58 UTC
Created attachment 304647 [details]
dump file
Comment 11 erasmocaponio 2023-07-17 16:50:31 UTC
(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/
Comment 12 Ernst Sjöstrand 2023-07-18 17:46:05 UTC
No sound from headphones here with 6.4.3 kernel + vanilla Ubuntu 22.04 with Pulseaudio.
Comment 13 Ernst Sjöstrand 2023-07-25 18:34:04 UTC
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.
Comment 14 Ernst Sjöstrand 2023-07-25 19:24:03 UTC
Ah no actually Wid=18 differs.
Comment 15 Ernst Sjöstrand 2023-07-25 19:32:29 UTC
Created attachment 304697 [details]
Broken patch, doesn
Comment 16 Ernst Sjöstrand 2023-07-25 19:34:11 UTC
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...

Note You need to log in before you can comment on or make changes to this bug.