Recovery 下不支持双显示,也不支持热插拔。如果需要从 HDMI 显示,代码中没有如下修改,
请添加如下的修改,然后插着 HDMI 开机。
diff --git a/bootable/recovery/minui/graphics_drm.cpp b/bootable/recovery/minui/graphics_drm.cpp
old mode 100644
new mode 100755
index 9e10551a50…08959f5d62
— a/bootable/recovery/minui/graphics_drm.cpp
+++ b/bootable/recovery/minui/graphics_drm.cpp
@@ -240,10 +240,10 @@ drmModeConnector* MinuiBackendDrm::FindMainMonitor(int fd, drmModeRes* resources
uint32_t* mode_index) {
/* Look for LVDS/eDP/DSI connectors. Those are the main screens. */
static constexpr unsigned kConnectorPriority[] = {
DRM_MODE_CONNECTOR_HDMIA,
drmModeConnector* main_monitor_connector = nullptr;