From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? Date: Wed, 09 Jan 2008 08:39:05 +0100 Message-ID: References: <010720081840.4095.47827221000A2BAB00000FFF220702455305029A06039A9D0100@comcast.net> <1199777722.10421.29.camel@genx.localdomain> <1199780495.10421.32.camel@genx.localdomain> <1199810328.10421.55.camel@genx.localdomain> <1199815030.31742.29.camel@genx.localdomain> 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 mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id E880B24504 for ; Wed, 9 Jan 2008 08:39:05 +0100 (CET) In-Reply-To: <1199815030.31742.29.camel@genx.localdomain> 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: John Stile Cc: Darryl House , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 08 Jan 2008 09:57:10 -0800, John Stile wrote: > > On Tue, 2008-01-08 at 17:50 +0100, Takashi Iwai wrote: > > At Tue, 08 Jan 2008 08:38:48 -0800, > > John Stile wrote: > > > > > > On Tue, 2008-01-08 at 00:21 -0800, John Stile wrote: > > > > On Tue, 2008-01-08 at 08:42 +0100, Takashi Iwai wrote: > > > > > Do you have any ~/.asoundrc or /etc/asound.conf or whatever? > > > > > Remove this once. > > > > > > > > > I had a /etc/conf.d/alsasound which I removed, but no ~/.asoundrc > > > > or /etc/asound.conf. > > > Thank you for all this help. > > > > > > Is the problem with recording digital-in because both digital and analog > > > capture devices have the same identity (i.e. both are hw:0,1)? > > > > Possible. But, I suspect rather it's your configuration problem. > > Are you using the latest HG version of alsa-lib, too? (Don't use > > emerge and some voodoo for gentoo, but do simply install from > > scratch...) > > Ok. I'm trying to get all this right. > > I removed all alsa gentoo packages and verified with 'eix -I alsa' > No matches found. > No alsa binaries found on the system. Thanks. > I rebuilt all alsa from HG checkout this morning (alsa-lib, alsa-util, > alsa-driver) with this procedure: > cd /usr/src/ > rm -rf alsa-lib > hg clone http://hg-mirror.alsa-project.org/alsa-lib alsa-lib > pushd alsa-lib > ./hgcompile && make install > popd > hg clone http://hg-mirror.alsa-project.org/alsa-utils alsa-utils > pushd alsa-utils > aclocal -I m4 && autoconf > ./hgcompile && make install hgcompile would do autoconf, etc, so you don't have to call it manually. > popd > rm -rf alsa-driver > hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver > pushd alsa-driver > hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel > ./hgcompile You can put alsa-driver and alsa-kernel in the same directory level. Make in alsa-driver will create a symlink automatically from ../alsa-kernel. > > This fails ending in: (snip) > make[1]: Entering directory `/usr/src/alsa-driver/acore' > copying file alsa-kernel/core/info.c > patching file info.c > Hunk #2 FAILED at 21. > Hunk #3 succeeded at 156 (offset -1 lines). > Hunk #4 succeeded at 168 (offset -1 lines). > Hunk #5 succeeded at 178 (offset -1 lines). > Hunk #6 succeeded at 209 (offset -1 lines). > Hunk #7 succeeded at 494 (offset -1 lines). > Hunk #8 succeeded at 534 with fuzz 2 (offset -1 lines). > Hunk #9 succeeded at 993 (offset -1 lines). > Hunk #10 succeeded at 1022 (offset -1 lines). > 1 out of 10 hunks FAILED -- saving rejects to file info.c.rej > make[1]: *** [info.c] Error 1 > make[1]: Leaving directory `/usr/src/alsa-driver/acore' > make: *** [dep] Error 1 By any reason, the alsa-driver tree appears inconsistent with alsa-kernel tree. Could you pull again? If it still doesn't work, try hg.alsa-project.org instead. Or try my daily snapshot tarball. You can use configure instead of hgcompile there. ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/ Takashi