Speakers don't work on Galaxy book with Linux.

helpme@sh.itjust.works to Linux@lemmy.ml – 18 points –

I have a Galaxy Book (2017) that I recently installed Kubuntu on and discovered that the speakers don't work, after some research it seems I'm not the only one who had this issue. Others have been able to fix the speakers using sof-firmware and verb lists, I've tried using lists for ALC298 but it still isn't working, I can't really use this tablet without speakers so any help would be appreciated.

4

Seems to be a common problem to have sound issues on Galaxy Books.
This thread has solution for Fedora and also Debian. The Debian solution should be usable by you:
https://forums.fedoraforum.org/showthread.php?331130-Fixing-ALC298-audio-(no-sound-from-speakers)

Here's an arch and manjaro solution to help you figure it out if the above doesn't solve your troubles. :
https://bbs.archlinux.org/viewtopic.php?id=269385
https://forum.manjaro.org/t/howto-set-up-the-audio-card-in-samsung-galaxy-book/37090

My issue seems to be that when those guides were written it assumed I had pulse audio and no pipewire.

The Fedora and Debian thread solution should definitely work with Pipewire, as both those distros comes with pipewire default and no changes are discussed.

Keep an eye on the issue here:
https://github.com/thesofproject/linux/issues/4055#issuecomment-1332331409

Just to make sure we're on the same page, I take it that the following isn't working for you:

  1. Download necessary-verbs.sh from https://github.com/joshuagrisham/galaxy-book2-pro-linux/blob/main/sound/necessary-verbs.sh

  2. move it to /usr/local/sbin/necessary-verbs.sh

  3. make it executable with
    chmod +x necessary-verbs.sh

  4. Create a systemd service in /etc/systemd/system that runs the script at startup:
    [Unit]
    Description=Run internal speaker fix script at startup
    After=getty.target

    [Service]
    User=root
    Group=root
    Type=oneshot
    ExecStart=/usr/local/sbin/necessary-verbs.sh
    RemainAfterExit=yes

    [Install]
    WantedBy=default.target