From: Takashi Iwai Subject: Re: snd-hda-intel, AD 1988b: SPDIF output not working correctly, volume low for analog output Date: Mon, 20 Aug 2007 11:26:37 +0200 Message-ID: References: <200707170832.01976.ml_alsa@mortal-soul.de> <200707200829.03682.ml_alsa@mortal-soul.de> <200707232258.24771.ml_alsa@mortal-soul.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id A9D461038EE for ; Mon, 20 Aug 2007 11:26:38 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Zig Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Sat, 18 Aug 2007 14:31:35 +0000 (UTC), Zig wrote: > > Matthias Dahl mortal-soul.de> writes: > > > > > --- patch_analog.c.orig 2007-07-23 22:44:25.000000000 +0200 > > +++ patch_analog.c 2007-07-23 22:45:15.000000000 +0200 > > -2037,12 +2037,8 > > static struct hda_verb ad1988_spdif_init_verbs[] = { > > /* SPDIF out sel */ > > {0x02, AC_VERB_SET_CONNECT_SEL, 0x0}, /* PCM */ > > - {0x0b, AC_VERB_SET_CONNECT_SEL, 0x0}, /* ADC1 */ > > - {0x1d, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0)}, > > - {0x1d, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(1)}, > > /* SPDIF out pin */ > > {0x1b, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE | 0x27}, /* 0dB */ > > - {0x1b, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0) | 0x17}, /* 0dB */ > > > > { } > > }; > > > > > I had similar issues, however patching the file as shown above caused no audio > output at all on the SPDIF unless it was in AC3 passthrough mode. Then it must be a usage error. In the ALSA system, the same stream is used regardless of audio or non-audio data. It might be that you set non-audio bit permanently. Verify with iecset program in alsa-utils package. Takashi