AnsweredAssumed Answered

no sound on second adau1761

Question asked by metinburak on May 26, 2014
Latest reply on May 26, 2014 by metinburak

Hello,

 

I have a custom board design which is based on the zedboard. I have 2 adau1761 codecs in this board and use adv7511 xcomm reference designs and kernels.

I made additional i2s module in HDL and i2c module also connected the interrupts and edited the device tree for 2nd  codec.

 

I edit the adau1761 driver as

 

static int zed_adau1761_probe(struct platform_device *pdev)

{

          //struct snd_soc_card *card = &zed_adau1761_card; for multi codec

struct snd_soc_card *card = kmemdup(&zed_adau1761_card, sizeof(zed_adau1761_card), GFP_KERNEL);

 

to have multiple codecs, and alsa recognized these two cards.

 

I can use the first codec by aplay -D plughw:0,0 test.wav and it plays the sound.

When i use the second codec as aplay -D plughw:1,0 test.wav, there is no sound and the aplay process doesnot stop.

 

Is it an issue of the adau1761 linux driver? Is there additional things to do in the driver or hdl?

Outcomes