Firefly开源社区

打印 上一主题 下一主题

[求救] Time out:: Audio DMA buffdone time out!!! the time = 20005!

350

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
350

[求救] Time out:: Audio DMA buffdone time out!!! the time = 20005!

发表于 2016-7-18 14:25:08      浏览:6404 | 回复:1        打印      只看该作者   [复制链接] 楼主
請教大神:
在 echo 1 > /sys/module/snd_soc_core/parameters/debug_audio_timeout
印出下列訊息:
[  318.598704] Time out:: Audio DMA buffdone time out!!! the time = 20005!
[  318.618374] Time out:: Audio DMA buffdone time out!!! the time = 19989!
[  318.638050] Time out:: Audio DMA buffdone time out!!! the time = 19998!
[  318.657720] Time out:: Audio DMA buffdone time out!!! the time = 19995!
[  318.677399] Time out:: Audio DMA buffdone time out!!! the time = 19999!
[  318.697077] Time out:: Audio DMA buffdone time out!!! the time = 19998!
[  318.716757] Time out:: Audio DMA buffdone time out!!! the time = 20001!
[  318.736438] Time out:: Audio DMA buffdone time out!!! the time = 20000!
[  318.756115] Time out:: Audio DMA buffdone time out!!! the time = 19997!
[  318.775797] Time out:: Audio DMA buffdone time out!!! the time = 20001!
[  318.795479] Time out:: Audio DMA buffdone time out!!! the time = 19999!
[  318.815153] Time out:: Audio DMA buffdone time out!!! the time = 19997!
[  318.834837] Time out:: Audio DMA buffdone time out!!! the time = 20002!
[  318.854515] Time out:: Audio DMA buffdone time out!!! the time = 19998!
[  318.874193] Time out:: Audio DMA buffdone time out!!! the time = 19999!
[  318.893873] Time out:: Audio DMA buffdone time out!!! the time = 20000!
[  318.913552] Time out:: Audio DMA buffdone time out!!! the time = 19998!
[  318.933770] Time out:: Audio DMA buffdone time out!!! the time = 20546!
[  318.952927] Time out:: Audio DMA buffdone time out!!! the time = 19462!
[  318.972597] Time out:: Audio DMA buffdone time out!!! the time = 19993!

請大神指點方向

回复

使用道具 举报

350

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
350
发表于 2016-7-18 16:30:43        只看该作者  沙发
echo 1 > /sys/module/snd_soc_core/parameters/debug_audio_timeout 基本上就是印出Timeout value而已

主要是因為 i2s 會隨機出現不正常的現象, 在追蹤問題出在哪?

解法是: 把 maxburst加大

sound/soc/rockchip/rk30_i2s.c
-        i2s->playback_dma_data.maxburst = 1;
+        i2s->playback_dma_data.maxburst = 4;

-        i2s->capture_dma_data.maxburst = 1;
+        i2s->capture_dma_data.maxburst = 4;
===============================================================
請神人指點一下, 看這樣改會不會出問題
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表