I have been unable to any of the utilities included in alsa-utils
including amixer alsamixer aplay for the last several releases of ALSA
0.9.0X versions. Each time, I have had very similar failures. I will
describe my encountered using the newly released ALSA 0.9.0rc6
version.

I was able to compile and install alsa-driver and alsa-lib however I
was not able to compile the complete alsa-utils. The build process did
complete the building of amixer alsamixer and alsactl however the
process failed while building play.  The error list included at bottom
of post. During previous versions of ALSA I was able to compile aplay,
however I was still never able to use it.

I build and installed the libraries using the buildrpm script, which
worked very well. For my system only RPM controlled files are allowed
in /usr/lib/ other libs belong in /usr/local/lib .

For this test I loaded the snd-dummy drivers into the kernel. When I
use the snd-trident drivers I get the same results. I'm using the
dummy drivers to eliminate the possibility that I am running into a
hardware configuration problem.
 
Here are my results 

>cd /usr/local/src/alsa-utils-0.9.0rc6/

>amixer/amixer scontents
amixer: Mixer attach default error: No such file or directory

>amixer/amixer --card 0 scontents
amixer: Mixer attach hw:0 error: No such file or directory

>alsamixer/alsamixer
alsamixer: function snd_ctl_open failed for default: 
           No such file or directory

>alsamixer/alsamixer -c 0
alsamixer: function snd_ctl_open failed for hw:0: 
           No such file or directory
>su
>alsactl/alsactl store
alsactl/alsactl: save_state:1047: No soundcards found...

>alsactl/alsactl store 0
alsactl/alsactl: get_controls:486: snd_ctl_open error:
                 No such file or directory


*** relivent data  ***

alsa-driver-0.9.0rc6  alsa-lib-0.9.0rc6  alsa-utils-0.9.0rc6
alsa-oss-0.9.0rc1

$ modprobe snd-dummy
$ modprobe snd-pcm-oss
$ modprobe snd-mixer-oss
$ lsmod 

Module                  Size  Used by
snd-pcm-oss            38788   0  (unused)
snd-mixer-oss          10304   0  [snd-pcm-oss]
snd-dummy               3808   0  (unused)
snd-pcm                57056   0  [snd-pcm-oss snd-dummy]
snd-timer               9856   0  [snd-pcm]
snd                    24712   0  [snd-pcm-oss snd-mixer-oss 
                                   snd-dummy snd-pcm snd-timer]
soundcore               3684   3  [snd]
[snip]

note: the last  3 modprobe commands did not generate any dmegs 
      or /var/log messages  

$ rpm -ql alsa-lib | grep libasound
/usr/lib/libasound.la
/usr/lib/libasound.so
/usr/lib/libasound.so.2
/usr/lib/libasound.so.2.0.0

$ cat /etc/modules.conf
[snip]

# ALSA portion
# alias snd-card-0 snd-ens1371 
# alias snd-card-0 snd-trident
alias snd-card-0 snd-dummy

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss 
alias sound-service-0-3 snd-pcm-oss 
alias sound-service-0-12 snd-pcm-oss 


$ cd /usr/local/src/alsa-utils-0.9.0rc6
$ ./configure
[snip]
$ make

[snip]
aplay.c:818: too many arguments to function 
             `snd_pcm_hw_params_get_period_size'
aplay.c:819: too many arguments to function 
             `snd_pcm_hw_params_get_buffer_size'
aplay.c:825: too many arguments to function 
             `snd_pcm_sw_params_get_xfer_align'
make[1]: *** [aplay.o] Error 1



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to