ALSA: hda - Acer Inspire 6530G model for Realtek ALC888

Previous thread: ALSA: HDA - Add pci-quirk for MSI MS-7350 motherboard. by Linux Kernel Mailing List on Sunday, June 21, 2009 - 1:59 pm. (1 message)

Next thread: ALSA: HDA - Correct trivial typos in comments. by Linux Kernel Mailing List on Sunday, June 21, 2009 - 1:59 pm. (1 message)
From: Linux Kernel Mailing List
Date: Sunday, June 21, 2009 - 1:59 pm

Gitweb:     http://git.kernel.org/linus/d2fd4b09c07ae0c5ac288c0da6100c26ba9db15b
Commit:     d2fd4b09c07ae0c5ac288c0da6100c26ba9db15b
Parent:     def319f9e937f7a6a29718d3e2826c6c32f33245
Author:     Tony Vroon <tony@linx.net>
AuthorDate: Sun Jun 21 00:40:10 2009 +0100
Committer:  Takashi Iwai <tiwai@suse.de>
CommitDate: Sun Jun 21 10:52:14 2009 +0200

    ALSA: hda - Acer Inspire 6530G model for Realtek ALC888
    
    The selected 4930G model seemed to keep the subwoofer 'tuba'
    function from operating correctly. Removing the existing PCI
    ID match made this work again, but it was mapped to 'Side'
    instead of to LFE as one would expect.
    This attempts to enable all functionality and keep the amount
    of available mixer sliders low. Any slider that had no audible
    effect on the output audio has been removed, and as such EAPD
    is not currently enabled.
    
    Signed-off-by: Tony Vroon <tony@linx.net>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/pci/hda/patch_realtek.c |   72 ++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 71 insertions(+), 1 deletions(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 8cebe26..63cfebb 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -224,6 +224,7 @@ enum {
 	ALC883_ACER,
 	ALC883_ACER_ASPIRE,
 	ALC888_ACER_ASPIRE_4930G,
+	ALC888_ACER_ASPIRE_6530G,
 	ALC888_ACER_ASPIRE_8930G,
 	ALC883_MEDION,
 	ALC883_MEDION_MD2,
@@ -1471,6 +1472,25 @@ static struct hda_verb alc888_acer_aspire_4930g_verbs[] = {
 };
 
 /*
+ * ALC888 Acer Aspire 6530G model
+ */
+
+static struct hda_verb alc888_acer_aspire_6530g_verbs[] = {
+/* Bias voltage on for external mic port */
+	{0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN | PIN_VREF80},
+/* Enable unsolicited event for HP jack */
+	{0x15, AC_VERB_SET_UNSOLICITED_ENABLE, ALC880_HP_EVENT | AC_USRSP_EN},
+/* Enable speaker output */
+	{0x14, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
+	{0x14, ...
Previous thread: ALSA: HDA - Add pci-quirk for MSI MS-7350 motherboard. by Linux Kernel Mailing List on Sunday, June 21, 2009 - 1:59 pm. (1 message)

Next thread: ALSA: HDA - Correct trivial typos in comments. by Linux Kernel Mailing List on Sunday, June 21, 2009 - 1:59 pm. (1 message)