Enable HDMI CEC function

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Enable HDMI CEC function

Enable HDMI CEC function

Enable HDMI CEC function

Board: i.MX8MQ Board
BSP version: imx-android-11.0.0_2.2.0 

Following the Android user guide download and built the Android-11.0.0_2.2.0 BSP

 The build directory shared here:
 http://10.168.2.226/android/build_folder/device/nxp/imx8m/evk_8mq/hdmicec/.
or use the files in attachment.

The steps are:

  • Copy the above link code to their android env under device/nxp/imx8m/evk_8mq/hdmicec/. 

In device/nxp/imx8m/evk_8mq/evk_8mq.mk, adding below code:

+PRODUCT_PACKAGES += \
hdmi_cec.nxp\
hdmicec_test"

(2) Compile that.
(3) Copy to board 
adb root
adb remount
adb push hdmi_cec.nxp.so /vendor/lib64
adb push hdmi_test /vendor/bin


evk_8mq:/vendor/bin # ./hdmicec_test
[  349.297183] msg[0]=0x40
[  349.299641] msg[1]=0x4

Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1363722%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EEnable%20HDMI%20CEC%20function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1363722%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%3CP%3E%3CSPAN%3EEnable%20HDMI%20CEC%20function%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBoard%3A%20i.MX8MQ%20Board%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3EBSP%20version%3A%20%3C%2FSPAN%3E%3CSPAN%3Eimx-android-11.0.0_2.2.0%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFollowing%20the%20Android%20user%20guide%20download%20and%20built%20the%20Android-11.0.0_2.2.0%20BSP%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EThe%20build%20directory%20shared%20here%3A%3CBR%20%2F%3E%3C%2FSPAN%3E%26nbsp%3B%3CSPAN%3E%3CA%20href%3D%22http%3A%2F%2F10.168.2.226%2Fandroid%2Fbuild_folder%2Fdevice%2Fnxp%2Fimx8m%2Fevk_8mq%2Fhdmicec%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttp%3A%2F%2F10.168.2.226%2Fandroid%2Fbuild_folder%2Fdevice%2Fnxp%2Fimx8m%2Fevk_8mq%2Fhdmicec%2F%3C%2FA%3E%3C%2FSPAN%3E.%3CBR%20%2F%3Eor%20use%20the%20files%20in%20attachment.%3C%2FP%3E%0A%3CP%3EThe%20steps%20are%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ECopy%20the%20above%20link%20code%20to%20their%20android%20env%20under%20device%2Fnxp%2Fimx8m%2Fevk_8mq%2Fhdmicec%2F.%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EIn%20device%2Fnxp%2Fimx8m%2Fevk_8mq%2Fevk_8mq.mk%2C%20adding%20below%20code%3A%3C%2FP%3E%0A%3CP%3E%2BPRODUCT_PACKAGES%20%2B%3D%20%5C%3CBR%20%2F%3Ehdmi_cec.nxp%5C%3CBR%20%2F%3Ehdmicec_test%22%3C%2FP%3E%0A%3CP%3E(2)%20Compile%20that.%3CBR%20%2F%3E(3)%20Copy%20to%20board%26nbsp%3B%3CBR%20%2F%3Eadb%20root%3CBR%20%2F%3Eadb%20remount%3CBR%20%2F%3Eadb%20push%20hdmi_cec.nxp.so%20%2Fvendor%2Flib64%3CBR%20%2F%3Eadb%20push%20hdmi_test%20%2Fvendor%2Fbin%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3Eevk_8mq%3A%2Fvendor%2Fbin%20%23%20.%2Fhdmicec_test%3CBR%20%2F%3E%5B%26nbsp%3B%26nbsp%3B349.297183%5D%20msg%5B0%5D%3D0x40%3CBR%20%2F%3E%5B%26nbsp%3B%26nbsp%3B349.299641%5D%20msg%5B1%5D%3D0x4%3C%2FP%3E%0A%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎11-16-2021 08:24 AM
Updated by: