All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda: Use model=mb5 for MacBookPro 5,2
@ 2009-11-11 19:49 Daniel Chen
  2009-11-12  6:41 ` [PATCH] ALSA: hda: Use model=mb5 for MacBookPro 5, 2 Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Chen @ 2009-11-11 19:49 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

Hi,

Attached please find a patch against current sound-2.6 HEAD adding
the codec SSID for MacBookPro 5,2 to enable playback and capture
(with the same caveat as for MacBookPro 5,1 that jacksense remains
at odds).

Thanks,
Dan

[-- Attachment #2: 0001-ALSA-hda-Use-model-mb5-for-MacBookPro-5-2.patch --]
[-- Type: text/x-patch, Size: 1376 bytes --]

From cf20565172a5e7c4cb940bb5af048aec34411cbe Mon Sep 17 00:00:00 2001
From: Daniel T Chen <crimsun@ubuntu.com>
Date: Wed, 11 Nov 2009 14:32:10 -0500
Subject: [PATCH] ALSA: hda: Use model=mb5 for MacBookPro 5,2

BugLink: https://bugs.launchpad.net/bugs/462098

Until we can look closer at the verbs, let's use ALC885_MB5 for
codec SSID 0x106b4600 to enable playback and capture for MacBookPro
5,2s.

Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
---
 sound/pci/hda/patch_realtek.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 0041ae2..49de107 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -8912,10 +8912,11 @@ static struct snd_pci_quirk alc882_ssid_cfg_tbl[] = {
 	SND_PCI_QUIRK(0x106b, 0x3800, "MacbookPro 4,1", ALC885_MBP3),
 	SND_PCI_QUIRK(0x106b, 0x3e00, "iMac 24 Aluminum", ALC885_IMAC24),
 	SND_PCI_QUIRK(0x106b, 0x3f00, "Macbook 5,1", ALC885_MB5),
-	/* FIXME: HP jack sense seems not working for MBP 5,1, so apparently
-	 * no perfect solution yet
+	/* FIXME: HP jack sense seems not working for MBP 5,1 or 5,2,
+	 * so apparently no perfect solution yet
 	 */
 	SND_PCI_QUIRK(0x106b, 0x4000, "MacbookPro 5,1", ALC885_MB5),
+	SND_PCI_QUIRK(0x106b, 0x4600, "MacbookPro 5,2", ALC885_MB5),
 	{} /* terminator */
 };
 
-- 
1.6.3.3


[-- 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] 7+ messages in thread

end of thread, other threads:[~2009-11-12  8:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-11 19:49 [PATCH] ALSA: hda: Use model=mb5 for MacBookPro 5,2 Daniel Chen
2009-11-12  6:41 ` [PATCH] ALSA: hda: Use model=mb5 for MacBookPro 5, 2 Takashi Iwai
2009-11-12  6:45   ` Justin P. Mattock
2009-11-12  7:15     ` Takashi Iwai
2009-11-12  7:30       ` Justin P. Mattock
2009-11-12  7:55         ` Takashi Iwai
2009-11-12  8:01           ` Justin P. Mattock

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.