Ubuntu安裝USB to RS232驅動

來源:互聯網
上載者:User

Ubuntu內建了大部分USB to RS232驅動,我們所要做的就是尋找出裝置對應的裝置名稱即可

在終端下輸入lsusb,列出系統識別的USB裝置列表

 

$ lsusb
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 064e:a103 Suyin Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 062a:0001 Creative Labs Notebook Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

輸入dmesg可顯示串連裝置名稱(紅色字型部分)

[  668.252084] usb 5-1: new full speed USB device using uhci_hcd and address 2
[  668.413928] usb 5-1: configuration #1 chosen from 1 choice
[  668.692862] usbcore: registered new interface driver usbserial
[  668.692900] usbserial: USB Serial support registered for generic
[  668.692968] usbcore: registered new interface driver usbserial_generic
[  668.692973] usbserial: USB Serial Driver core
[  668.704495] usbserial: USB Serial support registered for pl2303
[  668.716444] usb 5-1: pl2303 converter now attached to ttyUSB0
[  668.716491] usbcore: registered new interface driver pl2303
[  670.016108] usb 5-1: USB disconnect, address 2
[  671.008120] usb 4-1: USB disconnect, address 4
[  672.740055] usb 4-1: new full speed USB device using uhci_hcd and address 5
[  672.904865] usb 4-1: configuration #1 chosen from 1 choice
[  672.928071] usb 4-1: pl2303 converter now attached to ttyUSB0

在minicom中使用該裝置名稱

 

from:http://99dev.net/archives/564

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.