[G4 Q&A, Help & Troubleshooting] dianxxyyzz:
Hello ,

Lg g4 h815 stock rom use anx7816 kernel module to detect slimport.

I've recompiled the kernel and checked anx7816 is selected at kernel configuration but my custom kernel do not detect the slimport.

What could cause my kernel to do not detect slimport ? Does it need a additional .so file from the orriginal rom?

I see in in original kernel in dmesg that anx7816 find the display port and it show this message when hdmi is attached:

[24657.373888 / 11-22 18:45:04.818][2] [anx7816] sp_tx_pclk_calc : PCLK = 148.4

[24657.374358 / 11-22 18:45:04.818][2] [anx7816] sp_tx_bw_lc_sel : pixel_clk = 148.4

[24657.393605 / 11-22 18:45:04.838][2] [anx7816] hdmi_rx_new_vsi_int : *HDMI_RX Interrupt: NEW VSI packet.

[24657.395268 / 11-22 18:45:04.838][2] [anx7816] hdmi_rx_new_vsi_int : Setup VSI package!

[24657.416099 / 11-22 18:45:04.858][2] [anx7816] sp_tx_enable_video_input : Slimport Video is enabled!

[24657.418125 / 11-22 18:45:04.868][2] [anx7816] slimport_config_video_output : video stream not valid! count=0

[24657.426634 / 11-22 18:45:04.868][2] [anx7816] sp_tx_sink_irq_int_handler : sp_tx_sink_irq_int_handler

[24657.437314 / 11-22 18:45:04.888][2] [anx7816] downstream_charging_status_set : no charging!

[24657.449316 / 11-22 18:45:04.898][2] [anx7816] sp_tx_sink_irq_int_handler : Here is check: Link is down!

[24657.457872 / 11-22 18:45:04.908][2] [anx7816] sp_tx_get_cable_type : DPCD 0x005: 15

[24657.465486 / 11-22 18:45:04.908][2] [anx7816] sp_tx_get_cable_type : Downstream is HDMI dongle.

[24657.566778 / 11-22 18:45:05.008][2] [anx7816] sp_tx_pclk_calc : PCLK = 148.4

[24657.567498 / 11-22 18:45:05.018][2] [anx7816] sp_tx_bw_lc_sel : pixel_clk = 148.4

[24657.568898 / 11-22 18:45:05.018][2] [anx7816] slimport_block_power_ctrl : sp_tx_power_on: 10

[24657.570650 / 11-22 18:45:05.018][2]

[24657.570650 / 11-22 18:45:05.018][2] ******************SP Video Information*******************

[24657.571151 / 11-22 18:45:05.018][2] [anx7816] sp_tx_show_infomation : BW = 5.4G

[24657.572095 / 11-22 18:45:05.018][2] [anx7816] sp_tx_pclk_calc : PCLK = 148.4

[24657.579374 / 11-22 18:45:05.028][2] [anx7816] sp_tx_show_infomation : Total resolution is 2200 * 1125

[24657.579431 / 11-22 18:45:05.028][2] [anx7816] sp_tx_show_infomation : HF=88, HSW=44, HBP=148

[24657.579470 / 11-22 18:45:05.028][2] [anx7816] sp_tx_show_infomation : VF=4, VSW=5, VBP=36

[24657.579507 / 11-22 18:45:05.028][2] [anx7816] sp_tx_show_infomation : Active resolution is 1920 * 1080

[24657.579534 / 11-22 18:45:05.028][2] @ 59Hz

[24657.580015 / 11-22 18:45:05.028][2] [anx7816] sp_tx_show_infomation : ColorSpace: RGB,

[24657.580484 / 11-22 18:45:05.028][2] 8 BPC

[24657.587495 / 11-22 18:45:05.038][2] [anx7816] sp_tx_show_infomation : HDMI Dongle FW Ver 15

[24657.587536 / 11-22 18:45:05.038][2]

[24657.587536 / 11-22 18:45:05.038][2] **************************************************

[24657.587594 / 11-22 18:45:05.038][2] [anx7816] slimport_config_video_output : next: clean_status: 0,

[24657.587594 / 11-22 18:45:05.038][2]

[24657.587622 / 11-22 18:45:05.038][2] [anx7816] print_sys_state : -STATE_HDCP_AUTH-

[24657.639349 / 11-22 18:45:05.088][2] [anx7816] sp_tx_get_ds_video_status : 0x00527 = 01.

[24657.641213 / 11-22 18:45:05.088][2] [anx7816] slimport_block_power_ctrl : sp_tx_power_on: 20

[24657.693452 / 11-22 18:45:05.138][2] [anx7816] sp_tx_hw_hdcp_enable : TX_HDCP_CTRL0 = 0f

[24657.694125 / 11-22 18:45:05.138][2] [anx7816] sp_tx_hw_hdcp_enable : Hardware HDCP is enabled.

[24657.802892 / 11-22 18:45:05.248][2] [anx7816] sp_tx_sink_irq_int_handler : sp_tx_sink_irq_int_handler

[24657.926000 / 11-22 18:45:05.368][2] [anx7816] sp_tx_auth_done_int_handler : Authentication pass in Auth_Done

[24657.926069 / 11-22 18:45:05.368][2] [anx7816] sp_tx_auth_done_int_handler : sp_tx_auth_done_int_handler

[24657.926107 / 11-22 18:45:05.368][2] [anx7816] sp_tx_sink_irq_int_handler : sp_tx_sink_irq_int_handler

[24657.947880 / 11-22 18:45:05.398][2] [anx7816] downstream_charging_status_set : no charging!

[24657.959046 / 11-22 18:45:05.408][2] [anx7816] sp_tx_sink_irq_int_handler : Downstream HDCP is passed!

[24658.062098 / 11-22 18:45:05.508][2] [anx7816] slimport_hdcp_process : next: clean_status: 0,

[24658.062098 / 11-22 18:45:05.508][2]

[24658.062158 / 11-22 18:45:05.508][2] [anx7816] print_sys_state : -STATE_AUDIO_OUTPUT-

[24658.062201 / 11-22 18:45:05.508][2] [anx7816] slimport_hdcp_process : [MENTION=6725254 [MENTION=5839521 [MENTION=1065870 [MENTION=1879310]@@@[/MENTION][/MENTION][/MENTION][/MENTION]hdcp_auth_pass [MENTION=1065870 [MENTION=1879310]@@@[/MENTION][/MENTION]

[24658.080312 / 11-22 18:45:05.528][2] [anx7816] sp_tx_get_cable_type : DPCD 0x005: 15

[24658.087487 / 11-22 18:45:05.538][2] [anx7816] sp_tx_get_cable_type : Downstream is HDMI dongle.

[24658.635195 / 11-22 18:45:06.078][0] FG: update_cycle_count: batt_soc: 37 bucket: 1