linux icon indicating copy to clipboard operation
linux copied to clipboard

ALC298 internal speaker not working on Meteor Lake on Ubuntu 24.04.2 LTS

Open adityanand09 opened this issue 6 months ago • 1 comments

I have a system with Intel Meteor Lake-P and Realtek ALC298 codec. Sound works via HDMI and headphones, but the internal speaker (pin 0x17) is detected but never routed. Tried both SOF and legacy drivers (snd_hda_intel), no audio from speaker.

alsa-info --upload : http://alsa-project.org/db/?f=5eba1d44dd14e62bb928f9354c4e4254473c91bf Manufacturer: SAMSUNG ELECTRONICS CO., LTD. Product Name: 960QGK Version: P13RHB

dmesg.log

adityanand09 avatar Jul 05 '25 11:07 adityanand09

@paulstelian97, I'm afraid there is not much we can do to help with vendor specific HDA codec/amp configuration, Samsung Galaxy Books tend to have issues under Linux: https://github.com/thesofproject/linux/issues?q=is%3Aissue%20state%3Aopen%20galaxy

You can verify that this is a codec/amp issue by following https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html#disable-sof-on-pci-hdaudio-devices-to-test-audio-playback , a silent speaker in legacy HDA mode would confirm this.

The kernel have quirks for book1/2/3, some might make the speaker working on book4

SND_PCI_QUIRK(0x144d, 0xc890, "Samsung Galaxy Book4 Pro (960XGK)", "QUIRK name"),

ALC298_FIXUP_SAMSUNG_AMP_V2_2_AMPS, ALC298_FIXUP_SAMSUNG_AMP_V2_4_AMPS, but likely these newer devices will need new quirk.

Background: The HDA verbs needed for the device should be stored in BIOS by the vendor. If they are missing then the OS cannot know what commands needs to be used to configure the audio codec/amp. The vendors tends to ignore Linux and they have product specific 'hacks' in driver to make Windows working. We don't have access to these hacks to help users with Linux.

ujfalusi avatar Jul 07 '25 06:07 ujfalusi