AnsweredAssumed Answered

zedboard adau1761 issue

Question asked by raph38130 on May 22, 2014
Latest reply on May 22, 2014 by larsc

Hi team !

one more issue with adu1761. I use latest xcomm_zynq kernel and hdl-master designI built with vivado 14.1 with some revisions changes.

bit file and kernel generation are ok. On boot adau1761 is detected


my issue is with alsa :

aplay -l detects adau1761

but speaker-test fails


speaker-test 1.0.27.2


Playback device is default

Stream parameters are 48000Hz, S16_LE, 1 channels

Using 16 octaves of pink noise

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM hw:ADAU1761

Playback open error: -2,No such file or directory

 

I am new with alsa conf. Couldsomeone give somme clues and/or a zedboard working alsa.conf, required asound libs, ...

thanks for your help

 

 

my alsa.conf

ctl.hw {
   @args [ CARD ]
   @args.CARD {
       type string
   }
   type hw
   card $CARD #with 0 alsamixer work, with $CARD alsamixer lend to invalid argument
}

with this one, aplay -l can't find adau1761

pcm.adau1761 {

type hw

card ADAU1761

}

ctl.!default {

type hw

card ADAU1761

}

pcm.!default {

type plug

slave {

  pcm "hw:ADAU1761"

  format S32_LE

  channels 2

}

}


Outcomes