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
Didn't work in Kubuntu, I guess I'll try Fedora
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:
Download necessary-verbs.sh from https://github.com/joshuagrisham/galaxy-book2-pro-linux/blob/main/sound/necessary-verbs.sh
move it to
/usr/local/sbin/necessary-verbs.sh
make it executable with
chmod +x necessary-verbs.sh
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