Re: Patch for ALC882

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Thu, 17 Jan 2008 23:05:24 -0800,
Kip Warner wrote:
> 
> On Fri, 2008-01-18 at 07:52 +0100, Takashi Iwai wrote:
> 
> > Not yet.  You mixed up many things in your patch.  So it cannot be
> > applied as is.  I need to sort out the real fix in the patch at
> > first.
> > 
> > Takashi
> 
> If it makes any difference, the latest nightly works just fine as is
> with my card. Also, the Realtek developer who made the patch can be
> reached at pshou pshou AT realtek.com.tw.

The necessary changes are likely only what's in the below.
Could you try it with the latest HG version, or the latest daily
snapshot tarball?


Takashi

diff -r 1cb5fe1b2443 pci/hda/patch_realtek.c
--- a/pci/hda/patch_realtek.c	Thu Jan 17 17:44:49 2008 +0100
+++ b/pci/hda/patch_realtek.c	Fri Jan 18 08:28:15 2008 +0100
@@ -5645,7 +5645,9 @@ static struct hda_verb alc882_asus_a7j_v
 
 	{0x18, AC_VERB_SET_CONNECT_SEL, 0x02}, /* mic/clfe */
 	{0x1a, AC_VERB_SET_CONNECT_SEL, 0x01}, /* line/surround */
-	{0x1b, AC_VERB_SET_CONNECT_SEL, 0x00}, /* HP */
+	{0x1b, AC_VERB_SET_CONNECT_SEL, 0x00}, /* line */
+	{0x1b, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN},
+	{0x1b, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE},
 	{ } /* end */
 };
 
@@ -5969,7 +5971,8 @@ static struct alc_config_preset alc882_p
 	[ALC882_ASUS_A7J] = {
 		.mixers = { alc882_asus_a7j_mixer, alc882_chmode_mixer,
 			    alc882_capture_mixer },
-		.init_verbs = { alc882_init_verbs, alc882_asus_a7j_verbs},
+		.init_verbs = { alc882_init_verbs, alc882_asus_a7j_verbs,
+				alc880_gpio1_init_verbs },
 		.num_dacs = ARRAY_SIZE(alc882_dac_nids),
 		.dac_nids = alc882_dac_nids,
 		.dig_out_nid = ALC882_DIGOUT_NID,
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux