@george said in Laptop USB-C Alt Mode:
@anernest
Refer to the following document to provide EDID information and demesg information for inserting and removing HDMI.
https://www.cool-pi.com/topic/296/how-to-drive-non-standard-resolution-hdmi-displays?_=1701475254750
When I plug a desktop monitor in, the edid.bin file is empty and the monitor continues to act as if it has not been plugged in.
So I plugged the portable monitor in, and the edid.bin remained empty, even though the monitor woke up and displayed the desktop.
Below is the dmesg output from the time I plugged the portable monitor in (I imagine the same i2c read error would be happening with the desktop monitor):
[55894.022488] rockchip-vop2 fdd90000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp0
[55922.073783] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.099121] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.124563] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.150090] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.175693] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.181007] dwhdmi-rockchip fde80000.hdmi: failed to get edid
[55922.201317] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.226965] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.252690] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.278239] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.303637] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.308948] dwhdmi-rockchip fde80000.hdmi: failed to get edid
[55922.390272] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[55922.390290] rockchip-vop2 fdd90000.vop: [drm:vop2_crtc_atomic_enable] Update mode to 1920x1080p60, type: 11(if:800) for vp0 dclk: 148500000
[55922.390313] rockchip-vop2 fdd90000.vop: [drm:vop2_crtc_atomic_enable] dclk_out0 div: 0 dclk_core0 div: 2
[55922.390317] rockchip-vop2 fdd90000.vop: [drm:vop2_crtc_atomic_enable] set dclk_vop0 to 148500000, get 148500000
[55922.407006] rockchip-hdptx-phy-hdmi fed60000.hdmiphy: hdptx_ropll_cmn_config bus_width:16a8c8 rate:1485000
[55922.407270] rockchip-hdptx-phy-hdmi fed60000.hdmiphy: hdptx phy pll locked!
[55922.414228] dwhdmi-rockchip fde80000.hdmi: final tmdsclk = 148500000
[55922.414247] dwhdmi-rockchip fde80000.hdmi: don't use dsc mode
[55922.414249] dwhdmi-rockchip fde80000.hdmi: dw hdmi qp use tmds mode
[55922.414253] rockchip-hdptx-phy-hdmi fed60000.hdmiphy: bus_width:0x16a8c8,bit_rate:1485000
[55922.414438] rockchip-hdptx-phy-hdmi fed60000.hdmiphy: hdptx phy lane locked!
[55922.467217] usb 5-1: new full-speed USB device number 4 using xhci-hcd
[55922.507150] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[55922.561497] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.586994] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.608497] usb 5-1: New USB device found, idVendor=1a86, idProduct=e5e3, bcdDevice= 0.00
[55922.608504] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[55922.608507] usb 5-1: Product: TeNizo_R7Series_TC
[55922.608510] usb 5-1: Manufacturer: TeNizo
[55922.612274] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.622167] input: TeNizo TeNizo_R7Series_TC as /devices/platform/usbdrd3_1/fc400000.usb/xhci-hcd.4.auto/usb5/5-1/5-1:1.0/0003:1A86:E5E3.0008/input/input14
[55922.622551] hid-multitouch 0003:1A86:E5E3.0008: input,hidraw4: USB HID v1.00 Device [TeNizo TeNizo_R7Series_TC] on usb-xhci-hcd.4.auto-1/input0
[55922.637682] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.663245] dwhdmi-rockchip fde80000.hdmi: i2c read err!
[55922.668566] dwhdmi-rockchip fde80000.hdmi: failed to get edid
[55924.770530] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[55924.787232] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[55924.803857] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[55955.039625] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[55955.293468] rockchip-vop2 fdd90000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp2
[55955.322826] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[55955.373026] rockchip-vop2 fdd90000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp0
[55955.423668] rockchip-vop2 fdd90000.vop: [drm:vop2_wait_power_domain_off] *ERROR* wait pd7 off timeout power_ctrl: 0x7f
[55955.440413] rockchip-vop2 fdd90000.vop: [drm:vop2_crtc_atomic_disable] *ERROR* unexpected power on pd7
[55955.449779] dwhdmi-rockchip fde80000.hdmi: use tmds mode