diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-02-18 06:36:11 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-02-29 05:28:14 -0500 |
commit | b84f08d49188a18d965fab8463c9cb679785eb39 (patch) | |
tree | fa0332820078a4602c989c8ae801ffd78cccf9a5 /sound/pci/hda | |
parent | bfa274e2436fc7ef72ef51c878083647f1cfd429 (diff) |
[ALSA] hda-codec - Fix Master volume on HP dv8000
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>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/patch_conexant.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index f7cd3a804b11..7206b30cbf94 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c | |||
@@ -1230,6 +1230,11 @@ static struct hda_verb cxt5047_toshiba_init_verbs[] = { | |||
1230 | static struct hda_verb cxt5047_hp_init_verbs[] = { | 1230 | static struct hda_verb cxt5047_hp_init_verbs[] = { |
1231 | /* pin sensing on HP jack */ | 1231 | /* pin sensing on HP jack */ |
1232 | {0x13, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | CONEXANT_HP_EVENT}, | 1232 | {0x13, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | CONEXANT_HP_EVENT}, |
1233 | /* 0x13 is actually shared by both HP and speaker; | ||
1234 | * setting the connection to 0 (=0x19) makes the master volume control | ||
1235 | * working mysteriouslly... | ||
1236 | */ | ||
1237 | {0x13, AC_VERB_SET_CONNECT_SEL, 0x0}, | ||
1233 | /* Record selector: Ext Mic */ | 1238 | /* Record selector: Ext Mic */ |
1234 | {0x12, AC_VERB_SET_CONNECT_SEL,0x03}, | 1239 | {0x12, AC_VERB_SET_CONNECT_SEL,0x03}, |
1235 | {0x19, AC_VERB_SET_AMP_GAIN_MUTE, | 1240 | {0x19, AC_VERB_SET_AMP_GAIN_MUTE, |