Ubuntu – How to ensure the `snd-hda-intel` module is loaded on startup

hda-intelmodprobesoundsudo

I need to type sudo modprobe snd-hda-intel in order to get my sound card to work.

What config file do I need to edit and what edit should I be looking to make so I can get the sound driver loading at start up so I don't have to type this every time?

Best Answer

Add snd-hda-intel to the end of the file /etc/modules. This will make the snd-hda-intel module load up automatically at boot time.

You can use: sudo sh -c 'echo "snd-hda-intel" >> /etc/modules' to do this.