Gentleman:
I have the alsa-libs and alsa-utils on my board now. I want to thank all for the time and advice.
For the benefit of the archives, I have a at91sam9260ek running Linux 2.6.22-rc1. I am using buildroot to for my cross-compiling tools and to generate my rfs. To get the alsa libs and utils on board, I did the following:
For alsa-libs: CC=arm-linux-gcc ./configure --target=arm-linux --host=i686-pc-linux-gnu --prefix=/usr
and then make install DESTDIR=$HOME/buildroot/build_arm/root/
where the rfs for my target is built in $HOME/buildroot/build_arm/root before making the image.
For alsa-utils: CC=arm-linux-gcc ./configure --target=arm-linux --host=i686-pc-linux-gnu --prefix=/usr --with-alsa-inc-prefix=$HOME/Linux_Builds/buildroot/build_arm/root/usr/include --with-alsa-prefix=$HOME/Linux_Builds/buildroot/build_arm/root/usr/lib --disable-alsamixer
and then make install DESTDIR=/home/grhuser/buildroot/build_arm/root/
Then I remade the image and booted my board. I do not have the nodes built automatically yet, so I had to do that....giving me:
/dev/snd $ ls -l crw-rw-rw- 1 root root 116, 0 Dec 31 17:08 controlC0 crw-rw-rw- 1 root root 116, 24 Dec 31 17:09 pcmC0D0c crw-rw-rw- 1 root root 116, 16 Dec 31 17:10 pcmC0D0p
when I check with aplay, I get:
/dev/snd $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: GRHEKW6811 [GRH_EK_W6811], device 0: W6811 W6811-PCM-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0
and with arecord: /dev/snd $ arecord -l **** List of CAPTURE Hardware Devices **** card 0: GRHEKW6811 [GRH_EK_W6811], device 0: W6811 W6811-PCM-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0
However, I have been unable to achieve any kind of playback using speaker-test or aplay. The speaker pops like it wants to play, but I get the following when trying speaker test:
/dev/snd $ speaker-test -D default -r 8000 -f 1020 -F S8
speaker-test 1.0.14
Playback device is default Stream parameters are 8000Hz, S8, 1 channels Using 16 octaves of pink noise Rate set to 8000Hz (requested 8000Hz) Buffer size range from 64 to 32768 Period size range from 32 to 8192 Using max buffer size 32768 Periods = 4 was set period_size = 0 was set buffer_size = 32768 Unable to set sw params for playback: Invalid argument Setting of swparams failed: Invalid argument /dev/snd $
Anyone know where I should look for the problem?
Thanks.
Paul
*************************************** Paul David Kavan Project Engineer GRH Electronics, Inc. 402-734-4900 pkavan@gmail.com ***************************************