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.
https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1296462/tas2110-tas2110-linux-driver
器件型号:TAS2110尊敬的 丁圣浩:
我尝试通过命令 aplay test.wav 来播放 wav 文件、
但 aplay test.wav 将显示" CONF_NO 不应超过2 "、 扬声器上没有声音输出。
您能帮助我们检查消息吗?" CONF_NO 不应超过2 ",谢谢。
负载驱动器:
# insmod /lib/modules/5.4.238/kernel/sound soc soc codecs/snd-tasdevice.ko
[ 22.852338] tasdevice-codec 2-0048:主器件= 0x48
[22.857793] tasdevice-codec 2-0048:查找 IRQ-GPIO 属性失败-22
[ 22.866894] tasdevice-codec 2-0048: tasdev: regbin_ready start
#[ 22.874204] tasdevice-codec 2-0048: nConfig = 2
[ 22.878751] tasdevice-codec 2-0048:IMG_SZ = 516 TOTAL_CONFIG_SZ = 224 OFFSET = 292
[ 22.886427] tasdevice-codec 2-0048:固件初始化完成
[ 22.893753] asoc-simple-card sound: tasdevice-codec.2-0048 <-> e001d000.I2S 映射 ok
[22.902475] ASOC-simple-card sound:e0015000.dmic <-> e001d000.I2S 映射正常
[22.909618] Asoc-simple-card 声音:asoc:没有 DMI 厂商名称!
#
a 播放:
# aplay test.wav
播放波浪'test.wav':签名16位小端字节序,速率48000[28.046473]简单卡: Ambarella FIX DAI 时钟在12288000。
Hz、立体声
[ 28.054290] tasdevice-codec 2-0048:tasdevice_set_dai_SYSCLK:clk_id=0、freq = 12288000、中的 CLK 方向
[ 28.065658] tasdevice-codec 2-0048: tasdevice_hw_params:播放
[ 28.072244] tasdevice-codec 2-0048:tasdevice_hw_params:bclk 速率= 1536000通道= 2采样速率= 48000时隙宽度= 16
[ 28.107863] tasdevice-codec 2-0048:PowerControl_routine:1021:输入
[ 28.114251] tasdevice-codec 2-0048: CONF_NO 不应超过2
[28.120746] tasdevice-codec 2-0048: PowerControl_routin:1030:离开
[ 30.088538] tasdevice-codec 2-0048: CONF_NO 不应超过2
[ 30.095023] tasdevice-codec 2-0048:tasdevice_set_dai_SYSCLK:clk_id=0、freq = 0、中的 CLK 方向
#
您将什么添加到了 bin 文件中? 你会如此善良,共享 json 文件吗?
为什么不使用 amixer 设置 conf no?