[From nobody Wed Sep 12 22:32:01 2007
Received: (at submit) by bugs.debian.org; 20 Aug 2007 15:04:45 +0000
Return-path: &lt;matt@woodwaysolutions.co.uk&gt;
Received: from mtaout03-winn.ispmail.ntl.com ([81.103.221.49])
	by rietz.debian.org with esmtp (Exim 4.50) id 1IN8o9-0001pa-Hc
	for submit@bugs.debian.org; Mon, 20 Aug 2007 15:04:45 +0000
Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35])
	by mtaout03-winn.ispmail.ntl.com with ESMTP id
	&lt;20070820150413.HXOT13.mtaout03-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com&gt;
	for &lt;submit@bugs.debian.org&gt;; Mon, 20 Aug 2007 16:04:13 +0100
Received: from [192.168.0.13] (really [82.26.205.32])
	by aamtaout03-winn.ispmail.ntl.com with ESMTP id
	&lt;20070820150413.UXYI26699.aamtaout03-winn.ispmail.ntl.com@[192.168.0.13]&gt;
	for &lt;submit@bugs.debian.org&gt;; Mon, 20 Aug 2007 16:04:13 +0100
Message-ID: &lt;46C9AD6D.1030508@woodwaysolutions.co.uk&gt;
Date: Mon, 20 Aug 2007 16:04:13 +0100
From: Matthew Grice &lt;matt@woodwaysolutions.co.uk&gt;
User-Agent: Icedove 1.5.0.12 (X11/20070606)
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: alsa-base: alsa modules loaded but /proc/asound/cards remains empty
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on rietz.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-9.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=ham version=2.60-bugs.debian.org_2005_01_02

Package: alsa-base
Version: 1.0.14-1


I'm using Debian Unstable (Lenny) on the AMD64 platform.

  All the correct ALSA modules are loaded for my soundcard:

matt@giant:~$ lsmod | grep snd
snd_via82xx            34600  0
gameport               21264  1 snd_via82xx
snd_ac97_codec        117336  1 snd_via82xx
ac97_bus                7040  1 snd_ac97_codec
snd_pcm                89736  2 snd_via82xx,snd_ac97_codec
snd_timer              28552  1 snd_pcm
snd_page_alloc         15120  2 snd_via82xx,snd_pcm
snd_mpu401_uart        13568  1 snd_via82xx
snd_rawmidi            30880  1 snd_mpu401_uart
snd_seq_device         13076  1 snd_rawmidi
snd                    69104  7 
snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              15392  3 snd,via82cxxx_audio,sound
matt@giant:~$

But! There is no mention of a soundcard in /proc/asound/cards:

matt@giant:~$ cat /proc/asound/cards
--- no soundcards ---
matt@giant:~$

the kernel reports the soundcards correctly configured:

matt@giant:~$ dmesg | grep [Vv][Ii][Aa]82
via82cxxx: Six channel audio available
via82cxxx: Codec rate locked at 48Khz
via82cxxx: board #1 at 0xDC00, IRQ 193
via82cxxx: Six channel audio available
via82cxxx: Codec rate locked at 48Khz
via82cxxx: board #1 at 0xDC00, IRQ 193
matt@giant:~$

But alsa reports that there are no cards to applications:

matt@giant:~$ xmms
Message: device: default

** WARNING **: alsa_get_mixer(): Attaching to mixer hw:0 failed: No such 
device
ALSA lib confmisc.c:769:(parse_card) cannot find card '@
                                                         �'
ALSA lib conf.c:3510:(_snd_config_evaluate) function 
snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat 
returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer 
returned error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM dmix

** WARNING **: alsa_setup(): Failed to open pcm device (default): No 
such device
matt@giant:~$

Neverwinter Nights also reports that no card can be found.

gnome-sound-properties fails when ALSA is selected with:

matt@giant:~$ gnome-sound-properties
sound-properties-Message: Error running pipeline 'audiotestsrc wave=sine 
freq=512 ! audioconvert ! audioresample ! gconfaudiosink': Internal 
GStreamer error: state change failed.  Please file a bug at 
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. 
[gstswitchsink.c(155): gst_switch_commit_new_kid (): 
/pipeline0/gconfaudiosink0:
Failed to set state on new child.]
matt@giant:~$

I hope I have provided enough relevant information.

Many thanks,

Matt Grice


]