I spend almost 4 evenings compiling and testing kernels with no luck to get the sound working.
Maybe someone can point me in the right direction according to this linuxmce wiki article http://wiki.linuxmce.org/index.php/Mini2440 .
I will paste my post from the friendlyarm forums to here,
the url for my topic on the friendlyarm forums is http://www.friendlyarm.org/topic.asp?TOPIC_ID=107
I recently got the "buserror" kernel (http://repo.or.cz/w/linux-2.6/mini2440.git) up and running with uboot and it creates the correct device nodes but when i play with aplay or madplay i dont get any sound. I tried many root filesystems including qtopia, debian armel port and some handmade stuff (busybox and madplay). All is fine but i dont get sound out of the board (only with the default qtopia install).
I first had this problems:
Jerry Jacobs 2009-07-26 23:00:57
I got the latest busybox up and running with all things, and copied over
your rcS and mdev.conf but the /dev/dsp node is not created. And dont have
a solution for it.
Jerry Jacobs 2009-07-28 23:25:32
The story goes on and i tried different things:
+ Create uImage from friendlyarm latest kernel source which does not boot with u-boot (and uboot does not boot zImages).
+ Create uImage from buserror public git tree
and get this output from booting:
Advanced Linux Sound Architecture Driver Version 1.0.18a.
No device for DAI UDA134X
No device for DAI s3c24xx-i2s
S3C24XX_UDA134X SoC Audio driver
UDA134X SoC Audio Codec
asoc: UDA134X <-> s3c24xx-i2s mapping ok
ALSA device list:
#0: S3C24XX_UDA134X (UDA134X)
The nodes pcmC0D0c and pcmC0D0p are created but no /dev/dsp (with as
+ I tried reflashing with the original vivi qtopia and zImage and it
works then (madplay).
I dont know where to look to setup the correct settings to get the sound
And solved to create the old /dev/dsp and /dev/audio . I looked at the same config as the shipped kernel from friendlyarm. Specialy these:
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_PCM_OSS_PLUGINS is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
I tried many a few distros like emdebian, angstrom, and handmade stuff with busybox. The /proc/asound looks good and the UDA13xx is in the devices "file". With emdebian i can use alsamixer/alsaconf/aplay but i cant get any sound out of it.
I hope someone has compilated a kernel with the correct settings to get the sound working.