Skip to content

Commit d08c5ef

Browse files
committed
ALSA: hda - Provide missing pin configs for VAIO with ALC260
Some models (or maybe depending on BIOS version) of Sony VAIO with ALC260 give no proper pin configurations as default, resulting in the non-working speaker, etc. Just provide the whole pin configurations via a fixup. Reported-by: Matthew Markus <mmarkus@hearit.co> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent ee71a70 commit d08c5ef

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,6 +1512,7 @@ enum {
15121512
ALC260_FIXUP_KN1,
15131513
ALC260_FIXUP_FSC_S7020,
15141514
ALC260_FIXUP_FSC_S7020_JWSE,
1515+
ALC260_FIXUP_VAIO_PINS,
15151516
};
15161517

15171518
static void alc260_gpio1_automute(struct hda_codec *codec)
@@ -1652,6 +1653,24 @@ static const struct hda_fixup alc260_fixups[] = {
16521653
.chained = true,
16531654
.chain_id = ALC260_FIXUP_FSC_S7020,
16541655
},
1656+
[ALC260_FIXUP_VAIO_PINS] = {
1657+
.type = HDA_FIXUP_PINS,
1658+
.v.pins = (const struct hda_pintbl[]) {
1659+
/* Pin configs are missing completely on some VAIOs */
1660+
{ 0x0f, 0x01211020 },
1661+
{ 0x10, 0x0001003f },
1662+
{ 0x11, 0x411111f0 },
1663+
{ 0x12, 0x01a15930 },
1664+
{ 0x13, 0x411111f0 },
1665+
{ 0x14, 0x411111f0 },
1666+
{ 0x15, 0x411111f0 },
1667+
{ 0x16, 0x411111f0 },
1668+
{ 0x17, 0x411111f0 },
1669+
{ 0x18, 0x411111f0 },
1670+
{ 0x19, 0x411111f0 },
1671+
{ }
1672+
}
1673+
},
16551674
};
16561675

16571676
static const struct snd_pci_quirk alc260_fixup_tbl[] = {
@@ -1660,6 +1679,7 @@ static const struct snd_pci_quirk alc260_fixup_tbl[] = {
16601679
SND_PCI_QUIRK(0x1025, 0x008f, "Acer", ALC260_FIXUP_GPIO1),
16611680
SND_PCI_QUIRK(0x103c, 0x280a, "HP dc5750", ALC260_FIXUP_HP_DC5750),
16621681
SND_PCI_QUIRK(0x103c, 0x30ba, "HP Presario B1900", ALC260_FIXUP_HP_B1900),
1682+
SND_PCI_QUIRK(0x104d, 0x81bb, "Sony VAIO", ALC260_FIXUP_VAIO_PINS),
16631683
SND_PCI_QUIRK(0x104d, 0x81e2, "Sony VAIO TX", ALC260_FIXUP_HP_PIN_0F),
16641684
SND_PCI_QUIRK(0x10cf, 0x1326, "FSC LifeBook S7020", ALC260_FIXUP_FSC_S7020),
16651685
SND_PCI_QUIRK(0x1509, 0x4540, "Favorit 100XS", ALC260_FIXUP_GPIO1),

0 commit comments

Comments
 (0)