Seeed-Studio / seeed-linux-dtoverlays

Device Tree Overlays for Seeed boards
Other
78 stars 55 forks source link

Fix "Can't find mipi_dsi_host!" error #89

Closed matsujirushi closed 4 months ago

matsujirushi commented 5 months ago

https://github.com/Seeed-Studio/seeed-linux-dtoverlays/issues/28#issue-979865119

When reTerminal is powered off and powered back on, mipi LCD driver is not loaded. Need to do the following steps every time I turn on reTerminal

Fixed this issue.

dmesg log:

ubuntu@ubuntu-desktop:~/seeed-linux-dtoverlays$ sudo dmesg | grep mipi_dsi
[    6.723403] mipi_dsi: loading out-of-tree module taints kernel.
[    6.726237] mipi_dsi: Initialize kernel module
[    6.726254] mipi_dsi: (i2c_md_init) Register MIPI-DSI driver
[    6.726323] mipi_dsi: (i2c_md_init) Add I2C driver
[    6.731800] mipi_dsi: Probe I2C driver
[    6.731816] mipi_dsi: (i2c_md_probe) Start
[    6.744125] mipi_dsi: (i2c_md_probe) STM32 firmware version 1.9
[    6.748474] mipi_dsi: Add MIPI-DSI device to device tree
[    6.748573] mipi_dsi 1-0045: Can't find mipi_dsi_host!
[    6.748619] mipi_dsi 1-0045: DSI device registration failed!
[    6.845744] mipi_dsi: Probe I2C driver
[    6.845760] mipi_dsi: (i2c_md_probe) Start
[    6.849214] mipi_dsi: (i2c_md_probe) STM32 firmware version 1.9
[    6.851040] mipi_dsi: Add MIPI-DSI device to device tree
[    6.851082] mipi_dsi 1-0045: Can't find mipi_dsi_host!
[    6.851131] mipi_dsi 1-0045: DSI device registration failed!
[    6.863274] mipi_dsi: Probe I2C driver
[    6.863293] mipi_dsi: (i2c_md_probe) Start
[    6.866733] mipi_dsi: (i2c_md_probe) STM32 firmware version 1.9
[    6.868306] mipi_dsi: Add MIPI-DSI device to device tree
[    6.868340] mipi_dsi 1-0045: Can't find mipi_dsi_host!
[    6.868381] mipi_dsi 1-0045: DSI device registration failed!
[    6.915367] mipi_dsi: Probe I2C driver
[    6.915384] mipi_dsi: (i2c_md_probe) Start
[    6.918937] mipi_dsi: (i2c_md_probe) STM32 firmware version 1.9
[    6.920670] mipi_dsi: Add MIPI-DSI device to device tree
[    6.920705] mipi_dsi 1-0045: Can't find mipi_dsi_host!
[    6.920748] mipi_dsi 1-0045: DSI device registration failed!
[    6.982108] mipi_dsi: Probe I2C driver
[    6.982124] mipi_dsi: (i2c_md_probe) Start
[    6.985600] mipi_dsi: (i2c_md_probe) STM32 firmware version 1.9
[    6.987250] mipi_dsi: Add MIPI-DSI device to device tree
[    6.987282] mipi_dsi 1-0045: Can't find mipi_dsi_host!
[    6.987323] mipi_dsi 1-0045: DSI device registration failed!
[    6.992312] mipi_dsi: Probe I2C driver
[    6.992329] mipi_dsi: (i2c_md_probe) Start
[    6.995745] mipi_dsi: (i2c_md_probe) STM32 firmware version 1.9
[    6.997475] mipi_dsi: Add MIPI-DSI device to device tree
[    6.997652] mipi_dsi 1-0045: Can't find mipi_dsi_host!
[    6.998006] mipi_dsi 1-0045: DSI device registration failed!
[    7.020986] mipi_dsi: Probe I2C driver
[    7.021004] mipi_dsi: (i2c_md_probe) Start
[    7.024251] mipi_dsi: (i2c_md_probe) STM32 firmware version 1.9
[    7.025918] mipi_dsi: Add MIPI-DSI device to device tree
[    7.035593] mipi_dsi: Probe MIPI-DSI driver
[    7.035716] mipi_dsi: (i2c_md_probe) Add panel
[    7.040637] mipi_dsi: (backlight_init) Register backlight device
[    7.040803] mipi_dsi: (backlight_update) brightness=255
[    7.044112] mipi_dsi: (i2c_md_probe) Finish
[    7.362391] mipi_dsi: Prepare panel
[    7.424844] mipi_dsi: Prepare ILI9881D
[    7.552152] mipi_dsi: Enable panel
[    8.893970] mipi_dsi: (backlight_update) brightness=255

links:

bigbearishappy commented 5 months ago

Can you provide the steps to reproduce this problem?

Pillar1989 commented 5 months ago

@matsujirushi I just created a Wechat group where we can quickly communicate about this issue.

matsujirushi commented 5 months ago

Can you provide the steps to reproduce this problem?

Please see issue #28 .

bigbearishappy commented 4 months ago

Great work, thanks for you contribution.