AnsweredAssumed Answered

BF518F EZ-BOARD codec

Question asked by mike3 on May 5, 2012
Latest reply on May 18, 2012 by Aaronwu

Hello,

 

I'm tring to get sound working on a "ADSP-BF518F EZ-BOARD  REV 1.0".

But it seems that /dev/dsp does not exist on the file system.

 

  root:/proc/asound> tone

  ERROR: failed to open DAC device /dev/dsp

 

Any help would be greatly appreciated.

I've included some info about my setup below.

 

Cheers,

Mike

 

 

System information.

 

root:/proc/asound> version

kernel:    Linux release 3.0.8-ADI-2011R1, build #20 Sat Apr 28 15:39:53 EDT 2012

toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-2011R1-RC4)

user-dist: release , build #6 Sat Apr 28 15:39:01 EDT 2012

 

 

root:/proc/asound> dmesg

...

ssm2602 0-001b: probe

i2c-core: driver [ssm2602] registered

bfin-i2s bfin-i2s.0: no platform_data

ALSA device list:

  No soundcards found.

...

 

 

root:/proc/asound> cat devices

33:        : timer

 

root:/proc/asound> ls /dev/snd

timer

 

 

The drivers are built in to the kernel.  I also tried building them

as modules, with the same results.

 

root:/proc/asound> cat /lib/modules/3.0.8-ADI-2011R1/modules.builtin

...

kernel/drivers/char/bfin_sport.ko

...

kernel/drivers/i2c/i2c-core.ko

kernel/drivers/i2c/i2c-dev.ko

kernel/drivers/i2c/busses/i2c-bfin-twi.ko

...

kernel/sound/soundcore.ko

kernel/sound/core/snd.ko

kernel/sound/core/snd-timer.ko

kernel/sound/core/snd-pcm.ko

kernel/sound/core/snd-page-alloc.ko

kernel/sound/core/oss/snd-mixer-oss.ko

kernel/sound/core/oss/snd-pcm-oss.ko

kernel/sound/soc/snd-soc-core.ko

kernel/sound/soc/blackfin/snd-bf5xx-i2s.ko

kernel/sound/soc/blackfin/snd-soc-bf5xx-sport.ko

kernel/sound/soc/blackfin/snd-soc-bf5xx-i2s.ko

kernel/sound/soc/blackfin/snd-ssm2602.ko

kernel/sound/soc/codecs/snd-soc-ssm2602.ko

 

 

On the board, every switch on SW15 is set to ON.

 

 

arch/blackfin/mach-bf518/boards/ezbrd.c

#if defined(CONFIG_SND_SOC_SSM2602) || defined(CONFIG_SND_SOC_SSM2602_MODULE)

    {

         I2C_BOARD_INFO("ssm2602", 0x1b),

     },

#endif

 

Just as a sanity check, I put

  #error "I got here"

inside the the code above, to check that it was being included.

It does indeed hit the #error statement.

Outcomes