Post Go back to editing

BF-537 EZKIT driver for AD1854 or how to use AD194x driver

Hi

 

I have BF-537 EZKIT.  I would like to use the onboard DAC AD1854.  I saw posts people had success using the AD194x driver, but unfortunately nobody has actually documented what needs to be done.

 

I have compiled an image, (attached .config + .config_custo_linux), but it appears that no sound cards are found

 

root:/> aplay -l

aplay: device_list:252: no soundcards found...

 

root:/> ls -l /sys/module/snd/holders

lrwxrwxrwx    1 root     root             0 Feb 27 08:45 snd_mixer_oss -> ../../

snd_mixer_oss

lrwxrwxrwx    1 root     root             0 Feb 27 08:45 snd_pcm -> ../../snd_pc

m

lrwxrwxrwx    1 root     root             0 Feb 27 08:45 snd_pcm_oss -> ../../sn

d_pcm_oss

lrwxrwxrwx    1 root     root             0 Feb 27 08:45 snd_soc_core -> ../../s

nd_soc_core

lrwxrwxrwx    1 root     root             0 Feb 27 08:45 snd_timer -> ../../snd_

timer

 

root:/> lsmod|grep '^snd'

snd_soc_ad193x          5841  0

snd_ad1836              1405  0

snd_ad193x              1249  0

snd_soc_core           70987  3 snd_soc_ad193x,snd_ad1836,snd_ad193x

snd_pcm_oss            34734  0

snd_pcm                51416  2 snd_soc_core,snd_pcm_oss

snd_page_alloc          3229  1 snd_pcm

snd_timer              13220  1 snd_pcm

snd_mixer_oss          10711  1 snd_pcm_oss

snd                    38588  5 snd_soc_core,snd_pcm_oss,snd_pcm,snd_timer,snd_m

ixer_oss

 

root:/> ls /dev/snd

timer

 

oot:/> aplay

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'

ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver return

ed error: No such file or directory

ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings

ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned er

ror: No such file or directory

ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name

ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned err

or: No such file or directory

ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directo

ry

ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default

aplay: main:682: audio open error: No such file or directory

root:/>

 

What commands do I need to issue for the system to recognize/load AD194x driver to use it with AD1854 DAC? 

 

Best Regards

 

Martin

TechSupport.zip
  • To load audio kernel modules this seems to work in my case

    mkdir /dev/snd

    cd /dev/snd

    mknod controlC0 c 116 0

    mknod midiC0D0 c 116 8

    mknod pcmC0D0p c 116 16

    mknod pcmC0D1p c 116 17

    mknod pcmC0D0c c 116 24

    mknod timer c 116 33

    modprobe -a snd-mixer-oss snd-pcm-oss snd snd-timer snd-pcm snd-page-alloc snd-soc-core snd-soc-ad1836 snd-soc-ad193x snd-bf5xx-tdm snd-soc-bf5xx-sport snd-soc-bf5xx-tdm snd-ad1836 snd-ad193x

    root:/dev/snd> aplay -L

    null

        Discard all samples (playback) or generate zero samples (capture)

    default:CARD=bfinad1836

        bfin-ad1836,

        Default Audio Device

    sysdefault:CARD=bfinad1836

        bfin-ad1836,

        Default Audio Device

    default:CARD=bfinad193x

        bfin-ad193x,

        Default Audio Device

    sysdefault:CARD=bfinad193x

        bfin-ad193x,

        Default Audio Device

    root:/dev/snd>

  • This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin