How To Disable Audio In CentOS7?

Home » CentOS » How To Disable Audio In CentOS7?
CentOS 5 Comments

How can I completely disable audio drivers and services in my CentOS7
system?

This system is a server that will never run any audio applications. The problem is, I can’t disable the audio device in my BIOS, so the system finds it in the PCI device list and configures it on each boot.

Yes, I know I can blacklist specific device driver modules, but I’ve got a minimum of 11 audio-related kernel modules loaded on a default C7
configuration, and untold dbus baggage to go with them

So.. what can I do to have CentOS7 completely ignore the audio hardware it finds?

Thanks.

5 thoughts on - How To Disable Audio In CentOS7?

  • If I’m not mistaken, audio hardware is one source of entropy for the kernel.

    Is it causing a problem?

  • How can it contribute to entropy without a microphone attached?

    Only to the extent that the resources used to support the audio subsystem could be allocated to services that are actually used.

  • On the nearest server to me right now, the snd* drivers are using about
    500k of RAM and 0% of the CPU. That’s probably about 2 cents worth of RAM, given current costs.

    How much time are you willing to spend solving a 2

  • And,… Linux kernel isgood at moving things that use up RAM into swap space instead if that thing is never used. so while top may show it using RAM, in fact it is swapped to disk so it doesn’t use RAM.