From: Florian Schmidt Subject: Re: problem while opening device Date: Tue, 6 Apr 2004 13:41:04 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <20040406134104.190e8c31.mista.tapas@gmx.net> References: <028301c41bc8$650f30c0$f8b6a8c0@ent.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <028301c41bc8$650f30c0$f8b6a8c0@ent.ti.com> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: pavans@india.ti.com Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org On Tue, 6 Apr 2004 16:44:56 +0530 "Pavana Sharma" wrote: > Hi, > > I am running a test application on my alsa driver for arm > platform.Driver > is statically built. > The test application calls the snd_pcm_open. > With device hw:0,0 > > At the target I have created sound driver files with > snddevices.sh In /proc/asound i have the soundcard registered as > card0 . Can anyone give ideas where can be the problem ..?? > > this is the error msg I am getting.. > ----------------snip----------- > ALSA lib pcm.c:1947:(snd_pcm_open_noupdate) Unknown PCM hw:0,0 > -------------------------------- > FYI ..when I use > > cat test.raw > /dev/dsp > > is working. I would think that this sounds like a version mismatch. How do i come to this result? Well, alsamodules seem to be laoded fine [as you have checked /proc/asound/cards]. Oss emu is working too [as you /dev/dsp test shows]. The OSS emu [modules] don't interact with alsa-lib. But the pcm-test program uses alsa-lib.. which version of alsa-drivers do you use [cat /proc/asound/version]? which verison of alsa-utils do you use [aplay --version] which version of alsa-lib do you use? [$EDITOR /usr/include/alsa/version.h]? Flo P.S.: oh i just see you use ARM. I have no idea, if that platform has specific issues, so this post could be void afterall.. -- kT ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click