From: Chih-Wei Huang <cwhuang@linux.org.tw>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, Kailang Yang <kailang@realtek.com>
Subject: Re: Fix for recording issue of ASUS N82JV
Date: Fri, 11 Mar 2011 09:34:22 +0800 [thread overview]
Message-ID: <4D797C1E.5060609@linux.org.tw> (raw)
In-Reply-To: <s5hvd03feva.wl%tiwai@suse.de>
[-- Attachment #1: Type: text/plain, Size: 507 bytes --]
Hi Takashi,
Thank you for the help.
Here are more patches for realtek codec
to support old Eee PC models 900 and 1004.
Regards,
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
於 西元2011年03月01日 16:02, Takashi Iwai 提到:
> At Tue, 01 Mar 2011 15:35:07 +0800,
> Chih-Wei Huang wrote:
>> Hi,
>> This small patch fixes the unable to record issue
>> on ASUS N82JV. Thanks.
>>
>> Tested OK on android-x86 2.2 & 2.3 with kernel 2.6.38-rc4.
>
> Thanks, applied now.
[-- Attachment #2: 0001-ALSA-add-audio-support-for-Eee-PC-900.patch --]
[-- Type: text/plain, Size: 2375 bytes --]
From 623317a411116fbe24845f809a14fbab46c4b367 Mon Sep 17 00:00:00 2001
From: Chih-Wei Huang <cwhuang@linux.org.tw>
Date: Thu, 16 Jul 2009 10:05:22 +0800
Subject: [PATCH 1/2] ALSA: HDA: audio support for Eee PC 900
---
sound/pci/hda/patch_realtek.c | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 3328a25..2dd52c6 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -180,6 +180,7 @@ enum {
ALC662_5ST_DIG,
ALC662_LENOVO_101E,
ALC662_ASUS_EEEPC_P701,
+ ALC662_ASUS_EEEPC_P900,
ALC662_ASUS_EEEPC_EP20,
ALC663_ASUS_M51VA,
ALC663_ASUS_G71V,
@@ -18727,6 +18728,7 @@ static const char * const alc662_models[ALC662_MODEL_LAST] = {
[ALC662_5ST_DIG] = "6stack-dig",
[ALC662_LENOVO_101E] = "lenovo-101e",
[ALC662_ASUS_EEEPC_P701] = "eeepc-p701",
+ [ALC662_ASUS_EEEPC_P900] = "eeepc-p900",
[ALC662_ASUS_EEEPC_EP20] = "eeepc-ep20",
[ALC662_ECS] = "ecs",
[ALC663_ASUS_M51VA] = "m51va",
@@ -18809,6 +18811,7 @@ static struct snd_pci_quirk alc662_cfg_tbl[] = {
SND_PCI_QUIRK(0x1043, 0x19f3, "ASUS NB", ALC663_ASUS_MODE4),
SND_PCI_QUIRK(0x1043, 0x8290, "ASUS P5GC-MX", ALC662_3ST_6ch_DIG),
SND_PCI_QUIRK(0x1043, 0x82a1, "ASUS Eeepc", ALC662_ASUS_EEEPC_P701),
+ SND_PCI_QUIRK(0x1043, 0x8337, "ASUS Eeepc P900", ALC662_ASUS_EEEPC_P900),
SND_PCI_QUIRK(0x1043, 0x82d1, "ASUS Eeepc EP20", ALC662_ASUS_EEEPC_EP20),
SND_PCI_QUIRK(0x105b, 0x0cd6, "Foxconn", ALC662_ECS),
SND_PCI_QUIRK(0x105b, 0x0d47, "Foxconn 45CMX/45GMX/45CMX-K",
@@ -18897,6 +18900,20 @@ static struct alc_config_preset alc662_presets[] = {
.setup = alc662_eeepc_setup,
.init_hook = alc662_eeepc_inithook,
},
+ [ALC662_ASUS_EEEPC_P900] = {
+ .mixers = { alc662_eeepc_p701_mixer },
+ .init_verbs = { alc662_init_verbs,
+ alc662_eeepc_sue_init_verbs },
+ .num_dacs = ARRAY_SIZE(alc662_dac_nids),
+ .dac_nids = alc662_dac_nids,
+ .num_adc_nids = ARRAY_SIZE(alc861vd_adc_nids),
+ .adc_nids = alc662_adc_nids,
+ .num_channel_mode = ARRAY_SIZE(alc662_3ST_2ch_modes),
+ .channel_mode = alc662_3ST_2ch_modes,
+ .unsol_event = alc662_eeepc_unsol_event,
+ .setup = alc662_eeepc_setup,
+ .init_hook = alc662_eeepc_inithook,
+ },
[ALC662_ASUS_EEEPC_EP20] = {
.mixers = { alc662_eeepc_ep20_mixer,
alc662_chmode_mixer },
--
1.7.4
[-- Attachment #3: 0002-ALSA-add-audio-support-for-Eee-PC-1004.patch --]
[-- Type: text/plain, Size: 918 bytes --]
From a1c7cb77e8edb0f6c879544fdf45458416781f81 Mon Sep 17 00:00:00 2001
From: Chih-Wei Huang <cwhuang@linux.org.tw>
Date: Thu, 16 Jul 2009 14:43:09 +0800
Subject: [PATCH 2/2] ALSA: HDA: audio support for Eee PC 1004
---
sound/pci/hda/patch_realtek.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 2dd52c6..e1fe0d1 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -15047,6 +15047,7 @@ static struct snd_pci_quirk alc269_cfg_tbl[] = {
ALC269_DMIC),
SND_PCI_QUIRK(0x1043, 0x834a, "ASUS Eeepc S101",
ALC269_DMIC),
+ SND_PCI_QUIRK(0x1043, 0x83a5, "ASUS Eeepc P1004", ALC269_DMIC),
SND_PCI_QUIRK(0x1043, 0x8398, "ASUS P1005HA", ALC269_DMIC),
SND_PCI_QUIRK(0x1043, 0x83ce, "ASUS P1005HA", ALC269_DMIC),
SND_PCI_QUIRK(0x104d, 0x9071, "Sony VAIO", ALC269_AUTO),
--
1.7.4
[-- Attachment #4: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2011-03-11 1:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4D672B85.9020603@linux.org.tw>
2011-03-01 7:35 ` Fix for recording issue of ASUS N82JV Chih-Wei Huang
2011-03-01 8:02 ` Takashi Iwai
2011-03-11 1:34 ` Chih-Wei Huang [this message]
2011-03-11 6:55 ` Takashi Iwai
2011-03-11 7:07 ` Chih-Wei Huang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D797C1E.5060609@linux.org.tw \
--to=cwhuang@linux.org.tw \
--cc=alsa-devel@alsa-project.org \
--cc=kailang@realtek.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.