Hi,
I am working on i.MX6 custom board. Everything works fine except the hdmi-audio. My Linux kernel kernel version is 3.10.53
Everytime when I boot up, I got errors.
imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22
The video part is fine. The i2c is also fine.
ALSA device list:
#0: sgtl5000 sound card
#1: imx-hdmi-soc
It seems that the hdmi-audio register cannot be register by kernel. I cannot use alsamixer to access the registers. Someone says adding consolebalnk at u-boot environmental variables will work this around, but no luck for me.
This is my uboot paramenters.
optargs="consoleblank=0 video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24"
# alsamixer -c 1
lqqqqqqqqqqqqqqqqqqqqqqqqqqqq AlsaMixer v1.0.27.2 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Card: imx-hdmi-soc F1: Help x
x Chip: F2: System information x
x View: F3:[Playback] F4: Capture F5: All F6: Select sound card x
x Item: HDMI Support Channels Esc: Exit x
x x
x lqqk lqqk lqqk lqqk x
x x x x x x x x x x
x x x x x x x x x x
x x x x x x x x x x
x x x x x x x x x x
x x x x x x x x x x
x x x x x x x x x x
x x x x x x x x x x
x x x x x x x x x x
x x x x x x x x x x
x x x x x x x x x x
x x x x x x x x x x
x mqqj mqqj mqqj mqqj x
x 0 0 0<>0 0 x
x<HDMI Support Chann>HDMI Support Forma HDMI Support Rates HDMI Support Rates x
x Front Rear x
x x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
root@imx6q1gsmarc:~# aplay -D plughw:1,0 PartOfMe.wav -v
imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22
aplay: main:722: audio open error: Invalid argument
root@imx6q1gsmarc:~#
Could someone help? Thanks.
-Eric
Hi Eric
I would suggest to test it with new BSP
L3.14.28_1.0.0_iMX6QDLS_BUNDLE : i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite, i.MX 6Solo
Linux Binary Demo Files and Linux BSP Documentation
Size (K): 1479000 Format: gz Rev #: L3.14.28_1.0.0 Modified: 4/10/2015
Best regards
igor
igor,
I spent a bit time working on 3.14 today. The results are the same. The HDMI Video part and SGTL5k audio are all fine. The hdmi-audio still got the same errors.Any idea?
root@arm:~# uname -a
Linux arm 3.14.28-132790-g91cf351-dirty #2 SMP PREEMPT Mon Apr 13 17:53:55 CST 2015 armv7l armv7l armv7l GNU/Linux
root@arm:~# aplay -D plughw:1,0 PartOfMe.wav -v
imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22
aplay: main:722: audio open error: Invalid argument
root@arm:~#
Hi Eric
issue may be caused by non-CEA mode panel
Table 33-3. Video Modes IMX6DQRM
http://boundarydevices.com/hdmi/
Best regards
igor
igor,
I suspected that before. However, my u-boot pass 1920x1080M@60 parameters to kernel and the HDMI monitor can detect the resolutions that I set. The 1920x1080M@60 should be CEA mode.
-Eric
igor,
It turn out our hardware problems. Thanks for your supports.
-Eric
Hi Eric,
I encounter the same problem as yours, only HDMI audio not working.
Can you share what hardware problem did you find out?
Thanks in advance.