I have a USB soundbar and it annoyingly seems to go to sleep as soon as no audio is playing. For example, by running the following:
while :; do espeak-ng hi; done
I constantly hear “pop” sounds as speaker activates/deactivates, and roughly only every second hi
is heard or cut off. I tried disabling power saving by the following ways:
echo 'options snd_hda_intel power_save=0 power_save_controller=N' | sudo tee /etc/modprobe.d/audio-no-power-save.conf
echo 'options usbcore autosuspend=-1 autosuspend_delay_ms=-1 |sudo tee /etc/modprobe.d/usb-no-power-save.conf
sudo grubby --update-kernel=ALL --args='usbcore.autosuspend=-1 autosuspend_delay_ms=-1'
sudo reboot
But to no avail. My soundbar documents that it has a power saving mode, but it claims it only kicks in after 24h of no usage, and I made sure to disable it anyway.