Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: "David Björkevik" <davidb@lysator.liu.se>
Cc: jgotts@linuxsavvy.com, alsa-devel@lists.sourceforge.net
Subject: Re: PATCH] SPDIF out clock sync for via8235 / ALC650
Date: Mon, 03 Feb 2003 11:45:06 +0100	[thread overview]
Message-ID: <s5hadhdiqx9.wl@alsa2.suse.de> (raw)
In-Reply-To: <3E3E462E.B2EDC7D8@lysator.liu.se>

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

  parent reply	other threads:[~2003-02-03 10:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-26 11:42 PATCH] SPDIF out clock sync for via8235 / ALC650 Antonin ENFRUN
2002-11-28 15:32 ` Takashi Iwai
2002-12-30 21:30   ` jgotts
2003-02-02 12:03     ` jgotts
2003-02-03  9:45       ` Takashi Iwai
     [not found]         ` <3E3E462E.B2EDC7D8@lysator.liu.se>
2003-02-03 10:45           ` Takashi Iwai [this message]
     [not found]             ` <3E3E4D63.8BFEC97F@lysator.liu.se>
2003-02-03 11:26               ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hadhdiqx9.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=davidb@lysator.liu.se \
    --cc=jgotts@linuxsavvy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox