各位好!!
想請教各位.我們想用BeagleBone 利用MCASP0 接TLV32AI3106.修改的版本是linux-3.1.0-psp04.06.00.03.sdk
請問要如何掛上Audio Driver?
CKC
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
各位好!!
想請教各位.我們想用BeagleBone 利用MCASP0 接TLV32AI3106.修改的版本是linux-3.1.0-psp04.06.00.03.sdk
請問要如何掛上Audio Driver?
CKC
目前我們卡在這邊一直找不到原因.在標準EVM會從Uart收到
[ 2.027725] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[ 2.036127] mmc0: new high speed SDHC card at address b368
[ 2.044099] mmcblk0: mmc0:b368 USD 7.46 GiB
[ 2.052234] ALSA device list:
[ 2.056205] #0: AM335X EVM
但是我們程式執行結果
[ 1.207585] ALSA device list:
[ 1.210713] No soundcards found.
[ 1.214343] oprofile: hardware counters not available
而追蹤後停在
static void snd_soc_instantiate_card(struct snd_soc_card *card)
的
if (card->num_rtd != card->num_links) {
mutex_unlock(&card->mutex);
return;
}
因為 card->num_rtd=0,card->num_links=1就跳開
PS.附件註解 CKC ADD是我們修改的部份
謝謝你!!總算有聲音輸出了!!我的Pin是用MCASP0腳那邊的輸出參考Beagle Bone接Audio延伸板線路.但聲音輸出太小聲修改tlv320aic3x.c及h還是沒有辦法變大聲.是否有其他地方可以修改.還是播放程式那邊的問題!?
你好:
我也碰到了同样的问题啊。
调试信息显示,和你一样的。
[ 1.481842] usbcore: registered new interface driver snd-usb-audio
[ 1.489379] tlv320aic3x-codec 3-001b: ---wxj---aic3x_i2c_probe()
[ 1.495697] tlv320aic3x-codec 3-001b: ---wxj---aic3x->control_type = SND_SOC_I2C
[ 1.503448] tlv320aic3x-codec 3-001b: ---wxj---snd_soc_register_codec return 0
[ 1.512084] ALSA device list:
[ 1.515197] No soundcards found.
[ 1.518737] oprofile: hardware counters not available
[ 1.524017] oprofile: using timer interrupt.
请问,您是怎么解决的呢?