software minimalism & audio interface minimalism: to make management of audio interfaces easier, disable those the user does not use

  • a lot of monitors are hdmi connected that can also transport audio signal
  • but a lot of the build-in speakers are either of bad sound or not used at all

so it is possible to disable or enable those audio devices like this:

hostnamectl; # tested on
Operating System: Debian GNU/Linux 12 (bookworm) 
Kernel: Linux 6.1.0-17-amd64
Architecture: x86-64

su - root
lsmod |grep snd_hda_codec_hdmi; # test if module is loaded (it most likely is)
echo "blacklist snd_hda_codec_hdmi" >> /etc/modprobe.d/blacklist.conf
# and then reboot the system
/scripts/; # will call /scripts/ to stop all running services in the right order :D

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!