Dear TI,
我在DM8148 EVM上开发,目前HDMI audio在使用 aplay -D hw:0,1 test.wav时,没有声音输出,并且有下列信息:
Playing WAVE '/home/user/test-44KHz-16b.wav' : Signed 16 bit Little Endian, Rate
44100 Hz, Stereo
aplay: pcm_write:1682: write error: Input/output error
播放时内核信息为:
asoc: HDMI-DAI-CODEC <-> hdmi-dai info:
asoc: rate mask 0x14e0
asoc: min ch 2 max ch 2
asoc: min rate 32000 max rate 192000
hdmi: TMDS: 119000 RATE: 44100
hdmi: FS: 44100 N: 6272 CTS: 0
clk_set_rate hdmi_i2s_fck
clock: clksel_round_rate_div: sysclk22_ck target_rate 5644800
clock: new_div = 4, new_rate = 5000000
hdmi: HDMI_WP_AUDIO_CFG = 0x1030006
hdmi: HDMI_WP_AUDIO_CFG2 = 0x20c0
hdmi: HDMI_WP_AUDIO_CTRL = 0x20
hdmi: CTS mode is HW
Wrapper Enabled…
hdmi-dummy-codec hdmi-dummy-codec: Setting standby bias
hdmi-dummy-codec hdmi-dummy-codec: Setting bias prepare
hdmi-dummy-codec hdmi-dummy-codec: Setting full bias
Start audio transfer…
Wrapper disabled…
pop wq checking: Playback status: inactive waiting: yes
hdmi-dummy-codec hdmi-dummy-codec: Setting bias prepare
hdmi-dummy-codec hdmi-dummy-codec: Setting standby bias
我的环境为:
ezsdk_dm814x-evm_5_03_01_15/board-support/linux-2.6.37-psp04.01.00.06.patch2,此外CTS部分使用了一部分linux-2.6.37-psp04.04.00.01中的代码,
OS层使用的是RDK 0.4.
调试过程中还有些疑问:
1)sysclk22_ck会被mcasp3_fck占用,而这个时钟是tlv320aic3x在用的;
2)使用sysclk20_ck不行
能否协助分析是什么地方出问题了?
Thanks,
Jeffrey
amixer:
http://processors.wiki.ti.com/index.php/TI81XX_PSP_HDMI_Driver_User_Guide
http://processors.wiki.ti.com/index.php/DM816X_C6A816X_AM389X_VPSS_Video_Driver_User_Guide_PSP_04.00.00.12#SYSFS_Software_Interfaces