All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Mathias Kretschmer <mathias@lemur.sytes.net>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: VIA EPIA (VT1612A) and SPDIF
Date: Wed, 19 Feb 2003 10:29:14 +0100	[thread overview]
Message-ID: <s5h7kbwhb4l.wl@alsa2.suse.de> (raw)
In-Reply-To: <3E52CD2B.7090505@lemur.sytes.net>

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

At Tue, 18 Feb 2003 19:17:47 -0500,
Mathias Kretschmer wrote:
> 
> Hi,
> 
> I'm wondering if anyone has SPDIF working on the
> VIA EPIA ESP5000 under rc7?
> 
> Analog output is working fine for me using rc7 and the CVS via82xx 
> module (1.25). But, I didn't have any luck getting SPDIF (PCM) to work 
> using a Pioneer Digital Receiver.
> 
> Any success reports or any hints which knobs to turn to make it work ?

the code on rc7 doesn't set the correct SPDIF rate, so it won't work
properly.  i changed via82xx.c to set it for via686, too.  please try
the cvs version.

in addition, copy the attached to /usr/share/alsa/cards.
and try playback via "spdif" or "iec958" pcm, e.g.

	% aplay -Dspdif foo.wav

(don't ask me how to use spdif on oss programs :)


Takashi

[-- Attachment #2: VIA686A.conf --]
[-- Type: application/octet-stream, Size: 852 bytes --]

#
# Configuration for the VIA686
#

<confdir:pcm/front.conf>

VIA686A.pcm.front.0 {
	@args [ CARD ]
	@args.CARD {
		type string
	}
	type hw
	card $CARD
	device 0
}	

<confdir:pcm/iec958.conf>

VIA686A.pcm.iec958.0 {
	@args [ CARD AES0 AES1 AES2 AES3 ]
	@args.CARD {
		type string
	}
	@args.DEV {
		type integer
	}
	@args.AES0 {
		type integer
	}
	@args.AES1 {
		type integer
	}
	@args.AES2 {
		type integer
	}
	@args.AES3 {
		type integer
	}
	type hooks
	slave.pcm {
		type hw
		card $CARD
		device 0
	}
	hooks.0 {
		type ctl_elems
		hook_args [
			{
				name "IEC958 Playback AC97-SPSA"
				lock true
				preserve true
				value 0
			}
			{
				name "IEC958 Playback Default"
				lock true
				preserve true
				value [ $AES0 $AES1 $AES2 $AES3 ]
			}
			{
				name "IEC958 Playback Switch"
				lock true
				preserve true
				value true
			}
		]
	}
}

  reply	other threads:[~2003-02-19  9:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19  0:17 VIA EPIA (VT1612A) and SPDIF Mathias Kretschmer
2003-02-19  9:29 ` Takashi Iwai [this message]
2003-02-22  3:19   ` Mathias Kretschmer
2003-02-19 10:30 ` rules for /proc/asound [was: VIA EPIA (VT1612A) and SPDIF] Martin Langer

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=s5h7kbwhb4l.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=mathias@lemur.sytes.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.