ALSA: aplay -l gives error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
 

I've alsa-driver 1.0.9rc2 installed on my arm board. And I've 
also installed the alsa-lib and alsa-utils of same version. But
when I say : # aplay -l it gives error saying

# aplay -l
**** List of PLAYBACK Hardware Devices ****
aplay: device_list:208: control open (0): Invalid argument


My /proc/asound directory shows following results.


# ls -l /proc/asound/
lrwxrwxrwx    1 root     root            5 Dec 31 17:27 UCB1400 -> card0
dr-xr-xr-x    5 root     root            0 Dec 31 17:27 card0
-r--r--r--    1 root     root            0 Dec 31 17:27 cards
-r--r--r--    1 root     root            0 Dec 31 17:27 devices
dr-xr-xr-x    2 root     root            0 Dec 31 17:27 oss
-r--r--r--    1 root     root            0 Dec 31 17:27 pcm
-r--r--r--    1 root     root            0 Dec 31 17:27 timers
-r--r--r--    1 root     root            0 Dec 31 17:27 version


# cat /proc/asound/cards
0 [UCB1400        ]: pxa2xx-ac97 - UCB1400
                     pxa2xx-ac97 (Philips UCB1400)


# cat /proc/asound/devices
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer


I've run the ./snddevices script. 

When I cat the wav file directly to /dev/dsp0 I can hear the wav file
correctly. But not working with aplay. I even tried aplay -D hw:0,0
mySound.wav but it gives 
main:508: audio open error: Invalid argument.


I've configured the alsa-lib using 


# CC=arm-linux-gcc ./configure --host=arm-linux --target=arm-linux
--prefix=/home/Mylinux/rootfs/


and alsa-utils using


# CC=arm-linux-gcc ./configure --host=arm-linux --target=arm-linux
--prefix=/home/Mylinux/rootfs/ --disable-alsamixer


Have I done something wrong? Any help would be appreciated. Sorry for
the english.

Thanks,
S.Belhe







-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux