Skip to contentSkip to conversation

Device ID for Toshiba laptop which uses AD1986A

PATCH In review Jiang zhe 2 participants 3 messages Dec 20, 2007 – Dec 24, 2007 1 message not in the archive

lore
Share & tools
lore

Jiang zhe

author
#0 lore raw

PATCH 1/1 Device ID for Toshiba laptop which uses AD1986A

Hi,

Please refer to the [0003662].
The model laptop-eapd get rid of the high-pitched noise.

--- alsa-driver-hg20071219/alsa-kernel/pci/hda/patch_analog.c 2007-12-20
09:40:37.000000000 +0800
+++ b/alsa-kernel/pci/hda/patch_analog.c 2007-12-20 09:23:05.000000000
+0800
@@ -859,6 +859,7 @@ static struct snd_pci_quirk ad1986a_cfg_
SND_PCI_QUIRK(0x17aa, 0x1017, "Lenovo A60", AD1986A_3STACK), SND_PCI_QUIRK(0x17aa, 0x2066, "Lenovo N100", AD1986A_LAPTOP_AUTOMUTE), SND_PCI_QUIRK(0x17c0, 0x2017, "Samsung M50", AD1986A_LAPTOP),
+ SND_PCI_QUIRK(0x1179, 0xff40, "Toshiba", AD1986A_LAPTOP_EAPD),
{}
};

#1 lore raw

At Thu, 20 Dec 2007 09:44:14 +0800,

Quoted 7 lines · Jiang zhe

Hi,

Please refer to the [0003662].
The model laptop-eapd get rid of the high-pitched noise.

The high-pitched noise should be fixed with other models, too, but after 1.0.15 release. It was a general problem of AD1986A.

Meanwhile, if the machine is a laptop, this model matches certainly better than the default one.

So, applied to HG tree now. Thanks.

Takashi

Quoted 13 lines

--- alsa-driver-hg20071219/alsa-kernel/pci/hda/patch_analog.c 2007-12-20
09:40:37.000000000 +0800
+++ b/alsa-kernel/pci/hda/patch_analog.c 2007-12-20 09:23:05.000000000
+0800

(quoted diff) +1 -0
@@ -859,6 +859,7 @@ static struct snd_pci_quirk ad1986a_cfg_
 	SND_PCI_QUIRK(0x17aa, 0x1017, "Lenovo A60", AD1986A_3STACK),
 	SND_PCI_QUIRK(0x17aa, 0x2066, "Lenovo N100", AD1986A_LAPTOP_AUTOMUTE),
 	SND_PCI_QUIRK(0x17c0, 0x2017, "Samsung M50", AD1986A_LAPTOP),
+	SND_PCI_QUIRK(0x1179, 0xff40, "Toshiba", AD1986A_LAPTOP_EAPD),
 	{}
 };
 

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#3 lore raw
Quoted 4 lines · Andy Shevchenko

Hi Jiang zhe!

On Thu, Dec 20, 2007 at 09:44:14AM +0800, Jiang zhe wrote next:

Quoted 9 lines

Review static struct snd_pci_quirk ad1986a_cfg_ · line 864

Quoted 7 lines
(quoted diff) +1 -0
@@ -859,6 +859,7 @@ static struct snd_pci_quirk ad1986a_cfg_
 	SND_PCI_QUIRK(0x17aa, 0x1017, "Lenovo A60", AD1986A_3STACK),
 	SND_PCI_QUIRK(0x17aa, 0x2066, "Lenovo N100", AD1986A_LAPTOP_AUTOMUTE),
 	SND_PCI_QUIRK(0x17c0, 0x2017, "Samsung M50", AD1986A_LAPTOP),
+	SND_PCI_QUIRK(0x1179, 0xff40, "Toshiba", AD1986A_LAPTOP_EAPD),
 	{}
 };

Please, keep list sorted by PCI SSID.

Thank you very much! ^_^

--- alsa-driver-hg20071224/alsa-kernel/pci/hda/patch_analog.c 2007-12-21
09:00:06.000000000 +0800
+++ b/alsa-kernel/pci/hda/patch_analog.c 2007-12-24 10:07:54.000000000
+0800
@@ -848,6 +848,7 @@ static struct snd_pci_quirk ad1986a_cfg_
SND_PCI_QUIRK(0x1043, 0x81cb, "ASUS M2N", AD1986A_3STACK), SND_PCI_QUIRK(0x1043, 0x8234, "ASUS M2N", AD1986A_3STACK), SND_PCI_QUIRK(0x10de, 0xcb84, "ASUS A8N-VM", AD1986A_3STACK),
+ SND_PCI_QUIRK(0x1179, 0xff40, "Toshiba", AD1986A_LAPTOP_EAPD),
SND_PCI_QUIRK(0x144d, 0xb03c, "Samsung R55", AD1986A_3STACK), SND_PCI_QUIRK(0x144d, 0xc01e, "FSC V2060", AD1986A_LAPTOP), SND_PCI_QUIRK(0x144d, 0xc023, "Samsung X60", AD1986A_LAPTOP_EAPD),
@@ -859,7 +860,6 @@ static struct snd_pci_quirk ad1986a_cfg_
SND_PCI_QUIRK(0x17aa, 0x1017, "Lenovo A60", AD1986A_3STACK), SND_PCI_QUIRK(0x17aa, 0x2066, "Lenovo N100", AD1986A_LAPTOP_AUTOMUTE), SND_PCI_QUIRK(0x17c0, 0x2017, "Samsung M50", AD1986A_LAPTOP),
- SND_PCI_QUIRK(0x1179, 0xff40, "Toshiba", AD1986A_LAPTOP_EAPD),
{}
};