All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Added model selection for iMac 24"
@ 2008-06-18 17:29 Travis Place
  2008-06-19  9:35 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Travis Place @ 2008-06-18 17:29 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Changelog: Added the SSID of a known iMac 24" to automatically use
ALC885_IMAC24 quirk.

--- a/pci/hda/patch_realtek.c
+++ b/pci/hda/patch_realtek.c
@@ -6196,6 +6196,7 @@ static struct snd_pci_quirk alc882_cfg_tbl[] = {
        SND_PCI_QUIRK(0x1462, 0x28fb, "Targa T8", ALC882_TARGA), /*
MSI-1049 T8  */
        SND_PCI_QUIRK(0x1462, 0x6668, "MSI", ALC882_6ST_DIG),
        SND_PCI_QUIRK(0x161f, 0x2054, "Arima W820", ALC882_ARIMA),
+       SND_PCI_QUIRK(0x106b, 0x00a0, "Apple iMac 24''", ALC885_IMAC24),
        {}
 };


Signed-off-by: Travis Place <wishie@wishie.net>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Added model selection for iMac 24"
  2008-06-18 17:29 [PATCH] Added model selection for iMac 24" Travis Place
@ 2008-06-19  9:35 ` Takashi Iwai
  2008-06-19 18:48   ` Travis Place
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2008-06-19  9:35 UTC (permalink / raw)
  To: Travis Place; +Cc: alsa-devel

At Thu, 19 Jun 2008 03:29:49 +1000,
Travis Place wrote:
> 
> Changelog: Added the SSID of a known iMac 24" to automatically use
> ALC885_IMAC24 quirk.

The cfg_tbl is sorted in the order of SSID.  Could you put the entry
in the right position?


thanks,

Takashi

> 
> --- a/pci/hda/patch_realtek.c
> +++ b/pci/hda/patch_realtek.c
> @@ -6196,6 +6196,7 @@ static struct snd_pci_quirk alc882_cfg_tbl[] = {
>         SND_PCI_QUIRK(0x1462, 0x28fb, "Targa T8", ALC882_TARGA), /*
> MSI-1049 T8  */
>         SND_PCI_QUIRK(0x1462, 0x6668, "MSI", ALC882_6ST_DIG),
>         SND_PCI_QUIRK(0x161f, 0x2054, "Arima W820", ALC882_ARIMA),
> +       SND_PCI_QUIRK(0x106b, 0x00a0, "Apple iMac 24''", ALC885_IMAC24),
>         {}
>  };
> 
> 
> Signed-off-by: Travis Place <wishie@wishie.net>
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Added model selection for iMac 24"
  2008-06-19  9:35 ` Takashi Iwai
@ 2008-06-19 18:48   ` Travis Place
  0 siblings, 0 replies; 3+ messages in thread
From: Travis Place @ 2008-06-19 18:48 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

Attached is the corrected patch. Sorry

Changelog: Added the SSID of a known iMac 24" to automatically use
ALC885_IMAC24 quirk.

Signed-off-by: Travis Place <wishie@wishie.net>


[-- Attachment #2: imac24.patch --]
[-- Type: text/x-patch, Size: 680 bytes --]

diff --git a/pci/hda/patch_realtek.c b/pci/hda/patch_realtek.c
index 61f8c13..d96a876 100644
--- a/pci/hda/patch_realtek.c
+++ b/pci/hda/patch_realtek.c
@@ -6192,6 +6192,7 @@ static struct snd_pci_quirk alc882_cfg_tbl[] = {
 	SND_PCI_QUIRK(0x1043, 0x817f, "Asus P5LD2", ALC882_6ST_DIG),
 	SND_PCI_QUIRK(0x1043, 0x81d8, "Asus P5WD", ALC882_6ST_DIG),
 	SND_PCI_QUIRK(0x105b, 0x6668, "Foxconn", ALC882_6ST_DIG),
+	SND_PCI_QUIRK(0x106b, 0x00a0, "Apple iMac 24''", ALC885_IMAC24),
 	SND_PCI_QUIRK(0x1458, 0xa002, "Gigabyte P35 DS3R", ALC882_6ST_DIG),
 	SND_PCI_QUIRK(0x1462, 0x28fb, "Targa T8", ALC882_TARGA), /* MSI-1049 T8  */
 	SND_PCI_QUIRK(0x1462, 0x6668, "MSI", ALC882_6ST_DIG),

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-19 18:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-18 17:29 [PATCH] Added model selection for iMac 24" Travis Place
2008-06-19  9:35 ` Takashi Iwai
2008-06-19 18:48   ` Travis Place

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.