AnsweredAssumed Answered

imx6 hdmi-audio error

Question asked by Eric Lee on Apr 10, 2015
Latest reply on Jul 2, 2015 by weiqing

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

Outcomes