Skip to content

Commit

Permalink
[ALSA] hda-codec - Fix for Fujitsu Lifebook C1410
Browse files Browse the repository at this point in the history
Fixed ALC262 fujitsu model to support Fujitsu Lifebook C1410 properly.
It requires EAPD and has separate int/ext mic inputs (which was missing
in the current driver).

Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
tiwai authored and perexg committed Oct 16, 2007
1 parent c1099fc commit 39d3ed3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -7807,9 +7807,10 @@ static struct hda_verb alc262_fujitsu_unsol_verbs[] = {
};

static struct hda_input_mux alc262_fujitsu_capture_source = {
.num_items = 2,
.num_items = 3,
.items = {
{ "Mic", 0x0 },
{ "Int Mic", 0x1 },
{ "CD", 0x4 },
},
};
Expand Down Expand Up @@ -7915,6 +7916,9 @@ static struct snd_kcontrol_new alc262_fujitsu_mixer[] = {
HDA_CODEC_VOLUME("Mic Boost", 0x18, 0, HDA_INPUT),
HDA_CODEC_VOLUME("Mic Playback Volume", 0x0b, 0x0, HDA_INPUT),
HDA_CODEC_MUTE("Mic Playback Switch", 0x0b, 0x0, HDA_INPUT),
HDA_CODEC_VOLUME("Int Mic Boost", 0x19, 0, HDA_INPUT),
HDA_CODEC_VOLUME("Int Mic Playback Volume", 0x0b, 0x1, HDA_INPUT),
HDA_CODEC_MUTE("Int Mic Playback Switch", 0x0b, 0x1, HDA_INPUT),
{ } /* end */
};

Expand Down Expand Up @@ -8411,7 +8415,8 @@ static struct alc_config_preset alc262_presets[] = {
},
[ALC262_FUJITSU] = {
.mixers = { alc262_fujitsu_mixer },
.init_verbs = { alc262_init_verbs, alc262_fujitsu_unsol_verbs },
.init_verbs = { alc262_init_verbs, alc262_EAPD_verbs,
alc262_fujitsu_unsol_verbs },
.num_dacs = ARRAY_SIZE(alc262_dac_nids),
.dac_nids = alc262_dac_nids,
.hp_nid = 0x03,
Expand Down

0 comments on commit 39d3ed3

Please sign in to comment.