Skip to contentSkip to conversation

VIA EPIA (VT1612A) and SPDIF

DISCUSSION Mathias Kretschmer 3 participants 4 messages Feb 19, 2003 – Feb 22, 2003

lore
Share & tools
lore
#0 lore raw

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 ?

Cheers,

Mathias

Some info from /proc/asound:

[root@musicbox root]# cat /proc/asound/cards
0 [rev40 ]: VIA686A - VIA 82C686A/B rev40

                     VIA 82C686A/B rev40 at 0xdc00, irq 10

[root@musicbox root]# cat /proc/asound/card0/ac97#0 0-0/0: VIA Technologies VIA1612A

Capabilities : -headphone out-
DAC resolution : 18-bit
ADC resolution : 18-bit
3D enhancement : Reserved 27

Current setup
Mic gain : +0dB [+0dB]
POP path : pre 3D
Sim. stereo : off

3D enhancement   : off
Loudness         : off
Mono output      : MIX
Mic select       : Mic1

ADC/DAC loopback : off
Extended ID : codec=0 rev=0 AMAP DSA=0 SPDIF VRA
Extended status : SPDIF=3/4 SPDIF VRA
PCM front DAC : 44100Hz
PCM ADC : 48000Hz
SPDIF Control : Consumer PCM Copyright Category=0x2 Generation=1 Rate=48kHz

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf

#1 lore raw

At Tue, 18 Feb 2003 19:17:47 -0500,

Quoted 11 lines · Mathias Kretschmer

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

#3 lore raw

rules for /proc/asound [was: VIA EPIA (VT1612A) and SPDIF]

In reply to Mathias Kretschmer
Quoted 17 lines · Mathias Kretschmer

[root@musicbox root]# cat /proc/asound/card0/ac97#0 0-0/0: VIA Technologies VIA1612A

Capabilities : -headphone out-
DAC resolution : 18-bit
ADC resolution : 18-bit
3D enhancement : Reserved 27

Current setup
Mic gain : +0dB [+0dB]
POP path : pre 3D
Sim. stereo : off

3D enhancement   : off
Loudness         : off
Mono output      : MIX
Mic select       : Mic1
Quoted 8 lines

ADC/DAC loopback : off
Extended ID : codec=0 rev=0 AMAP DSA=0 SPDIF VRA
Extended status : SPDIF=3/4 SPDIF VRA
PCM front DAC : 44100Hz
PCM ADC : 48000Hz
SPDIF Control : Consumer PCM Copyright Category=0x2 Generation=1
Rate=48kHz

Are there any rules for /proc/asound/cardX/XXX status files? Has it to be readable by an external script? I think using standard control names can be one point. Are there other things I have to think about? Or is it still an area without rules?

martin

-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge

#2 lore raw
In reply to Takashi Iwai
Quoted 8 lines · Takashi Iwai

At Tue, 18 Feb 2003 19:17:47 -0500,

Quoted 5 lines · Mathias Kretschmer

Hi,

I'm wondering if anyone has SPDIF working on the
VIA EPIA ESP5000 under rc7?

Quoted 8 lines
Quoted 3 lines

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.

OK, I just installed the lastest CVS snapshot and also copied VIA686A.conf to /usr/share/alsa/cards.

Using aplay I'm getting some spdif output. It's very jerky, though.
There is audio for a few 100ms and then silence, and then signal again. Same effect using an OSS player. The analog output works fine - no interruptions at all.

The sample rate as either 44.1kHz or 48kHz - same problem.

I just got a EPIA-M1000 board. It has a 8235 and spdif works just fine here using either aplay or an OSS player.

Any further info I can provide to help tracking down the problem ?

Cheers,

Mathias

-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge