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
Jonas Wagner
Hi,
thx, it workÅ› for me,too!
Same Laptop (HP dv5 1110eg)
Comment by Markus — 6/10/09 11:35 PM | # - re
I did cd /etc*/modprob.d
then vim alsa*conf.
however,
I could not save the alsa*conf file. it says that READ-ONLY file. I have dv5 -1233se model.
Comment by samasat — 6/14/09 4:10 AM | # - re
You have to be root to edit that file. Just use sudo and it should work. ;)
Comment by Jonas Wagner — 6/15/09 10:00 AM | # - re
Thanks Jonas !
Just to explain more on 'being root' and 'using sudo' for any new command line user like me : start your text editor to edit the file by prefixing the command with sudo. i.e. if I am using vim >>
sudo vim alsa*.conf
thats it !! you will be able to save the changes.recommended to have a backup before editing by>
sudo cp alsa.conf my_bkup.conf
Comment by samasat — 6/16/09 1:00 AM | # - re
It's working now!!! yeahh. My laptop is a HP Pavillion dv4-1222nr. thanks bro.
Comment by Jorge Ricaldi — 6/17/09 3:07 AM | # - re
Thanks a lot, Jonas! :)
How did you find this out anyway?
Comment by DPJ93 — 6/28/09 2:09 AM | # - re
Hi DPJ93, I'm not exactly sure anymore probably from the alsa mailing lists or launchpad.
Comment by Jonas Wagner — 6/30/09 10:57 PM | # - re
Worked like a charm in my dv5-1250, thanks a lot!
Comment by Gabriel — 7/2/09 3:56 PM | # - re
Thanks a lot .... I was trying to solve this issue since three days.... this worked for me too, I am using HP Pavilion dv4..Thanks again
Comment by bikash — 7/9/09 10:01 AM | # - re
Thank you very much. I had already searched many sites and threads, waiting for a package fix. Your post solved my problem on a DV4 too. Congratulations
Comment by Paulo Zanini — 7/21/09 2:13 AM | # - re
Thanks Jonas, you are a genius. It worked for me. I have been searching all over the Internet and the only solution I found was to do some changes to the Ubuntu kernel source and re-compile which I have no idea of how to do it as I am very much new to this. Your solution is very simple and works great. I wonder why I didn't find yours earlier through Google. Today yours was the first in Google search. Thanks again.
Comment by Dilan — 8/14/09 8:45 AM | # - re
Tnx a lot! I have a DV5-1145EO and now my speakers are working :-)
Comment by Glen — 9/11/09 12:31 AM | # - re
Thanks allot for this it's working perfectly.
Comment by James — 9/19/09 12:11 PM | # - re
Hello Jonas. I am currently not running Ubuntu on my DV5 (1164er, AMD Turion X2 RM-72, SATA HD) yet, but Win XP. The basic functions work pretty cool (sic)... I'm considering a change for Linux - I would go for ANY other system than vista, once i find a workable solution for a music recording system using an ext. audio-interface. This is my serious question: Since my version is originally equipped with Firewire, eSATA and Expresscard (being the main reason for me jumping on it) - did you find a solution to make them work? i mean, do the i/o's other than usb work on a Linux'd DV5?? Or are you all only using the usb's only?... I'm especially interested since i found out that the usb ports on the HD notebooks are of very poor technical performance - if nothing helps i would even wait and try out Win 7, which i do not like that much (this is a little bit too "shiny" for MY taste)... if this will work on the DV's; since nobody knows if we'd get any support from the company's side, whose service seems to be especially poor!...
Otherwise i'm thinking of selling this then useless machine - i'm a musician, not a gamer.
Do you have any experience with the Firewire/ eSATA ports on yours or can help?
Many thanks, all the best
Comment by Arne — 10/2/09 2:51 AM | # - re
Hi Arne, I don't have any FireWire/eSATA so I can't help you with those. :)
Cheers,
Jonas
Comment by Jonas Wagner — 10/25/09 11:14 AM | # - re
Hi, Your solution works great for me. (See my comment above). However, I still cannot get the audio capture to work. I very much appreciate if you can give me some hints on making audio capture work too. You can email me please.
Comment by Dilan — 10/18/09 10:37 PM | # - re
Hey Dilan,
Audio recording does work for me. Just make sure that all the volume settings are right. I switched to 9.10 though so you could try that too.
Cheers,
Jonas
Comment by Jonas Wagner — 10/25/09 11:15 AM | # - re
hey thanks bro....It works for HP dv5-1104tu
Thanks man..
Comment by bibek — 10/25/09 8:34 AM | # - re
thank you so much i have been looking for 2 weeks about how to fix my sound problem and this worked
Comment by jimmy — 10/27/09 10:50 PM | # - re
It works great! Thank you almost gave up on linux!
Comment by Elias — 10/28/09 11:03 PM | # - re
so many hoops to go thru' just to get something as basic as Audio ?? I gave up on this Linux thing It is not yet ready for the desktop. May be Ubuntu 12.0 ( Audio Nrivana ) version.
Comment by KK — 10/30/09 5:12 PM | # - re
Yeah, I absolutely agree with you, adding 4 lines to a file is definitely way to much work to get an entire operating and all day to day applications working...
Comment by Jonas Wagner — 11/6/09 11:14 PM | # - re
U r so genius, jenas; thank U so much!!!
Comment by amanuel — 12/4/09 1:04 AM | # - re
Worked on dv6 1111au running Linux Mint 8 amd64 version. Thanks a lot.
Comment by razeeth — 12/25/09 4:45 PM | # - re
Thank you very much. I have a dv-5 1140. Everything works fine.
Comment by zaza — 9/20/10 8:41 AM | # - re
Hey, thanks a lot!! I have a dv5 1120el and it helped.
Comment by Slavic — 12/23/10 10:58 PM | # - re