{"id":57431,"date":"2023-10-18T18:23:06","date_gmt":"2023-10-18T10:23:06","guid":{"rendered":"\/\/www.viralrail.com\/blog\/57431.html"},"modified":"2023-10-18T18:23:06","modified_gmt":"2023-10-18T10:23:06","slug":"rhzlzczzbck","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/57431.html","title":{"rendered":"\u5982\u4f55\u5728Linux\u4e2d\u67e5\u627e\u4e3b\u677f\u4e32\u53e3"},"content":{"rendered":"

  \u5728Linux\u4e2d\uff0c\u67e5\u627e\u4e3b\u677f\u4e32\u53e3\u662f\u4e00\u4ef6\u5f88\u91cd\u8981\u7684\u4e8b\u60c5\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u66f4\u597d\u5730\u7ba1\u7406\u670d\u52a1\u5668\u548c\u8ba1\u7b97\u673a\u7cfb\u7edf\u3002<\/strong>\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u5728Linux\u4e2d\u67e5\u627e\u4e3b\u677f\u4e32\u53e3\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u3002<\/p>\n

\u4ec0\u4e48\u662f\u4e3b\u677f\u4e32\u53e3<\/h2>\n

  \u4e3b\u677f\u4e32\u53e3\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u63a5\u53e3\uff0c\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u5916\u90e8\u8bbe\u5907\u3002\u5b83\u6709\u52a9\u4e8e\u589e\u5f3a\u7cfb\u7edf\u7684\u6027\u80fd\uff0c\u6bd4\u5982\u53ef\u4ee5\u6dfb\u52a0\u8ba1\u7b97\u673a\u786c\u4ef6\uff0c\u6bd4\u5982\u663e\u5361\u3001\u58f0\u5361\u3001\u7f51\u5361\u7b49\u3002\u4e3b\u677f\u4e32\u53e3\u4e5f\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u5916\u90e8\u8bbe\u5907\uff0c\u6bd4\u5982\u5916\u90e8\u5b58\u50a8\u8bbe\u5907\uff0c\u8fd9\u6837\u53ef\u4ee5\u589e\u52a0\u7cfb\u7edf\u7684\u5185\u5b58\u5bb9\u91cf\u3002<\/p>\n

\u5982\u4f55\u5728Linux\u4e2d\u67e5\u627e\u4e3b\u677f\u4e32\u53e3<\/h2>\n

  \u4f7f\u7528dmidecode\u547d\u4ee4<\/h3>\n

  dmidecode\u547d\u4ee4\u662f\u4e00\u4e2a\u7528\u4e8e\u8bfb\u53d6\u4e3b\u677f\u4fe1\u606f\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u67e5\u627e\u4e3b\u677f\u4e32\u53e3\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u67e5\u770b\u4e3b\u677f\u4e32\u53e3\uff1a<\/p>\n

sudo dmidecode -t port<\/pre>\n

  \u8fd0\u884c\u8fd9\u6761\u547d\u4ee4\u540e\uff0c\u4f1a\u663e\u793a\u4e3b\u677f\u4e0a\u7684\u6240\u6709\u4e32\u53e3\u4fe1\u606f\uff0c\u5305\u62ec\u4e32\u53e3\u53f7\u3001\u7c7b\u578b\u3001\u901f\u7387\u7b49\u3002<\/p>\n

  \u4f7f\u7528lspci\u547d\u4ee4<\/h3>\n

  lspci\u547d\u4ee4\u662f\u4e00\u4e2a\u7528\u4e8e\u68c0\u67e5PCI\u8bbe\u5907\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u67e5\u627e\u4e3b\u677f\u4e32\u53e3\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u67e5\u770b\u4e3b\u677f\u4e32\u53e3\uff1a<\/p>\n

lspci -v | grep -i serial<\/pre>\n

  \u8fd0\u884c\u8fd9\u6761\u547d\u4ee4\u540e\uff0c\u4f1a\u663e\u793a\u4e3b\u677f\u4e0a\u7684\u6240\u6709\u4e32\u53e3\u4fe1\u606f\uff0c\u5305\u62ec\u4e32\u53e3\u53f7\u3001\u7c7b\u578b\u3001\u901f\u7387\u7b49\u3002<\/p>\n

  \u4f7f\u7528lsusb\u547d\u4ee4<\/h3>\n

  lsusb\u547d\u4ee4\u662f\u4e00\u4e2a\u7528\u4e8e\u68c0\u67e5USB\u8bbe\u5907\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u67e5\u627e\u4e3b\u677f\u4e32\u53e3\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u67e5\u770b\u4e3b\u677f\u4e32\u53e3\uff1a<\/p>\n

lsusb -v | grep -i serial<\/pre>\n

  \u8fd0\u884c\u8fd9\u6761\u547d\u4ee4\u540e\uff0c\u4f1a\u663e\u793a\u4e3b\u677f\u4e0a\u7684\u6240\u6709\u4e32\u53e3\u4fe1\u606f\uff0c\u5305\u62ec\u4e32\u53e3\u53f7\u3001\u7c7b\u578b\u3001\u901f\u7387\u7b49\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u5728Linux\u4e2d\uff0c\u67e5\u627e\u4e3b\u677f\u4e32\u53e3\u662f\u4e00\u4ef6\u5f88\u91cd\u8981\u7684\u4e8b\u60c5\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u66f4\u597d\u5730\u7ba1\u7406\u670d\u52a1\u5668\u548c\u8ba1\u7b97\u673a\u7cfb\u7edf\u3002<\/strong>\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528dmidecode\u3001lspci\u548clsusb\u547d\u4ee4\u6765\u67e5\u627e\u4e3b\u677f\u4e32\u53e3\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728Linux\u4e2d\uff0c\u67e5\u627e\u4e3b\u677f\u4e32\u53e3\u662f\u4e00\u4ef6\u5f88\u91cd\u8981\u7684\u4e8b\u60c5\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u66f4\u597d\u5730\u7ba1\u7406\u670d\u52a1\u5668\u548c\u8ba1\u7b97\u673a\u7cfb\u7edf\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u5728Linux\u4e2d\u67e5\u627e\u4e3b\u677f\u4e32\u53e3\uff0c\u4ee5<\/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-57431","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-cktx"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/57431"}],"collection":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/comments?post=57431"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/57431\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=57431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=57431"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=57431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}