[HowTo] set up the audio card in Samsung Galaxy Book

That’s what I thought…

Do you know if there is a solution for this model ?

I have been looking for a solution for three days but didn’t found anythig

Update !

I found an issue on the sof project about galaxy book pro 2 360.
https://github.com/thesofproject/linux/issues/4055#issuecomment-1332331409

Just open the pastebin link, copy paste it in a .sh file (don’t forget to add the shebang), chmod +x it and execute it with sudo.

Fixed it for me

Update !

For Galaxy Book Pro 3, found it possible through a script that is around the links. Since I couldn’t backtrack where exactly I got it from, I decided to repost it in my Github. Skipped step 4. Happy to help with any details I am omitting (first comment in the forum).

Sound works ok. This is for you to have faith! :slight_smile:

1 Like

Nice. Thank you! :slight_smile:

Patch for Samsung Galaxy Book2 Pro 360 was signed-off 13 Feb 2023
[PATCH 6.1 006/114] ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro 360 - Greg Kroah-Hartman

Patch for Samsung Galaxy Book2 Pro was signed-off 7 Mar 2023
LKML: "Hamidreza H. Fard": [PATCH] ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro

patch_realtek.c - sound/pci/hda/patch_realtek.c - Linux source code (v6.8.9) - Bootlin

SND_PCI_QUIRK(0x144d, 0xca03, Samsung Galaxy Book2 Pro 360 (NP930QED), ALC298_FIXUP_SAMSUNG_AMP),
SND_PCI_QUIRK(0x144d, 0xc868, Samsung Galaxy Book2 Pro (NP930XED), ALC298_FIXUP_SAMSUNG_AMP),

Thanks for this.
Should it work for Galaxy Book2 Pro 15’', which is NP950XED, not NP930XED ?
And mostly, how to use this patch ?
Thank you

ALSA Realtek patches shown in sound/pci/hda/patch_realtek.c are automatically applied if the audio codec has matching Vendor:Product ID codes
Vendor ID for Samsung is 144d
If audio codec on 950XED had the same ID as 930XED (144d:c868) the patch would be automatically applied

But online scans for Samsung 950XED show a different ID (144d:c870)
https://linux-hardware.org/?id=pci:8086-51c8-144d-c870

ALC298_FIXUP_SAMSUNG_AMP patch can also be invoked using modprobe model name:

patch_realtek.c - sound/pci/hda/patch_realtek.c - Linux source code (v6.8.9) - Bootlin
{.id = ALC298_FIXUP_SAMSUNG_AMP, .name = “alc298-samsung-amp”},

sudo tee /etc/modprobe.d/alsa-samsung-amp.conf <<< 'options snd_hda_intel model=alc298-samsung-amp'

If that works, ALSA developers at kernel.bugzilla.org can be requested to create an automatic patch:

SND_PCI_QUIRK(0x144d, 0xc870, Samsung Galaxy Book2 Pro (NP950XED), ALC298_FIXUP_SAMSUNG_AMP),

Thank you for this clear answer.
Unfortunately, it doesn’t work …
Still no sound