From Silence to Sound: Fixing Audio on Samsung Galaxy Book working Ubuntu Linux

From Silence to Sound: Fixing Audio on Samsung Galaxy Book working Ubuntu Linux

Over 4 days. That’s how lengthy I spent attempting to get the inner audio system on my Samsung Galaxy Book2 (NT950XDA) to supply a single sound after switching from Windows to Ubuntu.

And I wasn’t alone.

The Problem

Right out of the field, Ubuntu (even the newest 24.04) doesn’t play nicely with the Realtek ALC298 audio codec on many Samsung Galaxy Book units. Headphones would possibly work, however inner audio system stay silent as a result of uninitialized sensible speaker amps.

I discovered myself crawling by way of obscure discussion board posts, GitHub points, and deep dmesg logs. I got here throughout damaged workarounds, kernel parameters, even dead-end firmware downloads. Nothing caught—till I found a promising thread from the Manjaro neighborhood and a script from a developer named @joshuagrisham.

The Breakthrough

The reply turned out to be hda-verb, a device for sending handbook codec instructions to initialize the amp. After copying dozens of traces of hda-verb instructions right into a script and working it manually, audio lastly burst by way of my audio system.

It labored—however solely till the following reboot.

The Automation

That’s after I determined to construct an actual resolution:

  • Auto-run the repair at boot and after resume
  • Avoid breaking any current audio setups
  • Use systemd companies for reliability
  • Keep it easy, secure, and open supply

The Tool: galaxybook-linux-setup

Now out there on GitHub: https://github.com/topzyray/galaxybook-linux-setup

Features:

  • 🛠 Initializes sensible speaker amps through hda-verb
  • 🌀 Runs repair on boot + resume utilizing systemd
  • 🎚 Disables PulseAudio’s suspend-on-idle to forestall speaker freezing
  • 📁 Backs up current config information to keep away from harm
  • ⚙️ Detects your present person and system safely
  • 🤝 MIT-licensed, contributions welcome

Installation is as straightforward as:

git clone https://github.com/topzyray/galaxybook-linux-setup.git
cd galaxybook-linux-setup
chmod +x set up.sh
./set up.sh

Reboot when prompted, and also you’re completed. No extra silent boots.

Who This Helps

  • Galaxy Book2 NT950XDA customers
  • Anyone with Realtek ALC298 codec and no speaker output
  • Linux newcomers switching from Windows
  • Ubuntu/Mint/Pop_OS/Manjaro customers on 5.8+ kernels

Credit Where Due

Original hda-verb script from @joshuagrisham – GitHub
Community put up from person @drlucas – Manjaro Forum

The Bigger Picture

This mission jogged my memory why open supply issues. Without the data of these earlier than me, I’d nonetheless be rebooting into silence.

Now, I’m extending this to incorporate fingerprint readers, display brightness fixes, and extra for Galaxy Book customers.

Have the same situation? Found this handy? Contribute, fork, share, or open a problem!

👉 Repo: https://github.com/topzyray/galaxybook-linux-setup

If you could have additional query, suggestion or observations please go away them within the remark part. Thank you for studying.

HI-FI News

through DEV Community https://dev.to

August 3, 2025 at 01:14AM