8865c1f6b6
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@645 6952d904-891a-0410-993b-d76249ca496b
417 lines
14 KiB
Diff
417 lines
14 KiB
Diff
diff -uNr alsa-driver-1.0.18a.orig/alsa-kernel/pci/hda/patch_realtek.c alsa-driver-1.0.18a/alsa-kernel/pci/hda/patch_realtek.c
|
|
--- alsa-driver-1.0.18a.orig/alsa-kernel/pci/hda/patch_realtek.c 2008-11-12 11:02:25.000000000 +0100
|
|
+++ alsa-driver-1.0.18a/alsa-kernel/pci/hda/patch_realtek.c 2008-12-04 21:43:59.000000000 +0100
|
|
@@ -216,6 +216,7 @@
|
|
ALC883_TARGA_2ch_DIG,
|
|
ALC883_ACER,
|
|
ALC883_ACER_ASPIRE,
|
|
+ ALC888_ACER_ASPIRE_4930G,
|
|
ALC883_MEDION,
|
|
ALC883_MEDION_MD2,
|
|
ALC883_LAPTOP_EAPD,
|
|
@@ -229,9 +230,11 @@
|
|
ALC883_MITAC,
|
|
ALC883_CLEVO_M720,
|
|
ALC883_FUJITSU_PI2515,
|
|
+ ALC888_FUJITSU_XA3530,
|
|
ALC883_3ST_6ch_INTEL,
|
|
ALC888_ASUS_M90V,
|
|
ALC888_ASUS_EEE1601,
|
|
+ ALC1200_ASUS_P5Q,
|
|
ALC883_AUTO,
|
|
ALC883_MODEL_LAST,
|
|
};
|
|
@@ -381,11 +384,15 @@
|
|
{
|
|
struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
|
|
struct alc_spec *spec = codec->spec;
|
|
- const struct hda_input_mux *imux = spec->input_mux;
|
|
+ const struct hda_input_mux *imux;
|
|
unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
|
|
+ unsigned int mux_idx;
|
|
hda_nid_t nid = spec->capsrc_nids ?
|
|
spec->capsrc_nids[adc_idx] : spec->adc_nids[adc_idx];
|
|
|
|
+ mux_idx = adc_idx >= spec->num_mux_defs ? 0 : adc_idx;
|
|
+ imux = &spec->input_mux[mux_idx];
|
|
+
|
|
if (spec->is_mix_capture) {
|
|
/* Matrix-mixer style (e.g. ALC882) */
|
|
unsigned int *cur_val = &spec->cur_mux[adc_idx];
|
|
@@ -406,10 +413,7 @@
|
|
return 1;
|
|
} else {
|
|
/* MUX style (e.g. ALC880) */
|
|
- unsigned int mux_idx;
|
|
- mux_idx = adc_idx >= spec->num_mux_defs ? 0 : adc_idx;
|
|
- return snd_hda_input_mux_put(codec, &spec->input_mux[mux_idx],
|
|
- ucontrol, nid,
|
|
+ return snd_hda_input_mux_put(codec, imux, ucontrol, nid,
|
|
&spec->cur_mux[adc_idx]);
|
|
}
|
|
}
|
|
@@ -1153,6 +1157,226 @@
|
|
}
|
|
|
|
/*
|
|
+ * ALC888
|
|
+ */
|
|
+
|
|
+/*
|
|
+ * 2ch mode
|
|
+ */
|
|
+static struct hda_verb alc888_4ST_ch2_intel_init[] = {
|
|
+/* Mic-in jack as mic in */
|
|
+ { 0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80 },
|
|
+ { 0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE },
|
|
+/* Line-in jack as Line in */
|
|
+ { 0x1a, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN },
|
|
+ { 0x1a, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE },
|
|
+/* Line-Out as Front */
|
|
+ { 0x17, AC_VERB_SET_CONNECT_SEL, 0x00},
|
|
+ { } /* end */
|
|
+};
|
|
+
|
|
+/*
|
|
+ * 4ch mode
|
|
+ */
|
|
+static struct hda_verb alc888_4ST_ch4_intel_init[] = {
|
|
+/* Mic-in jack as mic in */
|
|
+ { 0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80 },
|
|
+ { 0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE },
|
|
+/* Line-in jack as Surround */
|
|
+ { 0x1a, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT },
|
|
+ { 0x1a, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE },
|
|
+/* Line-Out as Front */
|
|
+ { 0x17, AC_VERB_SET_CONNECT_SEL, 0x00},
|
|
+ { } /* end */
|
|
+};
|
|
+
|
|
+/*
|
|
+ * 6ch mode
|
|
+ */
|
|
+static struct hda_verb alc888_4ST_ch6_intel_init[] = {
|
|
+/* Mic-in jack as CLFE */
|
|
+ { 0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT },
|
|
+ { 0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE },
|
|
+/* Line-in jack as Surround */
|
|
+ { 0x1a, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT },
|
|
+ { 0x1a, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE },
|
|
+/* Line-Out as CLFE (workaround because Mic-in is not loud enough) */
|
|
+ { 0x17, AC_VERB_SET_CONNECT_SEL, 0x03},
|
|
+ { } /* end */
|
|
+};
|
|
+
|
|
+/*
|
|
+ * 8ch mode
|
|
+ */
|
|
+static struct hda_verb alc888_4ST_ch8_intel_init[] = {
|
|
+/* Mic-in jack as CLFE */
|
|
+ { 0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT },
|
|
+ { 0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE },
|
|
+/* Line-in jack as Surround */
|
|
+ { 0x1a, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT },
|
|
+ { 0x1a, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE },
|
|
+/* Line-Out as Side */
|
|
+ { 0x17, AC_VERB_SET_CONNECT_SEL, 0x03},
|
|
+ { } /* end */
|
|
+};
|
|
+
|
|
+static struct hda_channel_mode alc888_4ST_8ch_intel_modes[4] = {
|
|
+ { 2, alc888_4ST_ch2_intel_init },
|
|
+ { 4, alc888_4ST_ch4_intel_init },
|
|
+ { 6, alc888_4ST_ch6_intel_init },
|
|
+ { 8, alc888_4ST_ch8_intel_init },
|
|
+};
|
|
+
|
|
+/*
|
|
+ * ALC888 Fujitsu Siemens Amillo xa3530
|
|
+ */
|
|
+
|
|
+static struct hda_verb alc888_fujitsu_xa3530_verbs[] = {
|
|
+/* Front Mic: set to PIN_IN (empty by default) */
|
|
+ {0x12, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN},
|
|
+/* Connect Internal HP to Front */
|
|
+ {0x14, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
|
|
+ {0x14, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
|
|
+ {0x14, AC_VERB_SET_CONNECT_SEL, 0x00},
|
|
+/* Connect Bass HP to Front */
|
|
+ {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
|
|
+ {0x15, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
|
|
+ {0x15, AC_VERB_SET_CONNECT_SEL, 0x00},
|
|
+/* Connect Line-Out side jack (SPDIF) to Side */
|
|
+ {0x17, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
|
|
+ {0x17, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
|
|
+ {0x17, AC_VERB_SET_CONNECT_SEL, 0x03},
|
|
+/* Connect Mic jack to CLFE */
|
|
+ {0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
|
|
+ {0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
|
|
+ {0x18, AC_VERB_SET_CONNECT_SEL, 0x02},
|
|
+/* Connect Line-in jack to Surround */
|
|
+ {0x1a, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
|
|
+ {0x1a, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
|
|
+ {0x1a, AC_VERB_SET_CONNECT_SEL, 0x01},
|
|
+/* Connect HP out jack to Front */
|
|
+ {0x1b, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
|
|
+ {0x1b, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
|
|
+ {0x1b, AC_VERB_SET_CONNECT_SEL, 0x00},
|
|
+/* Enable unsolicited event for HP jack and Line-out jack */
|
|
+ {0x1b, AC_VERB_SET_UNSOLICITED_ENABLE, ALC880_HP_EVENT | AC_USRSP_EN},
|
|
+ {0x17, AC_VERB_SET_UNSOLICITED_ENABLE, ALC880_HP_EVENT | AC_USRSP_EN},
|
|
+ {}
|
|
+};
|
|
+
|
|
+static void alc888_fujitsu_xa3530_automute(struct hda_codec *codec)
|
|
+{
|
|
+ unsigned int present;
|
|
+ unsigned int bits;
|
|
+ /* Line out presence */
|
|
+ present = snd_hda_codec_read(codec, 0x17, 0,
|
|
+ AC_VERB_GET_PIN_SENSE, 0) & 0x80000000;
|
|
+ /* HP out presence */
|
|
+ present = present || snd_hda_codec_read(codec, 0x1b, 0,
|
|
+ AC_VERB_GET_PIN_SENSE, 0) & 0x80000000;
|
|
+ bits = present ? HDA_AMP_MUTE : 0;
|
|
+ /* Toggle internal speakers muting */
|
|
+ snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
|
|
+ HDA_AMP_MUTE, bits);
|
|
+ /* Toggle internal bass muting */
|
|
+ snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
|
|
+ HDA_AMP_MUTE, bits);
|
|
+}
|
|
+
|
|
+static void alc888_fujitsu_xa3530_unsol_event(struct hda_codec *codec,
|
|
+ unsigned int res)
|
|
+{
|
|
+ if (res >> 26 == ALC880_HP_EVENT)
|
|
+ alc888_fujitsu_xa3530_automute(codec);
|
|
+}
|
|
+
|
|
+
|
|
+/*
|
|
+ * ALC888 Acer Aspire 4930G model
|
|
+ */
|
|
+
|
|
+static struct hda_verb alc888_acer_aspire_4930g_verbs[] = {
|
|
+/* Front Mic: set to PIN_IN (empty by default) */
|
|
+ {0x12, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN},
|
|
+/* Unselect Front Mic by default in input mixer 3 */
|
|
+ {0x22, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(0xb)},
|
|
+/* Enable unsolicited event for HP jack */
|
|
+ {0x15, AC_VERB_SET_UNSOLICITED_ENABLE, ALC880_HP_EVENT | AC_USRSP_EN},
|
|
+/* Connect Internal HP to front */
|
|
+ {0x14, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
|
|
+ {0x14, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
|
|
+ {0x14, AC_VERB_SET_CONNECT_SEL, 0x00},
|
|
+/* Connect HP out to front */
|
|
+ {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
|
|
+ {0x15, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
|
|
+ {0x15, AC_VERB_SET_CONNECT_SEL, 0x00},
|
|
+ { }
|
|
+};
|
|
+
|
|
+static struct hda_input_mux alc888_2_capture_sources[2] = {
|
|
+ /* Front mic only available on one ADC */
|
|
+ {
|
|
+ .num_items = 4,
|
|
+ .items = {
|
|
+ { "Mic", 0x0 },
|
|
+ { "Line", 0x2 },
|
|
+ { "CD", 0x4 },
|
|
+ { "Front Mic", 0xb },
|
|
+ },
|
|
+ },
|
|
+ {
|
|
+ .num_items = 3,
|
|
+ .items = {
|
|
+ { "Mic", 0x0 },
|
|
+ { "Line", 0x2 },
|
|
+ { "CD", 0x4 },
|
|
+ },
|
|
+ }
|
|
+};
|
|
+
|
|
+static struct snd_kcontrol_new alc888_base_mixer[] = {
|
|
+ HDA_CODEC_VOLUME("Front Playback Volume", 0x0c, 0x0, HDA_OUTPUT),
|
|
+ HDA_BIND_MUTE("Front Playback Switch", 0x0c, 2, HDA_INPUT),
|
|
+ HDA_CODEC_VOLUME("Surround Playback Volume", 0x0d, 0x0, HDA_OUTPUT),
|
|
+ HDA_BIND_MUTE("Surround Playback Switch", 0x0d, 2, HDA_INPUT),
|
|
+ HDA_CODEC_VOLUME_MONO("Center Playback Volume", 0x0e, 1, 0x0,
|
|
+ HDA_OUTPUT),
|
|
+ HDA_CODEC_VOLUME_MONO("LFE Playback Volume", 0x0e, 2, 0x0, HDA_OUTPUT),
|
|
+ HDA_BIND_MUTE_MONO("Center Playback Switch", 0x0e, 1, 2, HDA_INPUT),
|
|
+ HDA_BIND_MUTE_MONO("LFE Playback Switch", 0x0e, 2, 2, HDA_INPUT),
|
|
+ HDA_CODEC_VOLUME("Side Playback Volume", 0x0f, 0x0, HDA_OUTPUT),
|
|
+ HDA_BIND_MUTE("Side Playback Switch", 0x0f, 2, HDA_INPUT),
|
|
+ HDA_CODEC_VOLUME("CD Playback Volume", 0x0b, 0x04, HDA_INPUT),
|
|
+ HDA_CODEC_MUTE("CD Playback Switch", 0x0b, 0x04, HDA_INPUT),
|
|
+ HDA_CODEC_VOLUME("Line Playback Volume", 0x0b, 0x02, HDA_INPUT),
|
|
+ HDA_CODEC_MUTE("Line Playback Switch", 0x0b, 0x02, HDA_INPUT),
|
|
+ HDA_CODEC_VOLUME("Mic Playback Volume", 0x0b, 0x0, HDA_INPUT),
|
|
+ HDA_CODEC_VOLUME("Mic Boost", 0x18, 0, HDA_INPUT),
|
|
+ HDA_CODEC_MUTE("Mic Playback Switch", 0x0b, 0x0, HDA_INPUT),
|
|
+ HDA_CODEC_VOLUME("PC Speaker Playback Volume", 0x0b, 0x05, HDA_INPUT),
|
|
+ HDA_CODEC_MUTE("PC Speaker Playback Switch", 0x0b, 0x05, HDA_INPUT),
|
|
+ { } /* end */
|
|
+};
|
|
+
|
|
+static void alc888_acer_aspire_4930g_automute(struct hda_codec *codec)
|
|
+{
|
|
+ unsigned int present;
|
|
+ unsigned int bits;
|
|
+ present = snd_hda_codec_read(codec, 0x15, 0,
|
|
+ AC_VERB_GET_PIN_SENSE, 0) & 0x80000000;
|
|
+ bits = present ? HDA_AMP_MUTE : 0;
|
|
+ snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
|
|
+ HDA_AMP_MUTE, bits);
|
|
+}
|
|
+
|
|
+static void alc888_acer_aspire_4930g_unsol_event(struct hda_codec *codec,
|
|
+ unsigned int res)
|
|
+{
|
|
+ if (res >> 26 == ALC880_HP_EVENT)
|
|
+ alc888_acer_aspire_4930g_automute(codec);
|
|
+}
|
|
+
|
|
+/*
|
|
* ALC880 3-stack model
|
|
*
|
|
* DAC: Front = 0x02 (0x0c), Surr = 0x05 (0x0f), CLFE = 0x04 (0x0e)
|
|
@@ -6868,6 +7092,8 @@
|
|
#define ALC883_DIGOUT_NID 0x06
|
|
#define ALC883_DIGIN_NID 0x0a
|
|
|
|
+#define ALC1200_DIGOUT_NID 0x10
|
|
+
|
|
static hda_nid_t alc883_dac_nids[4] = {
|
|
/* front, rear, clfe, rear_surr */
|
|
0x02, 0x03, 0x04, 0x05
|
|
@@ -6883,8 +7109,15 @@
|
|
0x08,
|
|
};
|
|
|
|
+static hda_nid_t alc883_adc_nids_rev[2] = {
|
|
+ /* ADC2-1 */
|
|
+ 0x09, 0x08
|
|
+};
|
|
+
|
|
static hda_nid_t alc883_capsrc_nids[2] = { 0x23, 0x22 };
|
|
|
|
+static hda_nid_t alc883_capsrc_nids_rev[2] = { 0x22, 0x23 };
|
|
+
|
|
/* input MUX */
|
|
/* FIXME: should be a matrix-type input source selection */
|
|
|
|
@@ -8176,6 +8409,7 @@
|
|
[ALC883_TARGA_2ch_DIG] = "targa-2ch-dig",
|
|
[ALC883_ACER] = "acer",
|
|
[ALC883_ACER_ASPIRE] = "acer-aspire",
|
|
+ [ALC888_ACER_ASPIRE_4930G] = "acer-aspire-4930g",
|
|
[ALC883_MEDION] = "medion",
|
|
[ALC883_MEDION_MD2] = "medion-md2",
|
|
[ALC883_LAPTOP_EAPD] = "laptop-eapd",
|
|
@@ -8189,7 +8423,9 @@
|
|
[ALC883_MITAC] = "mitac",
|
|
[ALC883_CLEVO_M720] = "clevo-m720",
|
|
[ALC883_FUJITSU_PI2515] = "fujitsu-pi2515",
|
|
+ [ALC888_FUJITSU_XA3530] = "fujitsu-xa3530",
|
|
[ALC883_3ST_6ch_INTEL] = "3stack-6ch-intel",
|
|
+ [ALC1200_ASUS_P5Q] = "asus-p5q",
|
|
[ALC883_AUTO] = "auto",
|
|
};
|
|
|
|
@@ -8200,6 +8436,8 @@
|
|
SND_PCI_QUIRK(0x1025, 0x0110, "Acer Aspire", ALC883_ACER_ASPIRE),
|
|
SND_PCI_QUIRK(0x1025, 0x0112, "Acer Aspire 9303", ALC883_ACER_ASPIRE),
|
|
SND_PCI_QUIRK(0x1025, 0x0121, "Acer Aspire 5920G", ALC883_ACER_ASPIRE),
|
|
+ SND_PCI_QUIRK(0x1025, 0x013e, "Acer Aspire 4930G",
|
|
+ ALC888_ACER_ASPIRE_4930G),
|
|
SND_PCI_QUIRK(0x1025, 0, "Acer laptop", ALC883_ACER), /* default Acer */
|
|
SND_PCI_QUIRK(0x1028, 0x020d, "Dell Inspiron 530", ALC888_6ST_DELL),
|
|
SND_PCI_QUIRK(0x103c, 0x2a3d, "HP Pavillion", ALC883_6ST_DIG),
|
|
@@ -8208,6 +8446,7 @@
|
|
SND_PCI_QUIRK(0x103c, 0x2a61, "HP Nettle", ALC883_6ST_DIG),
|
|
SND_PCI_QUIRK(0x1043, 0x1873, "Asus M90V", ALC888_ASUS_M90V),
|
|
SND_PCI_QUIRK(0x1043, 0x8249, "Asus M2A-VM HDMI", ALC883_3ST_6ch_DIG),
|
|
+ SND_PCI_QUIRK(0x1043, 0x82fe, "Asus P5Q-EM HDMI", ALC1200_ASUS_P5Q),
|
|
SND_PCI_QUIRK(0x1043, 0x835f, "Asus Eee 1601", ALC888_ASUS_EEE1601),
|
|
SND_PCI_QUIRK(0x105b, 0x0ce8, "Foxconn P35AX-S", ALC883_6ST_DIG),
|
|
SND_PCI_QUIRK(0x105b, 0x6668, "Foxconn", ALC883_6ST_DIG),
|
|
@@ -8245,6 +8484,7 @@
|
|
SND_PCI_QUIRK(0x15d9, 0x8780, "Supermicro PDSBA", ALC883_3ST_6ch),
|
|
SND_PCI_QUIRK(0x161f, 0x2054, "Medion laptop", ALC883_MEDION),
|
|
SND_PCI_QUIRK(0x1734, 0x1108, "Fujitsu AMILO Pi2515", ALC883_FUJITSU_PI2515),
|
|
+ SND_PCI_QUIRK(0x1734, 0x113d, "Fujitsu AMILO Xa3530", ALC888_FUJITSU_XA3530),
|
|
SND_PCI_QUIRK(0x17aa, 0x101e, "Lenovo 101e", ALC883_LENOVO_101E_2ch),
|
|
SND_PCI_QUIRK(0x17aa, 0x2085, "Lenovo NB0763", ALC883_LENOVO_NB0763),
|
|
SND_PCI_QUIRK(0x17aa, 0x3bfc, "Lenovo NB0763", ALC883_LENOVO_NB0763),
|
|
@@ -8370,6 +8610,26 @@
|
|
.unsol_event = alc883_acer_aspire_unsol_event,
|
|
.init_hook = alc883_acer_aspire_automute,
|
|
},
|
|
+ [ALC888_ACER_ASPIRE_4930G] = {
|
|
+ .mixers = { alc888_base_mixer,
|
|
+ alc883_chmode_mixer },
|
|
+ .init_verbs = { alc883_init_verbs, alc880_gpio1_init_verbs,
|
|
+ alc888_acer_aspire_4930g_verbs },
|
|
+ .num_dacs = ARRAY_SIZE(alc883_dac_nids),
|
|
+ .dac_nids = alc883_dac_nids,
|
|
+ .num_adc_nids = ARRAY_SIZE(alc883_adc_nids_rev),
|
|
+ .adc_nids = alc883_adc_nids_rev,
|
|
+ .capsrc_nids = alc883_capsrc_nids_rev,
|
|
+ .dig_out_nid = ALC883_DIGOUT_NID,
|
|
+ .num_channel_mode = ARRAY_SIZE(alc883_3ST_6ch_modes),
|
|
+ .channel_mode = alc883_3ST_6ch_modes,
|
|
+ .need_dac_fix = 1,
|
|
+ .num_mux_defs =
|
|
+ ARRAY_SIZE(alc888_2_capture_sources),
|
|
+ .input_mux = alc888_2_capture_sources,
|
|
+ .unsol_event = alc888_acer_aspire_4930g_unsol_event,
|
|
+ .init_hook = alc888_acer_aspire_4930g_automute,
|
|
+ },
|
|
[ALC883_MEDION] = {
|
|
.mixers = { alc883_fivestack_mixer,
|
|
alc883_chmode_mixer },
|
|
@@ -8513,6 +8773,23 @@
|
|
.unsol_event = alc883_2ch_fujitsu_pi2515_unsol_event,
|
|
.init_hook = alc883_2ch_fujitsu_pi2515_automute,
|
|
},
|
|
+ [ALC888_FUJITSU_XA3530] = {
|
|
+ .mixers = { alc888_base_mixer, alc883_chmode_mixer },
|
|
+ .init_verbs = { alc883_init_verbs, alc888_fujitsu_xa3530_verbs },
|
|
+ .num_dacs = ARRAY_SIZE(alc883_dac_nids),
|
|
+ .dac_nids = alc883_dac_nids,
|
|
+ .num_adc_nids = ARRAY_SIZE(alc883_adc_nids_rev),
|
|
+ .adc_nids = alc883_adc_nids_rev,
|
|
+ .capsrc_nids = alc883_capsrc_nids_rev,
|
|
+ .dig_out_nid = ALC883_DIGOUT_NID,
|
|
+ .num_channel_mode = ARRAY_SIZE(alc888_4ST_8ch_intel_modes),
|
|
+ .channel_mode = alc888_4ST_8ch_intel_modes,
|
|
+ .num_mux_defs =
|
|
+ ARRAY_SIZE(alc888_2_capture_sources),
|
|
+ .input_mux = alc888_2_capture_sources,
|
|
+ .unsol_event = alc888_fujitsu_xa3530_unsol_event,
|
|
+ .init_hook = alc888_fujitsu_xa3530_automute,
|
|
+ },
|
|
[ALC888_LENOVO_SKY] = {
|
|
.mixers = { alc888_lenovo_sky_mixer, alc883_chmode_mixer },
|
|
.init_verbs = { alc883_init_verbs, alc888_lenovo_sky_verbs},
|
|
@@ -8555,6 +8832,17 @@
|
|
.unsol_event = alc883_eee1601_unsol_event,
|
|
.init_hook = alc883_eee1601_inithook,
|
|
},
|
|
+ [ALC1200_ASUS_P5Q] = {
|
|
+ .mixers = { alc883_base_mixer, alc883_chmode_mixer },
|
|
+ .init_verbs = { alc883_init_verbs },
|
|
+ .num_dacs = ARRAY_SIZE(alc883_dac_nids),
|
|
+ .dac_nids = alc883_dac_nids,
|
|
+ .dig_out_nid = ALC1200_DIGOUT_NID,
|
|
+ .dig_in_nid = ALC883_DIGIN_NID,
|
|
+ .num_channel_mode = ARRAY_SIZE(alc883_sixstack_modes),
|
|
+ .channel_mode = alc883_sixstack_modes,
|
|
+ .input_mux = &alc883_capture_source,
|
|
+ },
|
|
};
|
|
|
|
|