Herton and Takashi,
I can confirm that compiling and installing the latest snapshot of alsa-drivers, adding "model=hp-dv5" to /etc/modprobe.d/alsa-base, and running hda-verb with the parameters Takashi indicates DOES result in sound from the onboard, internal speakers on my Hewlitt Packard dv4 1225 Pavilion Entertainment PC.
The mute on headphone use does not work, but that's okay by me for now.
I think you're on the right track in diagnosing the problem and it's solution.
Thank you very, very much for helping us. I know it'll likely be a while before the solution actually makes it into distributions, but at the least I can use my sound apps without having to plug my laptop into something to hear what's playing. Kinda defeats the notion of having a laptop if one has to keep it plugged in.
Do either of you mind if I collate notes from the posts exchanged on alsa-devel and post them on the Ubuntu forums? There are a lot of other HP users who have posted about the same problem. It's likely they have no idea the resource available to them in the alsa-devel archives.
BEST regards,
Guy S.
Message: 4 Date: Fri, 13 Feb 2009 14:16:21 -0500 From: Tim Barnette tim.barnette@gmail.com Subject: Re: [alsa-devel] [Fwd: HP DV4 1155 SE - No Sound through speakers...] To: Takashi Iwai tiwai@suse.de Cc: alsa-devel@alsa-project.org, Jean-Pierre Andr? jean-pierre.andre@wanadoo.fr Message-ID: b71cdde20902131116l4c7da119s6c51a67e37371ebe@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
Takashi, I was able to build hda-verb and when I executed the command below, it responded with: nid=0xd, verb=0x707, param=0x40 value=0x0
On Mon, Feb 2, 2009 at 10:25 AM, Takashi Iwai tiwai@suse.de wrote:
At Mon, 2 Feb 2009 10:17:03 -0500, Tim Barnette wrote:
Thanks, Takashi. I made this change and rebooted.
I noticed right away the mute light is no longer on... but still no sound through speakers, only headphones..
/sys/module/snd_hda_intel/parameters/model contains hp-dv5,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
attached is the alsa-info.txt you requested..
Did you try the latest alsa-driver snapshot?
If it still doesn't work, I guess this is a BIOS problem. The other HP dv laptops show the widget 0x0d as the speaker while yours is unused.
Try to run: hda-verb /dev/snd/hwC0D0 0x0d SET_PIN_WID 0x40
Takashi
Message: 5 Date: Fri, 13 Feb 2009 14:22:00 -0500 From: Tim Barnette tim.barnette@gmail.com Subject: Re: [alsa-devel] [Fwd: HP DV4 1155 SE - No Sound through speakers...] To: Takashi Iwai tiwai@suse.de Cc: alsa-devel@alsa-project.org, Jean-Pierre Andr? jean-pierre.andre@wanadoo.fr Message-ID: b71cdde20902131122q16eb7e44u92daf2a4c9500bd0@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
..And it worked! I now have sound! Can you tell me what I actually did here?