At Fri, 11 Mar 2011 09:34:22 +0800, Chih-Wei Huang wrote:
Hi Takashi, Thank you for the help.
Here are more patches for realtek codec to support old Eee PC models 900 and 1004.
Doesn't eee900 work with auto-parser with some pin fix-ups? Basically I don't want to add a new model quirks unless really needed. Nowadays the auto-parser works in most cases with fixes of pin-widgets.
Do you have alsa-info.sh outputs available on these machines?
The addition for eee1004 looks OK. I'll apply it.
thanks,
Takashi
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.
[2 0001-ALSA-add-audio-support-for-Eee-PC-900.patch <text/plain (base64)>] 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
[3 0002-ALSA-add-audio-support-for-Eee-PC-1004.patch <text/plain (base64)>] 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