From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: PATCH] SPDIF out clock sync for via8235 / ALC650 Date: Mon, 03 Feb 2003 11:45:06 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <200212302130.gBULUVp24791@ann-arbor.fmfts.com> <200302021203.h12C32409925@ann-arbor.fmfts.com> <3E3E462E.B2EDC7D8@lysator.liu.se> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <3E3E462E.B2EDC7D8@lysator.liu.se> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: David =?ISO-8859-1?Q?Bj=F6rkevik?= Cc: jgotts@linuxsavvy.com, alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Mon, 03 Feb 2003 11:36:30 +0100, David Björkevik wrote: > > Takashi Iwai wrote: > > > > At Sun, 02 Feb 2003 07:03:02 -0500, > > jgotts@linuxsavvy.com wrote: > > > > > > In message <200212302130.gBULUVp24791@ann-arbor.fmfts.com>, jgotts@linuxsavvy.c > > > om writes: > > > > > > >I have produced a minimal patch based upon your work in CVS to get the SPDIF > > > >port going on A7V8X motherboards with 0.9.0rc6 until 0.9.0rc7 is released: > > > > > > I'm not sure what went wrong with 0.9.0rc7, but SPDIF output still doesn't > > > work with my chipset. The patch only had cosmetic changes in the 0.9.0rc7 > > > release, so something must have been broken between the CVS tree as of December > > > 30th and the 0.9.0rc7 release. > > > > on rc7, you don't need a patch. try to use "spdif" pcm for the spdif > > output. it uses the SDX3 channel as described in the data sheet. > > > > playing through the spdif-out on the multi-channel is still posstible, > > too. but you need to reset "IEC958 AC97-SPSA" to 0, which corresponds > > to the slot 3/4, while the slot 10/11 is used as default on via823x. > > This did not work for me. Using rc7 my DAC does not lock to a signal > using any combination of spdif/default output or AC97-SPSA setting. > > When applying jgotts patch to rc6 I managed to get lock on some > combinations, but the signal still seemed strange and my DAC did not > produce any sound. hmm. the behavior of via82xx driver depends on the chip model. hence, first, please check your chip model listed on /proc/asound/cards. if it's a VIA8233A, you need to set - "IEC958 Output" to true - "IEC958 Playback" to true - "IEC958 SPSA" to 0 i'm not sure whether "IEC958 Output" can be false. this register bit controls the DSX3 channel spdif output. the playback on the DSX3 channel is implemented as hw:1 but i don't know whether this channel is available on VIA8233A. if you have VIA8233A, please check whether playback on hw:1 does work (regardless whether the sound comes out or not). % aplay -Dhw:1 foo.wav if you have another VIA823x, namely, 8233, 8233C and 8235 chips, you must have valid DSX channels. Takashi ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com