Hi!

I am a little desperate, I'm trying to get surround sound 
to work with cvs-alsa, 0.9.0beta11 on SB Live 5.1 as card0
on a Debian-halfway-woody system Kernel 2.4.17.
(There is also an onboard sis7012, it is configured as card1)

Basic install works fine, normal stereo works.
I'd like to get ac3dec to work in -4 *or* -6 mode,
but it stops with the following message:
 
        sneumann@athlet:~$ ac3dec -6  sound.ac3 
        5.1 Mode 48.0 KHz 448 kbps Complete Main Audio Service
        Using PCM device 'surround51'
        ALSA lib conf.c:2463:(snd_config_hooks_call) function
snd_config_hook_load_for_all_cards returned error: Invalid argument
        ALSA lib pcm.c:1607:(snd_pcm_open_conf) Invalid type for PCM
surround51 definition (id: surround51, value: cards.pcm.surround51)
        snd_pcm_open: Invalid argument
        Output open failed

I have no /etc/alsa/* files, which could be a leftover from
earlier versions, nor a ~/.asoundrc. I deleted /etc/asound.state 
and regenerated using alsactl. This file is *long*.
I hope end users are not supposed to edit these matrix mixers by
hand...

strace shows that conf files in /usr/share/alsa are opened,
including EMU10K1 and surround51 files. It also tries 
to open /etc/asound.config and ~/.asoundrc

Am I missing any configuration there ?  All docs suggest that things 
are fine once you have the modules set correctly.

My major problem is that once things don't work out of the box
you need a grasp on what should be going on to find where 
it doesn't work: which /proc/asound files to check, ...

Hope for any help,
yours,
Steffen


-------------------------------------------------------

open("/homes/sneumann/sound.ac3", O_RDONLY) = 3
5.1 Mode 48.0 KHz 448 kbps Complete Main Audio Service
Using PCM device 'surround51'
open("/usr/share/alsa/alsa.conf", O_RDONLY) = 4
access("/etc/asound.conf", R_OK)        = -1 ENOENT (No such file or
directory)
access("/homes/sneumann/.asoundrc", R_OK) = -1 ENOENT (No such file or
directory)
open("/usr/share/alsa/cards/aliases.conf", O_RDONLY) = 4
open("/dev/snd/controlC0", O_RDONLY)    = 4
open("/dev/snd/controlC0", O_RDONLY)    = 4
open("/dev/snd/controlC0", O_RDWR)      = 4
access("/usr/share/alsa/cards/EMU10K1.conf", R_OK) = 0
open("/usr/share/alsa/cards/EMU10K1.conf", O_RDONLY) = 4
open("/usr/share/alsa/pcm/front.conf", O_RDONLY) = 5
open("/usr/share/alsa/pcm/rear.conf", O_RDONLY) = 5
open("/usr/share/alsa/pcm/center_lfe.conf", O_RDONLY) = 5
open("/usr/share/alsa/pcm/surround40.conf", O_RDONLY) = 5
open("/usr/share/alsa/pcm/surround51.conf", O_RDONLY) = 5
open("/usr/share/alsa/pcm/iec958.conf", O_RDONLY) = 5
open("/dev/snd/controlC1", O_RDONLY)    = 4
open("/dev/snd/controlC1", O_RDONLY)    = 4
open("/dev/snd/controlC1", O_RDWR)      = 4
access("/usr/share/alsa/cards/ICH.conf", R_OK) = 0
open("/usr/share/alsa/cards/ICH.conf", O_RDONLY) = 4
open("/usr/share/alsa/pcm/front.conf", O_RDONLY) = 5
open("/usr/share/alsa/pcm/surround40.conf", O_RDONLY) = 5
open("/usr/share/alsa/pcm/surround51.conf", O_RDONLY) = 5
open("/usr/share/alsa/pcm/iec958.conf", O_RDONLY) = 5
open("/dev/snd/controlC2", O_RDONLY)    = 4
open("/dev/snd/controlC2", O_RDONLY)    = 4
open("/dev/snd/controlC2", O_RDWR)      = 4
ALSA lib conf.c:2463:(snd_config_hooks_call) function
snd_config_hook_load_for_all_cards returned error: Invalid argument
ALSA lib pcm.c:1607:(snd_pcm_open_conf) Invalid type for PCM
surround51 definition (id: surround51, value: cards.pcm.surround51)
snd_pcm_open: Invalid argument
Output open failed

-------------------------------------------------------

state.card0 {
        control.1 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 100'
                iface MIXER
                name 'Wave Playback Volume'
                value.0 100
                value.1 100
        }
...
        control.72 {
                comment.access 'read write inactive'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name 'EMU10K1 PCM Send Routing'
                value.0 0
                value.1 0
                value.2 1
                value.3 0
                value.4 0
                value.5 0
                value.6 1
                value.7 0
                value.8 0
                value.9 0
                value.10 1
                value.11 0
        }



_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to