Hi SIr,
We would test HDMI CEC function. I open the Device Drivers > MXC HDMI CEC support.
We would use mxc_cec_test.out to get version and poweroff TV. But nothing is happen.
The message as below.
./mxc_cec_test.out
Start CEC testing!
sleep for ready!
Try to get CEC Version !
-------------------------> Power off TV <-----------------------
end of test!
My BSP is L3.0.35.4.1 . Test environment is Sabre-SD board.
Can you help me how to use the test function ! Thanks!
mxc_cec_test is not a complete code.
Jimmy, it is suggestive that you ask the customer to create DI next time in i.MX Community where the information could be shared by everyone.
Regards,
Yixing
Hi Yixing Kong:
I am following the issue always. Please help to check it.
Thanks~
Yuming
Jimmy, this DI had been closed. If you still have questions please let me know.
Regards,
Yixing
Hi JIMMY,
According to "i.MX_6Dual6Quad_Linux_Reference_Manual.pdf" comes along with 4.1.0 Linux BSP-docs for MX6Q, in "chapter 11 HDMI", page 102, it said "$/unit_test/mxc_cec_test" can be used to simple verify HDMI CEC function, and it also said HDMI CEC will send Poweroff command to HDMI sink after execute the command.
This is really confusing, can "mxc_cec_test" do what it said in BSP reference manual? Or it's not a complete code?(so what's the purpose of this test command?) Could you please escalate this item to AE/R&D?
Default, the HDMI CEC was not enabled in kernel, you need enable it first in imx6_defconfig:
#
# MXC HDMI CEC (Consumer Electronics Control) support
#
# CONFIG_MXC_HDMI_CEC is not set
And you also need make sure the TV supports HDMI CEC.
Hi Qiang,
My kernel had CEC config setting as below.
#
# MXC HDMI CEC (Consumer Electronics Control) support
#
CONFIG_MXC_HDMI_CEC=y
And I found the CEC waveform not match HDMI-CEC spec. The HDMI CEC spec describe the start bit must be 3.5 ~ 3.9 ms . But we are only 2.793 ms.
The attachment file is imx6 CEC waveform.
Hi Jimmy, did you measure it on SabreSD or customer's board?
From HDMI side, I haven't found any setting to adjust this timing.
Hi Jimmy, on SabreSD, we had measured the CEC signal, the start bit is about 3.6ms, which board are you used for the test?
Can you attach detail waveform?
My BSP is Linux version L3.0.35_4.1.0 And test platform is Sabre-SD board.
The attach file is waveform for first command. --> Try to get CEC Version !
I'm not sure where there will be different result in your side and my side, do you check on other SabreSD board?
Can you give me your workable SDP board version ?
My SDP number : SCH27392 REV C3