[alsa-devel] Patch for ALC882
Kip Warner
kip at thevertigo.com
Mon Jan 21 03:04:07 CET 2008
On Fri, 2008-01-18 at 11:00 +0100, Takashi Iwai wrote:
> 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,
I just applied your patch against the latest alsa-driver-hg20080120
bzip'd tarball. I tried it both with and without the patch and both ways
produce proper four speaker sound. Please let me know if I can be of any
further assistance.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20080120/496e1548/attachment.sig
More information about the Alsa-devel
mailing list