[alsa-devel] Unable to play aplay
vasudha rao
vasudha.jrao at gmail.com
Thu Sep 11 07:16:22 CEST 2008
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 <vasudha.jrao at gmail.com>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 <anuj.aggarwal at gmail.com>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 <vasudha.jrao at gmail.com>
>> 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 at alsa-project.org
>> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>>
>>
>>
>> --
>> Best Regards,
>> Anuj Aggarwal
>>
>
>
More information about the Alsa-devel
mailing list