From: "vasudha rao" Subject: Re: Unable to play aplay Date: Thu, 11 Sep 2008 10:46:22 +0530 Message-ID: References: <2ee9e08d0809101124t76b0aca9n314185c989a50019@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.245]) by alsa0.perex.cz (Postfix) with ESMTP id DC39024382 for ; Thu, 11 Sep 2008 07:16:23 +0200 (CEST) Received: by rv-out-0708.google.com with SMTP id f25so182499rvb.32 for ; Wed, 10 Sep 2008 22:16:22 -0700 (PDT) In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: aggarwal Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Hi anuj , Sorry my mistake..that time I hav not loaded conf files in /usr/share/ .. I loaded now.. So now when I give command like, ------------------------------------------------- $aplay -l **** List of PLAYBACK Hardware Devices **** card 0: AC97 [Atmel AC97], device 0: Atmel AC97 [Atmel AC97] Subdevices: 1/1 Subdevice #0: subdevice #0 --------------------------------------------------- but,aplay not proper,, ---------------------------- $aplay aplay: main:508: audio open error: Inappropriate ioctl for device ---------------------------- Where I am doing wrong..?? Thank you.. On Thu, Sep 11, 2008 at 10:07 AM, vasudha rao wrote: > > > > Hi Anuj, > > Nodes were not there before..I created now.. > > Now when I did $aplay -l , > I got, > > **** List of PLAYBACK Hardware Devices *** > *ALSA lib control.c:739:(snd_ctl_open_noupdate) Invalid CTL hw:0 > aplay: device_list:208: control open (0): No such file or directory > aplay: conf.c:3083: snd_config_update_free: Assertion `update->count > 0 && > update->finfo' failed.Aborted > > Where I am doing wrong..?? > > > > > > > > > > > > > > Thank you.. > > > > > > > > > On Wed, Sep 10, 2008 at 11:54 PM, anuj aggarwal wrote: > >> Vasudha, >> >> Could you please check the device nodes in /dev/snd folder? The >> desired output is: >> >> [root@ /home]# ls -l /dev/snd/ >> crw-rw---- 1 root root 116, 5 Jan 1 00:00 controlC0 >> crw-rw---- 1 root root 116, 4 Jan 1 00:00 pcmC0D0c >> crw-rw---- 1 root root 116, 3 Jan 1 00:00 pcmC0D0p >> >> If the nodes are not there, you have to create them first before trying >> aplay. >> >> Regards, >> Anuj >> >> >> On Wed, Sep 10, 2008 at 6:16 PM, vasudha rao >> wrote: >> > >> > Hi , >> > >> > I want to play and record audio file in my custom atmel 9263 board >> running >> > with linux(2.6.20). >> > when I tried to play aplay for a wave file, I got >> > >> > $aplay /home/alarm.wav >> > ALSA lib pcm.c:1707:(snd_pcm_open_noupdate) Unknown PCM default >> > aplay: main:446: audio open error: No such file or directory >> > >> > $aplay -l >> > aplay: device_list:187: no soundcards found... >> > >> > $cat /proc/asound/devices >> > 2: : timer >> > 3: : sequencer >> > 4: [ 0- 0]: digital audio playback >> > 5: [ 0] : control >> > >> > Can you tel me where I am doing wrong..?? >> > >> > Thanks in advance.. >> > _______________________________________________ >> > Alsa-devel mailing list >> > Alsa-devel@alsa-project.org >> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >> >> >> >> -- >> Best Regards, >> Anuj Aggarwal >> > >