2009-12-31 00:22:07     Why I got 'No device for DAI PCM1742'?

Document created by Aaronwu Employee on Aug 20, 2013
Version 1Show Document
  • View in full screen mode

2009-12-31 00:22:07     Why I got 'No device for DAI PCM1742'?

Zhi Qiang Zhang (CHINA)

Message: 84083   

I made a driver for PCM1742 by modifying the AD73311, but I got a message from dmesg,

 

Advanced Linux Sound Architecture Driver Version 1.0.21.

pcm1742_init 0.2

No device for DAI PCM1742

dma rx:1 tx:2, err irq:10, regs:ffc00800

dma_alloc_init: dma_page @ 0x01243000 - 256 pages at 0x01f00000

bf5xx_pcm1742_init

PCM1742 SoC Audio Codec 0.2

asoc: PCM1742 <-> bf5xx-i2s mapping ok

ALSA device list:

  #0: bf5xx_pcm1742 (PCM1742)

 

What does that text marked by RED color mean?

 

And I want to play the tone, but got this message,

root:/> tone

TONE: generating sine wave at 1000 Hz...

playback write error (DMA or IRQ trouble?)

 

and I found the interrupt of SPORT was not be triggered,

root:/> cat /proc/interrupts

  6:     356937      CORE  Blackfin CoreTimer

10:          0      INTN  SPORT err

14:          1      INTN  rtc-bfin

16:          0      INTN  SPORT RX Data

17:          0      INTN  SPORT TX Data

21:          0      INTN  BFIN_UART_RX

22:       2481      INTN  BFIN_UART_TX

NMI:          0      CORE  Non Maskable Interrupt

Err:          0

 

What is that problem ? I am using the most updated version of uclinux from SVN.

 

Thank you very much!

QuoteReplyEditDelete

 

 

2009-12-31 12:27:42     Re: Why I got 'No device for DAI PCM1742'?

Robin Getz (UNITED STATES)

Message: 84107   

 

Zhi:

 

Go ask TI - it is their codec. If you want to switch to an ADI codec - we can help.

 

-Robin

QuoteReplyEditDelete

 

 

2010-01-01 10:59:23     Re: Why I got 'No device for DAI PCM1742'?

Zhi Qiang Zhang (CHINA)

Message: 84116   

 

Robin,

 

This is the problem, if I ask TI, they will say please ask ADI, because you used their DSP to control.

 

Regards,

 

ZhangZQ

QuoteReplyEditDelete

 

 

2010-01-01 11:28:25     Re: Why I got 'No device for DAI PCM1742'?

Robin Getz (UNITED STATES)

Message: 84117   

 

ZhangZQ:

 

Then switch codecs to an ADI one.

 

You are not asking a processor question - you are asking a question about the codec.

 

-Robin

Attachments

    Outcomes