]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] hda-codec - Fix Master volume on HP dv8000
authorTakashi Iwai <tiwai@suse.de>
Mon, 18 Feb 2008 11:36:11 +0000 (12:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Feb 2008 10:28:14 +0000 (11:28 +0100)
HP dv8000 laptop has a problem with Master volume.  It's due to the
connection of the widget 0x13.  When it's connected from the analog
amp mixer (0x19), it works as expected mysteriously (ALSA bug#3775):
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3775

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_conexant.c

index f7cd3a804b11b5faa9283646cf0817efce8069e1..7206b30cbf9454c30e19f0c2c49e9dbe9684df2f 100644 (file)
@@ -1230,6 +1230,11 @@ static struct hda_verb cxt5047_toshiba_init_verbs[] = {
 static struct hda_verb cxt5047_hp_init_verbs[] = {
        /* pin sensing on HP jack */
        {0x13, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | CONEXANT_HP_EVENT},
+       /* 0x13 is actually shared by both HP and speaker;
+        * setting the connection to 0 (=0x19) makes the master volume control
+        * working mysteriouslly...
+        */
+       {0x13, AC_VERB_SET_CONNECT_SEL, 0x0},
        /* Record selector: Ext Mic */
        {0x12, AC_VERB_SET_CONNECT_SEL,0x03},
        {0x19, AC_VERB_SET_AMP_GAIN_MUTE,