Thursday, August 11, 2011

Sound for Ubuntu 10.04 on the Compaq Presario CQ56

After installing Ubuntu 10.04, and then every time the kernel updated, I had no sound. The operating system seems to detect the card, and I can set the volume, but no sound is played through the speaker.

I hope the next point release gets a fix for this, but in the meantime, this page has the solution for next time I need to update the kernel:

InstallingLinuxAlsaDriverModules.

The technique I use is to execute the following three lines at the command line, and then reboot:

sudo add-apt-repository ppa:ubuntu-audio-dev/ppa
sudo apt-get update
sudo apt-get install linux-alsa-driver-modules-$(uname -r)

Don't forget to reboot!


Note that you may hit the following error, which means that the package has not been created for the newer version of the kernel. The solution is usually to wait a few weeks for the package to be created and try again.

Couldn't find package linux-alsa-driver-modules-2.6.32-37-generic

1 comment: