[linux-audio-user] Getting SPDIFF Output to work

bosr at xs4all.nl bosr at xs4all.nl
Sun Dec 22 14:47:01 EST 2002


Hi,

I'm trying to get my digital output (SPDIFF) to work.  I have a Creative
SB Audigy.  I managed to get the digital output to work with the OpenSource
emu10k1 drivers at sourceforge (http://sourceforge.net/projects/emu10k1/),
but I'm trying to switch to ALSA drivers, because the documentation with
mplayer suggested switching to them for AC3 passthrough functionality.


So, I built the ALSA stuff from CVS, and got the analog part to work fine.
However, the digital output is not working...  Tweaking with the alsamixer
settings does not seem to help.

Currently, the XMMS output plugins I've tried to use are both Esound Output
Plugin 1.2.7 and the OSS Driver 1.2.7 (the former of which worked fine to
produce the digital output with the emu10k1 driver).

Does anyone have any idea how to get this working?


This is the sound portion of lsmod:
Module                  Size  Used by    Tainted: P
snd-pcm-oss            43492   1 (autoclean)
snd-mixer-oss          15288   1 (autoclean) [snd-pcm-oss]
snd-emu10k1            79920   2 (autoclean)
snd-pcm                81472   0 (autoclean) [snd-pcm-oss snd-emu10k1]
snd-timer              15272   0 (autoclean) [snd-pcm]
snd-util-mem            3096   0 (autoclean) [snd-emu10k1]
snd-hwdep               5760   0 (autoclean) [snd-emu10k1]
snd-rawmidi            18592   0 (autoclean) [snd-emu10k1]
snd-seq-device          6252   0 (autoclean) [snd-emu10k1 snd-rawmidi]
snd-ac97-codec         37896   0 (autoclean) [snd-emu10k1]
snd                    42572   0 (autoclean) [snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-util-mem snd-hwdep snd


and this is the sound portion of my modules.conf:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-emu10k1

post-install snd-emu10k1 /usr/sbin/alsactl restore
pre-remove snd-emu10k1 /usr/sbin/alsactl store

# module options should go here
options snd-emu10k1 index=0 extin=0x0fc3 extout=0x1f0f
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss


Some versioning info:
 - cat /proc/asound/version
  Advanced Linux Sound Architecture Driver Version 0.9.0rc6.
   Compiled on Dec  1 2002 for kernel 2.4.20 with versioned symbols.



TIA,
Reinier.




More information about the Linux-audio-user mailing list