29a.ch by Jonas Wagner

Getting audio to work on a HP Pavilion dv5 / Ubuntu 9.04

I bought myself a new HP Pavilion dv5 notebook because my old Lenovo broke. It's a bit too shiny for my taste but anyway. Installing the new Ubuntu was a breeze. After installing I noticed that audio playback using the speakers didn't work. Too bad. So here's the solution that worked for me.

Open /etc/modprobe.d/alsa-base.conf and add the following lines at the end of the file:

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=dell-m4-1
options snd-hda-intel enable_msi=1

Reboot and everything should work again (or just reload the snd-hda-intel with the new parameters).

I hope that helps,
Jonas