{"id":45778,"date":"2023-10-02T22:44:59","date_gmt":"2023-10-02T14:44:59","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=45778"},"modified":"2023-10-02T22:44:59","modified_gmt":"2023-10-02T14:44:59","slug":"sylcklj","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/45778.html","title":{"rendered":"\u4f7f\u7528Linux\u4e32\u53e3\u8fde\u63a5"},"content":{"rendered":"

  Linux\u4e32\u53e3\u8fde\u63a5\u662f\u4e00\u79cd\u4f7f\u7528Linux\u7cfb\u7edf\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u901a\u4fe1\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u8bbe\u5907\u4e0e\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002\u5b83\u4e3a\u7cfb\u7edf\u8bbe\u5907\u63d0\u4f9b\u4e86\u4e00\u79cd\u53ef\u9760\u3001\u5b89\u5168\u3001\u7b80\u5355\u3001\u53ef\u9760\u7684\u8fde\u63a5\u65b9\u5f0f\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u63d0\u9ad8\u7cfb\u7edf\u7684\u6027\u80fd\u3002\u672c\u6587\u5c06\u4ecb\u7ecdLinux\u4e32\u53e3\u8fde\u63a5\u7684\u57fa\u672c\u539f\u7406\uff0c\u4ee5\u53ca\u5982\u4f55\u5728Linux\u7cfb\u7edf\u4e2d\u4f7f\u7528\u4e32\u53e3\u8fde\u63a5\u3002<\/p>\n

Linux\u4e32\u53e3\u8fde\u63a5\u7684\u57fa\u672c\u539f\u7406<\/h2>\n

  Linux\u4e32\u53e3\u8fde\u63a5\u662f\u4e00\u79cd\u4f7f\u7528Linux\u7cfb\u7edf\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u901a\u4fe1\u7684\u65b9\u6cd5\uff0c\u5b83\u4f7f\u7528\u4e32\u884c\u7aef\u53e3\uff08Serial Port\uff09\u6765\u5b9e\u73b0\u8bbe\u5907\u4e0e\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002\u4e32\u884c\u7aef\u53e3\u662f\u4e00\u79cd\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e2a\u7ebf\u8def\u4f20\u8f93\u6570\u636e\u7684\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5c06\u6570\u636e\u4f20\u8f93\u5230\u53e6\u4e00\u53f0\u8bbe\u5907\uff0c\u4ece\u800c\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/p>\n

  \u4e32\u884c\u7aef\u53e3\u7684\u5de5\u4f5c\u539f\u7406\u662f\u5c06\u6570\u636e\u4ee5\u4e00\u5b9a\u901f\u7387\u7684\u4fe1\u53f7\uff08\u5373\u6ce2\u5f62\uff09\u4f20\u8f93\uff0c\u6bcf\u4e2a\u4fe1\u53f7\u4ee3\u8868\u4e00\u4e2a\u5b57\u8282\u7684\u6570\u636e\uff0c\u4ece\u800c\u5b9e\u73b0\u6570\u636e\u7684\u4f20\u8f93\u3002\u4e32\u884c\u7aef\u53e3\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8bbe\u7f6e\u4e3a300\uff0c600\uff0c1200\uff0c2400\uff0c4800\uff0c9600\uff0c19200\uff0c38400\uff0c57600\uff0c115200\u7b49\u4e0d\u540c\u7684\u901f\u7387\u3002<\/p>\n

\u5728Linux\u7cfb\u7edf\u4e2d\u4f7f\u7528\u4e32\u53e3\u8fde\u63a5<\/h2>\n

  \u5728Linux\u7cfb\u7edf\u4e2d\u4f7f\u7528\u4e32\u53e3\u8fde\u63a5\uff0c\u9996\u5148\u9700\u8981\u4f7f\u7528\u4e32\u53e3\u9a71\u52a8\u7a0b\u5e8f\u6765\u63a7\u5236\u4e32\u53e3\u8bbe\u5907\uff0c\u4ee5\u5b9e\u73b0\u4e32\u53e3\u7684\u901a\u4fe1\u3002\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u6709\u4e24\u79cd\u5e38\u7528\u7684\u4e32\u53e3\u9a71\u52a8\u7a0b\u5e8f\uff1a\u4e00\u79cd\u662f\u4f7f\u7528\u201cserial\u201d\u547d\u4ee4\uff0c\u53e6\u4e00\u79cd\u662f\u4f7f\u7528\u201csetserial\u201d\u547d\u4ee4\u3002<\/p>\n

  \u4f7f\u7528\u201cserial\u201d\u547d\u4ee4<\/h3>\n

  \u4f7f\u7528\u201cserial\u201d\u547d\u4ee4\u53ef\u4ee5\u5b9e\u73b0\u4e32\u53e3\u7684\u521d\u59cb\u5316\u548c\u914d\u7f6e\uff0c\u4ee5\u53ca\u63a7\u5236\u4e32\u53e3\u7684\u4f20\u8f93\u901f\u7387\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u7b49\u53c2\u6570\u3002\u4f7f\u7528\u201cserial\u201d\u547d\u4ee4\u65f6\uff0c\u9700\u8981\u6307\u5b9a\u4e32\u53e3\u8bbe\u5907\u6587\u4ef6\u7684\u8def\u5f84\uff0c\u4ee5\u53ca\u8981\u64cd\u4f5c\u7684\u4e32\u53e3\u53c2\u6570\u3002<\/p>\n

  \u4f7f\u7528\u201csetserial\u201d\u547d\u4ee4<\/h3>\n

  \u4f7f\u7528\u201csetserial\u201d\u547d\u4ee4\u53ef\u4ee5\u5b9e\u73b0\u4e32\u53e3\u7684\u521d\u59cb\u5316\u548c\u914d\u7f6e\uff0c\u4ee5\u53ca\u63a7\u5236\u4e32\u53e3\u7684\u4f20\u8f93\u901f\u7387\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u7b49\u53c2\u6570\u3002\u4f7f\u7528\u201csetserial\u201d\u547d\u4ee4\u65f6\uff0c\u9700\u8981\u6307\u5b9a\u8981\u64cd\u4f5c\u7684\u4e32\u53e3\u53c2\u6570\uff0c\u4ee5\u53ca\u4e32\u53e3\u8bbe\u5907\u6587\u4ef6\u7684\u8def\u5f84\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  Linux\u4e32\u53e3\u8fde\u63a5\u662f\u4e00\u79cd\u53ef\u4ee5\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u7684\u65b9\u6cd5\uff0c\u5b83\u4f7f\u7528\u4e32\u884c\u7aef\u53e3\uff08Serial Port\uff09\u6765\u5b9e\u73b0\u6570\u636e\u7684\u4f20\u8f93\u3002<\/strong>\u5728Linux\u7cfb\u7edf\u4e2d\u4f7f\u7528\u4e32\u53e3\u8fde\u63a5\uff0c\u9700\u8981\u4f7f\u7528\u4e32\u53e3\u9a71\u52a8\u7a0b\u5e8f\u6765\u63a7\u5236\u4e32\u53e3\u8bbe\u5907\uff0c\u4ee5\u5b9e\u73b0\u4e32\u53e3\u7684\u901a\u4fe1\u3002Linux\u7cfb\u7edf\u4e2d\u6709\u4e24\u79cd\u5e38\u7528\u7684\u4e32\u53e3\u9a71\u52a8\u7a0b\u5e8f\uff1a\u4e00\u79cd\u662f\u4f7f\u7528\u201cserial\u201d\u547d\u4ee4\uff0c\u53e6\u4e00\u79cd\u662f\u4f7f\u7528\u201csetserial\u201d\u547d\u4ee4\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Linux\u4e32\u53e3\u8fde\u63a5\u662f\u4e00\u79cd\u4f7f\u7528Linux\u7cfb\u7edf\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u901a\u4fe1\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u8bbe\u5907\u4e0e\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002\u5b83\u4e3a\u7cfb\u7edf\u8bbe\u5907\u63d0\u4f9b\u4e86\u4e00\u79cd\u53ef\u9760\u3001\u5b89\u5168\u3001\u7b80\u5355\u3001\u53ef\u9760\u7684\u8fde\u63a5\u65b9\u5f0f\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u63d0\u9ad8<\/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-45778","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\/45778","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=45778"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/45778\/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=45778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=45778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=45778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}