aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorMichael Gruber <lists.mg@googlemail.com>2008-03-10 06:30:59 -0400
committerTakashi Iwai <tiwai@suse.de>2008-04-24 06:00:23 -0400
commitee7a9c7c2eb5cd09c15824323eac4cd95e2d18a8 (patch)
tree2aa38422b5c9a95d4aa40da1e7e8b72b10aefb37 /sound/pci
parent7747ecceb523d7b00c8dfe568154d0b4e70e0800 (diff)
[ALSA] hda-intel - Fix microphone capture with ALC880 F1734 model
The default capture source should be the mic which is 0x01 on this model. In addition to that the change to VREF50 allows for higher capture volume. Signed-off-by: Michael Gruber <lists.mg@googlemail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_realtek.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 3c15bdf4d2cd..bfb336de1dcb 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1927,6 +1927,7 @@ static void alc880_uniwill_p53_unsol_event(struct hda_codec *codec,
1927 * HP = 0x14, speaker-out = 0x15, mic = 0x18 1927 * HP = 0x14, speaker-out = 0x15, mic = 0x18
1928 */ 1928 */
1929static struct hda_verb alc880_pin_f1734_init_verbs[] = { 1929static struct hda_verb alc880_pin_f1734_init_verbs[] = {
1930 {0x07, AC_VERB_SET_CONNECT_SEL, 0x01},
1930 {0x10, AC_VERB_SET_CONNECT_SEL, 0x02}, 1931 {0x10, AC_VERB_SET_CONNECT_SEL, 0x02},
1931 {0x11, AC_VERB_SET_CONNECT_SEL, 0x00}, 1932 {0x11, AC_VERB_SET_CONNECT_SEL, 0x00},
1932 {0x12, AC_VERB_SET_CONNECT_SEL, 0x01}, 1933 {0x12, AC_VERB_SET_CONNECT_SEL, 0x01},
@@ -1939,7 +1940,7 @@ static struct hda_verb alc880_pin_f1734_init_verbs[] = {
1939 1940
1940 {0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80}, 1941 {0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80},
1941 {0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE}, 1942 {0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE},
1942 {0x19, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80}, 1943 {0x19, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF50},
1943 {0x19, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE}, 1944 {0x19, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE},
1944 {0x1a, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT}, 1945 {0x1a, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
1945 {0x1a, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE}, 1946 {0x1a, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},