{"id":58023,"date":"2023-10-18T01:16:50","date_gmt":"2023-10-17T17:16:50","guid":{"rendered":"https:\/\/www.techphant.cn\/blog\/58023.html"},"modified":"2023-10-18T01:16:50","modified_gmt":"2023-10-17T17:16:50","slug":"rhsylzkcksb","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/58023.html","title":{"rendered":"\u5982\u4f55\u4f7f\u7528Linux\u67e5\u770b\u4e32\u53e3\u8bbe\u5907"},"content":{"rendered":"

  \u968f\u7740\u79d1\u6280\u7684\u8fdb\u6b65\uff0c\u4e32\u53e3\u8bbe\u5907\u4e5f\u8d8a\u6765\u8d8a\u591a\uff0c\u5b83\u4eec\u5728\u6211\u4eec\u7684\u65e5\u5e38\u751f\u6d3b\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u7684\u4f5c\u7528\uff0c\u4f46\u662f\u5982\u4f55\u4f7f\u7528Linux\u67e5\u770b\u4e32\u53e3\u8bbe\u5907\uff0c\u6211\u4eec\u53c8\u5982\u4f55\u64cd\u4f5c\u5462\uff1f\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Linux\u67e5\u770b\u4e32\u53e3\u8bbe\u5907\uff0c\u4ee5\u53ca\u5982\u4f55\u64cd\u4f5c\u5b83\u4eec\u3002<\/p>\n

Linux\u4e32\u53e3\u8bbe\u5907\u7684\u67e5\u770b<\/h2>\n

  \u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u786e\u5b9a\u5f53\u524d\u7cfb\u7edf\u4e2d\u662f\u5426\u6709\u4e32\u53e3\u8bbe\u5907\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u201cls \/dev\/tty*\u201d\u67e5\u770b\uff0c\u5982\u679c\u6709\u4e32\u53e3\u8bbe\u5907\uff0c\u5219\u4f1a\u663e\u793a\u51fa\u4e32\u53e3\u8bbe\u5907\u7684\u540d\u79f0\uff0c\u5982\u201c\/dev\/ttyS0\u201d\u7b49\uff0c\u5982\u679c\u6ca1\u6709\uff0c\u5219\u8868\u660e\u6ca1\u6709\u5b89\u88c5\u4e32\u53e3\u8bbe\u5907\uff0c\u6b64\u65f6\u9700\u8981\u5b89\u88c5\u4e32\u53e3\u8bbe\u5907\u3002<\/p>\n

  \u67e5\u770b\u4e32\u53e3\u8bbe\u5907\u7684\u8be6\u7ec6\u4fe1\u606f<\/h3>\n

  \u5f53\u786e\u5b9a\u6709\u4e32\u53e3\u8bbe\u5907\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u201cdmesg | grep tty\u201d\u67e5\u770b\u4e32\u53e3\u8bbe\u5907\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5982\u4e32\u53e3\u8bbe\u5907\u7684\u7c7b\u578b\u3001\u6ce2\u7279\u7387\u3001\u6570\u636e\u4f4d\u7b49\uff0c\u8fd9\u4e9b\u4fe1\u606f\u5bf9\u4e8e\u6211\u4eec\u8fdb\u884c\u4e32\u53e3\u8bbe\u5907\u7684\u64cd\u4f5c\u975e\u5e38\u91cd\u8981\u3002<\/p>\n

Linux\u4e32\u53e3\u8bbe\u5907\u7684\u64cd\u4f5c<\/h2>\n

  \u5f53\u6211\u4eec\u786e\u5b9a\u4e86\u4e32\u53e3\u8bbe\u5907\u7684\u8be6\u7ec6\u4fe1\u606f\u540e\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528Linux\u63d0\u4f9b\u7684\u4e32\u53e3\u8bbe\u5907\u64cd\u4f5c\u5de5\u5177\u8fdb\u884c\u64cd\u4f5c\u4e86\u3002Linux\u63d0\u4f9b\u4e86\u4e24\u79cd\u4e32\u53e3\u8bbe\u5907\u64cd\u4f5c\u5de5\u5177\uff0c\u5206\u522b\u662fminicom\u548cscreen\uff0c\u5b83\u4eec\u90fd\u53ef\u4ee5\u7528\u6765\u8fdb\u884c\u4e32\u53e3\u8bbe\u5907\u7684\u64cd\u4f5c\u3002<\/p>\n

  minicom<\/h3>\n

  minicom\u662f\u4e00\u6b3e\u5f3a\u5927\u7684\u4e32\u53e3\u8bbe\u5907\u64cd\u4f5c\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u63d0\u4f9b\u591a\u79cd\u529f\u80fd\uff0c\u6bd4\u5982\u53d1\u9001\u6587\u4ef6\u3001\u63a5\u6536\u6587\u4ef6\u3001\u8bbe\u7f6e\u4e32\u53e3\u53c2\u6570\u7b49\uff0c\u4f7f\u7528minicom\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0\u4e32\u53e3\u8bbe\u5907\u7684\u64cd\u4f5c\u3002<\/p>\n

  screen<\/h3>\n

  screen\u4e5f\u662f\u4e00\u6b3e\u5f3a\u5927\u7684\u4e32\u53e3\u8bbe\u5907\u64cd\u4f5c\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\uff0c\u5e76\u4e14\u53ef\u4ee5\u8bbe\u7f6e\u4e32\u53e3\u53c2\u6570\uff0c\u6bd4\u5982\u6ce2\u7279\u7387\u3001\u6570\u636e\u4f4d\u7b49\uff0c\u4f7f\u7528screen\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0\u4e32\u53e3\u8bbe\u5907\u7684\u64cd\u4f5c\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Linux\u67e5\u770b\u4e32\u53e3\u8bbe\u5907\uff0c\u4ee5\u53ca\u5982\u4f55\u64cd\u4f5c\u5b83\u4eec\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u201cls \/dev\/tty*\u201d\u67e5\u770b\u662f\u5426\u6709\u4e32\u53e3\u8bbe\u5907\uff0c\u5982\u679c\u6709\u7684\u8bdd\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u201cdmesg | grep tty\u201d\u67e5\u770b\u4e32\u53e3\u8bbe\u5907\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u7136\u540e\u53ef\u4ee5\u4f7f\u7528minicom\u6216screen\u8fdb\u884c\u64cd\u4f5c\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"

\u968f\u7740\u79d1\u6280\u7684\u8fdb\u6b65\uff0c\u4e32\u53e3\u8bbe\u5907\u4e5f\u8d8a\u6765\u8d8a\u591a\uff0c\u5b83\u4eec\u5728\u6211\u4eec\u7684\u65e5\u5e38\u751f\u6d3b\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u7684\u4f5c\u7528\uff0c\u4f46\u662f\u5982\u4f55\u4f7f\u7528Linux\u67e5\u770b\u4e32\u53e3\u8bbe\u5907\uff0c\u6211\u4eec\u53c8\u5982\u4f55\u64cd\u4f5c\u5462\uff1f\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Linux\u67e5\u770b\u4e32\u53e3<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[69],"class_list":["post-58023","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-cktx"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/58023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=58023"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/58023\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=58023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=58023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=58023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}