{"id":18822,"date":"2025-02-11T20:57:40","date_gmt":"2025-02-11T12:57:40","guid":{"rendered":"https:\/\/blog.iyatt.com\/?p=18822"},"modified":"2025-02-11T20:57:40","modified_gmt":"2025-02-11T12:57:40","slug":"%e6%a0%91%e8%8e%93%e6%b4%be-cm4-%e5%bc%ba%e5%88%b6-hdmi-%e8%be%93%e5%87%ba","status":"publish","type":"post","link":"https:\/\/blog.iyatt.com\/?p=18822","title":{"rendered":"\u6811\u8393\u6d3e CM4 \u5f3a\u5236 HDMI \u8f93\u51fa"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/blog.iyatt.com\/?p=18822\/#%E5%89%8D%E8%A8%80\" >\u524d\u8a00<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/blog.iyatt.com\/?p=18822\/#%E6%B5%8B%E8%AF%95%E7%8E%AF%E5%A2%83\" >\u6d4b\u8bd5\u73af\u5883<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/blog.iyatt.com\/?p=18822\/#%E9%85%8D%E7%BD%AE%E6%93%8D%E4%BD%9C\" >\u914d\u7f6e\u64cd\u4f5c<\/a><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E5%89%8D%E8%A8%80\"><\/span>\u524d\u8a00<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>\u6211\u6811\u8393\u6d3e\u4e0a\u90e8\u7f72\u4e86\u4e00\u4e2a\u7f51\u76d8\u548c\u4e00\u4e2a\u76d1\u63a7\uff0c\u4f46\u662f\u6700\u8fd1\u51e0\u5929\u51fa\u73b0\u4e86\u4e24\u6b21\u5b95\u673a\uff0c\u6240\u6709\u670d\u52a1\u7a81\u7136\u6302\u6389\uff0cssh \u8fde\u63a5\u4e0d\u4e0a\u3002\u6811\u8393\u6d3e\u6211\u6ca1\u6709\u63a5\u5c4f\u5e55\uff0c\u5728\u5df2\u7ecf\u5f00\u673a\u7684\u72b6\u6001\u4e0b\uff0c\u518d\u63a5\u5165\u663e\u793a\u5668\u4e5f\u6ca1\u6709\u4fe1\u53f7\u3002\u5b8c\u5168\u6ca1\u6cd5\u786e\u8ba4\u72b6\u6001\uff0c\u5230\u5e95\u662f\u7cfb\u7edf\u6302\u4e86\u8fd8\u662f\u600e\u4e48\u56de\u4e8b\uff0c\u53ea\u80fd\u65ad\u7535\u91cd\u65b0\u5f00\u673a\u3002<br \/>\n\u56e0\u4e3a\u9ed8\u8ba4\u7b56\u7565\uff08\u7701\u7535\uff09\u4e0bHDMI\u6ca1\u6709\u4fe1\u53f7\u8f93\u51fa\uff0c\u8981\u5728\u6811\u8393\u6d3e\u5f00\u673a\u7684\u65f6\u5019\u5c31\u63a5\u5165\u663e\u793a\u5668\uff0c\u6811\u8393\u6d3e\u68c0\u6d4b\u5230\u663e\u793a\u5668\u624d\u4f1a\u8f93\u51fa\u4fe1\u53f7\uff0c\u5982\u679c\u5f00\u673a\u7684\u65f6\u5019\u6ca1\u6709\u63a5\u5165\u663e\u793a\u5668\uff0c\u5f00\u673a\u540e\u518d\u63a5\u5165\u4e5f\u4e0d\u4f1a\u8f93\u51fa\u4fe1\u53f7\u7684\u3002<br \/>\n\u73b0\u5728\u7684\u9700\u8981\u5c31\u662f\u628a\u6811\u8393\u6d3e\u7684 HDMI \u8bbe\u7f6e\u4e3a\u5f3a\u5236\u4fe1\u53f7\u8f93\u51fa\uff0c\u4e0d\u7ba1\u5f00\u673a\u7684\u65f6\u5019\u6709\u6ca1\u6709\u63d2\u663e\u793a\u5668\uff0c\u8fd9\u6837\u51fa\u95ee\u9898\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u968f\u65f6\u63a5\u5165\u663e\u793a\u5668\u548c\u8fde\u63a5\u9f20\u6807\u3001\u952e\u76d8\u64cd\u4f5c\u3002<\/p>\n<h1><span class=\"ez-toc-section\" id=\"%E6%B5%8B%E8%AF%95%E7%8E%AF%E5%A2%83\"><\/span>\u6d4b\u8bd5\u73af\u5883<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>\u786c\u4ef6\uff1a\u6811\u8393\u6d3e CM4<br \/>\n\u7cfb\u7edf\uff1aRaspberry Pi OS 2024-07-04\uff08Debian 12\uff09<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2025\/02\/image-1739277253645.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 683px; --smush-placeholder-aspect-ratio: 683\/714;\" \/><\/p>\n<h1><span class=\"ez-toc-section\" id=\"%E9%85%8D%E7%BD%AE%E6%93%8D%E4%BD%9C\"><\/span>\u914d\u7f6e\u64cd\u4f5c<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>\u53c2\u8003\u5b98\u65b9\u6587\u6863\uff1a<a href=\"https:\/\/www.raspberrypi.com\/documentation\/computers\/legacy_config_txt.html#legacy-video-options\">https:\/\/www.raspberrypi.com\/documentation\/computers\/legacy_config_txt.html#legacy-video-options<\/a><br \/>\n\u4ee5 root \u6743\u9650\u7f16\u8f91 <strong>\/boot\/firmware\/config.txt<\/strong>\uff0c\u65e7\u7248\u7cfb\u7edf\uff08\u5927\u6982\u57282023\u5e74\u4e0a\u534a\u5e74\u53ca\u4ee5\u524d\u7684\u7cfb\u7edf\uff09\u91cc\u8fd9\u4e2a\u6587\u4ef6\u5728 <strong>\/boot\/config.txt<\/strong>\uff0c\u5199\u5165\u5185\u5bb9\u53c2\u8003\u3002<br \/>\n\u5199\u5165\u540e\uff0c\u4e0b\u6b21\u6811\u8393\u6d3e\u5f00\u673a\u5c31\u751f\u6548\u4e86<\/p>\n<pre><code class=\"language-bash\">hdmi_force_hotplug=1\nhdmi_drive=2\nhdmi_group=2\nhdmi_mode=16<\/code><\/pre>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2025\/02\/image-1739278545912.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1156px; --smush-placeholder-aspect-ratio: 1156\/645;\" \/><\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2025\/02\/image-1739278630941.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 606px; --smush-placeholder-aspect-ratio: 606\/565;\" \/><\/p>\n<ul>\n<li>hdmi_force_hotplug=1 \u5f3a\u5236 HDMI \u8f93\u51fa\u4fe1\u53f7<\/li>\n<li>hdmi_drive<\/li>\n<\/ul>\n<table>\n<thead>\n<tr>\n<th>hdmi_drive<\/th>\n<th>\u542b\u4e49<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>\u6b63\u5e38 DVI \u6a21\u5f0f\uff08\u65e0\u58f0\u97f3\uff09<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\u666e\u901a HDMI \u6a21\u5f0f\uff08\u5982\u679c\u652f\u6301\u5e76\u542f\u7528\uff0c\u5c06\u53d1\u9001\u58f0\u97f3\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li>hdmi_group<\/li>\n<\/ul>\n<table>\n<thead>\n<tr>\n<th>hdmi_group<\/th>\n<th>\u542b\u4e49<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0<\/td>\n<td>\u4ece EDID \u81ea\u52a8\u68c0\u6d4b<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>CEA\uff08\u6d88\u8d39\u7535\u5b50\u534f\u4f1a\uff0c\u7535\u89c6\u901a\u5e38\u4f7f\u7528\u7684\u6807\u51c6\uff09<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>DMT\uff08\u663e\u793a\u76d1\u89c6\u5668\u8ba1\u65f6\uff0c\u76d1\u89c6\u5668\u901a\u5e38\u4f7f\u7528\u7684\u6807\u51c6\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li>hdmi_mode \u5206\u8fa8\u7387\u548c\u5237\u65b0\u7387\uff0c\u6709\u70b9\u591a\uff0c\u76f4\u63a5\u770b\u5b98\u65b9\u6587\u6863\u7684\u8868\u683c\uff0c\u6ce8\u610fhdmi_group\u5bf9hdmi_mode\u6709\u5f71\u54cd\u3002\u6587\u6863\uff1a<a href=\"https:\/\/www.raspberrypi.com\/documentation\/computers\/legacy_config_txt.html#hdmi_mode\">https:\/\/www.raspberrypi.com\/documentation\/computers\/legacy_config_txt.html#hdmi_mode<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u6211\u6811\u8393\u6d3e\u4e0a\u90e8\u7f72\u4e86\u4e00\u4e2a\u7f51\u76d8\u548c\u4e00\u4e2a\u76d1\u63a7\uff0c\u4f46\u662f\u6700\u8fd1\u51e0\u5929\u51fa\u73b0\u4e86\u4e24\u6b21\u5b95\u673a\uff0c\u6240\u6709\u670d\u52a1\u7a81\u7136\u6302\u6389\uff0cssh \u8fde\u63a5\u4e0d\u4e0a\u3002\u6811\u8393 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"categories":[1,600,594],"tags":[],"class_list":["post-18822","post","type-post","status-publish","format-standard","hentry","category-all","category-600","category-594"],"modified_by":"IYATT-yx","_links":{"self":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/18822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18822"}],"version-history":[{"count":1,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/18822\/revisions"}],"predecessor-version":[{"id":18827,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/18822\/revisions\/18827"}],"wp:attachment":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}