|
@@ -66,6 +66,7 @@ enum {
|
|
STAC_9205_DELL_M42,
|
|
STAC_9205_DELL_M42,
|
|
STAC_9205_DELL_M43,
|
|
STAC_9205_DELL_M43,
|
|
STAC_9205_DELL_M44,
|
|
STAC_9205_DELL_M44,
|
|
|
|
+ STAC_9205_EAPD,
|
|
STAC_9205_MODELS
|
|
STAC_9205_MODELS
|
|
};
|
|
};
|
|
|
|
|
|
@@ -2240,6 +2241,7 @@ static unsigned int *stac9205_brd_tbl[STAC_9205_MODELS] = {
|
|
[STAC_9205_DELL_M42] = dell_9205_m42_pin_configs,
|
|
[STAC_9205_DELL_M42] = dell_9205_m42_pin_configs,
|
|
[STAC_9205_DELL_M43] = dell_9205_m43_pin_configs,
|
|
[STAC_9205_DELL_M43] = dell_9205_m43_pin_configs,
|
|
[STAC_9205_DELL_M44] = dell_9205_m44_pin_configs,
|
|
[STAC_9205_DELL_M44] = dell_9205_m44_pin_configs,
|
|
|
|
+ [STAC_9205_EAPD] = NULL,
|
|
};
|
|
};
|
|
|
|
|
|
static const char *stac9205_models[STAC_9205_MODELS] = {
|
|
static const char *stac9205_models[STAC_9205_MODELS] = {
|
|
@@ -2247,12 +2249,14 @@ static const char *stac9205_models[STAC_9205_MODELS] = {
|
|
[STAC_9205_DELL_M42] = "dell-m42",
|
|
[STAC_9205_DELL_M42] = "dell-m42",
|
|
[STAC_9205_DELL_M43] = "dell-m43",
|
|
[STAC_9205_DELL_M43] = "dell-m43",
|
|
[STAC_9205_DELL_M44] = "dell-m44",
|
|
[STAC_9205_DELL_M44] = "dell-m44",
|
|
|
|
+ [STAC_9205_EAPD] = "eapd",
|
|
};
|
|
};
|
|
|
|
|
|
static struct snd_pci_quirk stac9205_cfg_tbl[] = {
|
|
static struct snd_pci_quirk stac9205_cfg_tbl[] = {
|
|
/* SigmaTel reference board */
|
|
/* SigmaTel reference board */
|
|
SND_PCI_QUIRK(PCI_VENDOR_ID_INTEL, 0x2668,
|
|
SND_PCI_QUIRK(PCI_VENDOR_ID_INTEL, 0x2668,
|
|
"DFI LanParty", STAC_9205_REF),
|
|
"DFI LanParty", STAC_9205_REF),
|
|
|
|
+ /* Dell */
|
|
SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x01f1,
|
|
SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x01f1,
|
|
"unknown Dell", STAC_9205_DELL_M42),
|
|
"unknown Dell", STAC_9205_DELL_M42),
|
|
SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x01f2,
|
|
SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x01f2,
|
|
@@ -2283,6 +2287,8 @@ static struct snd_pci_quirk stac9205_cfg_tbl[] = {
|
|
"Dell Inspiron", STAC_9205_DELL_M44),
|
|
"Dell Inspiron", STAC_9205_DELL_M44),
|
|
SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0228,
|
|
SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0228,
|
|
"Dell Vostro 1500", STAC_9205_DELL_M42),
|
|
"Dell Vostro 1500", STAC_9205_DELL_M42),
|
|
|
|
+ /* Gateway */
|
|
|
|
+ SND_PCI_QUIRK(0x107b, 0x0565, "Gateway T1616", STAC_9205_EAPD),
|
|
{} /* terminator */
|
|
{} /* terminator */
|
|
};
|
|
};
|
|
|
|
|
|
@@ -5320,7 +5326,9 @@ static int patch_stac9205(struct hda_codec *codec)
|
|
|
|
|
|
spec->aloopback_mask = 0x40;
|
|
spec->aloopback_mask = 0x40;
|
|
spec->aloopback_shift = 0;
|
|
spec->aloopback_shift = 0;
|
|
- spec->eapd_switch = 1;
|
|
|
|
|
|
+ /* Turn on/off EAPD per HP plugging */
|
|
|
|
+ if (spec->board_config != STAC_9205_EAPD)
|
|
|
|
+ spec->eapd_switch = 1;
|
|
spec->multiout.dac_nids = spec->dac_nids;
|
|
spec->multiout.dac_nids = spec->dac_nids;
|
|
|
|
|
|
switch (spec->board_config){
|
|
switch (spec->board_config){
|