(In reply to wurs10 from comment #53)
Confirming wurs10's COEF-based fix (comment of 2026-07-17) on a different 
machine in the same HP Pavilion All-in-One family. I used Opus 5 to help me 
with that (it is really incredible to have audio on this pc with linux after 
three years thanks to AI)

HARDWARE
- HP Pavilion All-in-One Desktop 32-b0xxx
- CPU: Intel Core i7-12700T (Alder Lake-S)
- Codec: Realtek ALC274, Vendor Id 0x10ec0274
- Codec subsystem Id: 0x103c892c
- PCI subsystem Id: 103c:XXXX   <-- FILL IN from `lspci -nn -d ::0403`
- Card: HDA Intel PCH, device 0: ALC274 Analog. No HDMI/DP playback device is 
exposed at all.
- OS: Manjaro Linux, kernel 7.2.0-1-MANJARO, KDE Plasma 6.7.4 on Wayland, 
PipeWire
- Driver: snd_hda_intel

SYMPTOM (before fix)
Identical to the existing reports. aplay -l lists the ALC274 analog device; 
speaker-test runs to completion with no error and no audible output; ALSA mixer 
shows Master and Speaker unmuted at 97-100%; Auto-Mute Mode is Disabled. No 
sound from the internal speakers under any configuration.

TRIED WITHOUT SUCCESS FIRST
- options snd-hda-intel model=alc274-dell-aio
- options snd-hda-intel model=alc285-hp-amp-init
- options snd-hda-intel model=auto

WHAT WORKED
The four vendor COEF writes on NID 0x20 from wurs10's report, transferred 
UNCHANGED to this board:

  hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x26
  hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x5757
  hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x10
  hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0xc580
  hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x0b
  hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x7778
  hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x6b
  hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x0060

followed by the pin/amp enablement on 0x17 and 0x21 and the mixer unmute
steps exactly as given in that report. Sound appeared immediately,
during active playback, at the moment the sequence completed.

NOTES SPECIFIC TO THIS MACHINE
- The four coefficient values required no adjustment for this subsystem ID.
- The fifth coefficient (index 0x62 -> 0xa007), flagged as uncertain in 
wurs10's report, was NOT applied here and is not required on this board. This 
is consistent with the finding on 0x103c89e9.
- Manjaro ships power_save=10 by default for snd-hda-intel. Set to 0 via 
/etc/modprobe.d/99-alc274-hp.conf, as recommended in the original report.
- Made persistent with a systemd oneshot service (Type=oneshot, 
After=sound.target) running the verb sequence plus mixer unmute. Confirmed 
surviving a full cold boot with no manual intervention.
- Headphone jack: [not tested]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1982483

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1982483/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to