Author Topic: Friendlyarm Mini2440 custom kernel sound  (Read 2403 times)

Wafeliron

  • First post!
  • Posts: 1
    • View Profile
Friendlyarm Mini2440 custom kernel sound
« on: August 02, 2009, 12:07:06 pm »
Dear Linuxers,
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 newbielink:http://wiki.linuxmce.org/index.php/Mini2440 [nonactive] .

I will paste my post from the friendlyarm forums to here,
the url for my topic on the friendlyarm forums is newbielink:http://www.friendlyarm.org/topic.asp?TOPIC_ID=107 [nonactive]
Quote
Dear Friendlyarm'ers,
I recently got the "buserror" kernel ( newbielink:http://repo.or.cz/w/linux-2.6/mini2440.git [nonactive]) 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

Dear FriendlyARM,
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.

Regards,
Jerry Jacobs

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
( newbielink:http://repo.or.cz/w/linux-2.6/mini2440.git [nonactive])
   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
qtopia rootfs)

  + 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
creating /dev/dsp.

Regards,
Jerry

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_SOUND=y
CONFIG_SOUND_OSS_CORE=y
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
# CONFIG_SND_SEQUENCER is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
# CONFIG_SND_PCM_OSS_PLUGINS is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_VERBOSE_PROCFS=y

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.

Regards,
Jerry Jacobs

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Friendlyarm Mini2440 custom kernel sound
« Reply #1 on: August 03, 2009, 12:05:15 am »
Wafeliron - this forum is specifically for the Linux Media Center Edition product, it is not a general Linux forum.