diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-02-20 10:36:52 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-02-20 11:06:04 -0500 |
commit | ba5338185dd522696f1c0d0957a724a1fdd1f39d (patch) | |
tree | fc5996b75379b0e2a5accacd56eaa0d82d1de62f /sound/pci/hda/patch_realtek.c | |
parent | cf5a22793cfa54c056655d374722dc5dfd496eca (diff) |
ALSA: hda/realtek - Rewrite ALC880 model=F1734 with auto-parser
Similar as the previous patch for model=fujitsu, we can now move the
static quirk for F1734 to the auto-parser. The only difference is the
default pin configurations: F1734 has less pins than Amilo's.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 6a6436a54f07..2d102f70f787 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -4446,6 +4446,7 @@ enum { | |||
4446 | ALC880_FIXUP_TCL_S700, | 4446 | ALC880_FIXUP_TCL_S700, |
4447 | ALC880_FIXUP_VOL_KNOB, | 4447 | ALC880_FIXUP_VOL_KNOB, |
4448 | ALC880_FIXUP_FUJITSU, | 4448 | ALC880_FIXUP_FUJITSU, |
4449 | ALC880_FIXUP_F1734, | ||
4449 | }; | 4450 | }; |
4450 | 4451 | ||
4451 | /* enable the volume-knob widget support on NID 0x21 */ | 4452 | /* enable the volume-knob widget support on NID 0x21 */ |
@@ -4535,14 +4536,37 @@ static const struct alc_fixup alc880_fixups[] = { | |||
4535 | .chained = true, | 4536 | .chained = true, |
4536 | .chain_id = ALC880_FIXUP_VOL_KNOB, | 4537 | .chain_id = ALC880_FIXUP_VOL_KNOB, |
4537 | }, | 4538 | }, |
4539 | [ALC880_FIXUP_F1734] = { | ||
4540 | /* almost compatible with FUJITSU, but no bass and SPDIF */ | ||
4541 | .type = ALC_FIXUP_PINS, | ||
4542 | .v.pins = (const struct alc_pincfg[]) { | ||
4543 | { 0x14, 0x0121411f }, /* HP */ | ||
4544 | { 0x15, 0x99030120 }, /* speaker */ | ||
4545 | { 0x16, 0x411111f0 }, /* N/A */ | ||
4546 | { 0x17, 0x411111f0 }, /* N/A */ | ||
4547 | { 0x18, 0x411111f0 }, /* N/A */ | ||
4548 | { 0x19, 0x01a19950 }, /* mic-in */ | ||
4549 | { 0x1a, 0x411111f0 }, /* N/A */ | ||
4550 | { 0x1b, 0x411111f0 }, /* N/A */ | ||
4551 | { 0x1c, 0x411111f0 }, /* N/A */ | ||
4552 | { 0x1d, 0x411111f0 }, /* N/A */ | ||
4553 | { 0x1e, 0x411111f0 }, /* N/A */ | ||
4554 | { } | ||
4555 | }, | ||
4556 | .chained = true, | ||
4557 | .chain_id = ALC880_FIXUP_VOL_KNOB, | ||
4558 | }, | ||
4538 | }; | 4559 | }; |
4539 | 4560 | ||
4540 | static const struct snd_pci_quirk alc880_fixup_tbl[] = { | 4561 | static const struct snd_pci_quirk alc880_fixup_tbl[] = { |
4541 | SND_PCI_QUIRK(0x1019, 0x0f69, "Coeus G610P", ALC880_FIXUP_W810), | 4562 | SND_PCI_QUIRK(0x1019, 0x0f69, "Coeus G610P", ALC880_FIXUP_W810), |
4542 | SND_PCI_QUIRK_VENDOR(0x1558, "Clevo", ALC880_FIXUP_EAPD_COEF), | 4563 | SND_PCI_QUIRK_VENDOR(0x1558, "Clevo", ALC880_FIXUP_EAPD_COEF), |
4564 | SND_PCI_QUIRK(0x1584, 0x9054, "Uniwill", ALC880_FIXUP_F1734), | ||
4543 | SND_PCI_QUIRK(0x161f, 0x203d, "W810", ALC880_FIXUP_W810), | 4565 | SND_PCI_QUIRK(0x161f, 0x203d, "W810", ALC880_FIXUP_W810), |
4544 | SND_PCI_QUIRK(0x161f, 0x205d, "Medion Rim 2150", ALC880_FIXUP_MEDION_RIM), | 4566 | SND_PCI_QUIRK(0x161f, 0x205d, "Medion Rim 2150", ALC880_FIXUP_MEDION_RIM), |
4567 | SND_PCI_QUIRK(0x1734, 0x107c, "FSC F1734", ALC880_FIXUP_F1734), | ||
4545 | SND_PCI_QUIRK(0x1734, 0x1094, "FSC Amilo M1451G", ALC880_FIXUP_FUJITSU), | 4568 | SND_PCI_QUIRK(0x1734, 0x1094, "FSC Amilo M1451G", ALC880_FIXUP_FUJITSU), |
4569 | SND_PCI_QUIRK(0x1734, 0x10ac, "FSC AMILO Xi 1526", ALC880_FIXUP_F1734), | ||
4546 | SND_PCI_QUIRK(0x1734, 0x10b0, "FSC Amilo Pi1556", ALC880_FIXUP_FUJITSU), | 4570 | SND_PCI_QUIRK(0x1734, 0x10b0, "FSC Amilo Pi1556", ALC880_FIXUP_FUJITSU), |
4547 | SND_PCI_QUIRK(0x1854, 0x003b, "LG", ALC880_FIXUP_LG), | 4571 | SND_PCI_QUIRK(0x1854, 0x003b, "LG", ALC880_FIXUP_LG), |
4548 | SND_PCI_QUIRK(0x1854, 0x005f, "LG P1 Express", ALC880_FIXUP_LG), | 4572 | SND_PCI_QUIRK(0x1854, 0x005f, "LG P1 Express", ALC880_FIXUP_LG), |