Audio worked on my Acer 715 (Bard) with Linux Manjaro using WeirdTreeThing-chromebook-linux-audio, but it stops working after entering and exiting suspend mode

Speakers, headphones, and HDMI all work normally, but after suspend they stop functioning. In the description, I’ll leave the scripts from when the audio works normally and the script from after resuming from suspend when the audio stops working.

I also tried switching distributions to see if that was the problem, but the issue remained the same on Linux Mint Debian Edition and Ubuntu 24.10.