* Fix for recording issue of ASUS N82JV
[not found] <4D672B85.9020603@linux.org.tw>
@ 2011-03-01 7:35 ` Chih-Wei Huang
2011-03-01 8:02 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: Chih-Wei Huang @ 2011-03-01 7:35 UTC (permalink / raw)
To: tiwai; +Cc: alsa-devel, Kailang Yang
[-- Attachment #1: Type: text/plain, Size: 148 bytes --]
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.
Regards,
[-- Attachment #2: 0001-ALSA-hda-Fix-unable-to-record-issue-on-ASUS-N82JV.patch --]
[-- Type: text/plain, Size: 1157 bytes --]
From 1a61b830b898b4bd281f92eab25d6fc869be701d Mon Sep 17 00:00:00 2001
From: Chih-Wei Huang <cwhuang@linux.org.tw>
Date: Fri, 25 Feb 2011 11:14:31 +0800
Subject: [PATCH] ALSA: hda - Fix unable to record issue on ASUS N82JV
The codec of N82JV is ALC269VB.
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
---
sound/pci/hda/patch_realtek.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 3328a25..0b0800f 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -15015,7 +15015,7 @@ static struct snd_pci_quirk alc269_cfg_tbl[] = {
SND_PCI_QUIRK(0x1043, 0x11e3, "ASUS U33Jc", ALC269VB_AMIC),
SND_PCI_QUIRK(0x1043, 0x1273, "ASUS UL80Jt", ALC269VB_AMIC),
SND_PCI_QUIRK(0x1043, 0x1283, "ASUS U53Jc", ALC269_AMIC),
- SND_PCI_QUIRK(0x1043, 0x12b3, "ASUS N82Jv", ALC269_AMIC),
+ SND_PCI_QUIRK(0x1043, 0x12b3, "ASUS N82JV", ALC269VB_AMIC),
SND_PCI_QUIRK(0x1043, 0x12d3, "ASUS N61Jv", ALC269_AMIC),
SND_PCI_QUIRK(0x1043, 0x13a3, "ASUS UL30Vt", ALC269_AMIC),
SND_PCI_QUIRK(0x1043, 0x1373, "ASUS G73JX", ALC269_AMIC),
--
1.7.3.2
[-- 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] 5+ messages in thread
* Re: Fix for recording issue of ASUS N82JV
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
0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2011-03-01 8:02 UTC (permalink / raw)
To: Chih-Wei Huang; +Cc: alsa-devel, Kailang Yang
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.
Takashi
>
> Regards,
>
> [2 0001-ALSA-hda-Fix-unable-to-record-issue-on-ASUS-N82JV.patch <text/plain (base64)>]
> From 1a61b830b898b4bd281f92eab25d6fc869be701d Mon Sep 17 00:00:00 2001
> From: Chih-Wei Huang <cwhuang@linux.org.tw>
> Date: Fri, 25 Feb 2011 11:14:31 +0800
> Subject: [PATCH] ALSA: hda - Fix unable to record issue on ASUS N82JV
>
> The codec of N82JV is ALC269VB.
>
> Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
> ---
> sound/pci/hda/patch_realtek.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index 3328a25..0b0800f 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -15015,7 +15015,7 @@ static struct snd_pci_quirk alc269_cfg_tbl[] = {
> SND_PCI_QUIRK(0x1043, 0x11e3, "ASUS U33Jc", ALC269VB_AMIC),
> SND_PCI_QUIRK(0x1043, 0x1273, "ASUS UL80Jt", ALC269VB_AMIC),
> SND_PCI_QUIRK(0x1043, 0x1283, "ASUS U53Jc", ALC269_AMIC),
> - SND_PCI_QUIRK(0x1043, 0x12b3, "ASUS N82Jv", ALC269_AMIC),
> + SND_PCI_QUIRK(0x1043, 0x12b3, "ASUS N82JV", ALC269VB_AMIC),
> SND_PCI_QUIRK(0x1043, 0x12d3, "ASUS N61Jv", ALC269_AMIC),
> SND_PCI_QUIRK(0x1043, 0x13a3, "ASUS UL30Vt", ALC269_AMIC),
> SND_PCI_QUIRK(0x1043, 0x1373, "ASUS G73JX", ALC269_AMIC),
> --
> 1.7.3.2
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Fix for recording issue of ASUS N82JV
2011-03-01 8:02 ` Takashi Iwai
@ 2011-03-11 1:34 ` Chih-Wei Huang
2011-03-11 6:55 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: Chih-Wei Huang @ 2011-03-11 1:34 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel, Kailang Yang
[-- 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: Fix for recording issue of ASUS N82JV
2011-03-11 1:34 ` Chih-Wei Huang
@ 2011-03-11 6:55 ` Takashi Iwai
2011-03-11 7:07 ` Chih-Wei Huang
0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2011-03-11 6:55 UTC (permalink / raw)
To: Chih-Wei Huang; +Cc: alsa-devel, Kailang Yang
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
>
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Fix for recording issue of ASUS N82JV
2011-03-11 6:55 ` Takashi Iwai
@ 2011-03-11 7:07 ` Chih-Wei Huang
0 siblings, 0 replies; 5+ messages in thread
From: Chih-Wei Huang @ 2011-03-11 7:07 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel, Kailang Yang
Well, the patch for 900 is an old one.
I thought without it the audio won't work on 900.
Anyway, I'll verify your suggestion without it.
Thanks!
Regards,
於 西元2011年03月11日 14:55, Takashi Iwai 提到:
> 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.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-03-11 7:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
2011-03-11 6:55 ` Takashi Iwai
2011-03-11 7:07 ` Chih-Wei Huang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).