hda-codec - Fix Master volume on HP dv8000 OriginalLocation: Upstream commit b84f08d49188a18d965fab8463c9cb679785eb39 Bug: #200792
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
diff --git a/ubuntu/sound/alsa-kernel/pci/hda/patch_conexant.c b/ubuntu/sound/alsa-kernel/pci/hda/patch_conexant.c
index b7ed1bf..bb915ed 100644
--- a/ubuntu/sound/alsa-kernel/pci/hda/patch_conexant.c
+++ b/ubuntu/sound/alsa-kernel/pci/hda/patch_conexant.c
@@ -1231,6 +1231,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,
--
1.5.4.3