You are not logged in.

#26 2020-06-13 08:01:59

Registered: 2019-06-29
Posts: 26

Re: Debugging Samsung Notebook 9 Pro (HDA Intel / Realtek ALC298) driver

Good news! Our kernel patch [1] made it into the 5.7 kernel release! It was also applied to the 5.4 LTS kernel. I booted both linux (5.7.2) and linux-lts (5.4.46) and the headphone jack audio is loud and clear. Great job roinincoder! smile

(I'm not going to mark [SOLVED] just yet because the speakers still don't work - my original post mentioned both the headphone and speaker problems.)

To other Samsung laptop owners:

Does it work for you? It should if you have a Samsung Notebook 9 Pro NP930SBE-K01US or NP930MBE-K04US (ronincoder's is the former, mine is the latter). You can check your laptop model by running and looking at "Board Name". The Realtek ALC298 codec in the NP930SBE-K01US and NP930MBE-K04US identifies itself with "Subsystem Id" 0x144dc169 and 0x144dc176, respectively. If snd_hda_intel sees either of these ids it implements the fix.

What about the speakers? I reported the no-sound-on-internal-speakers issue on the kernel bugzilla [2]. Linux sound maintainer Jaroslav Kysela speculates that there may be some amplifiers connected to the HDA codec which are not initialized by the BIOS, and are thus not active in Linux. He suggests dumping the codec communication for the Windows driver using QEMU. We could then parse the dump and replay the communication in Linux using Early Patching [3] or writing another kernel patch. It's been a month since Jaroslav made this suggestion and I've made some progress but I still don't have a good dump. Please join the discussion on the kernel bugzilla if you'd like to help me. ^^

[1] For reference, our patch made it into Linus' tree as commit 14425f1f521f (ALSA: hda/realtek: Add quirk for Samsung Notebook).
[3] … y-patching


Board footer

Powered by FluxBB