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 inte***ce driver usbserial
[ 668.692900] usbserial: usb serial support registered for generic
[ 668.692968] usbcore: registered new inte***ce 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 inte***ce 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中使用該裝置名
Ubuntu之旅(一)安裝Ubuntu
說起linux,以前搞過rhel5,紅旗等,但是都只是用來做伺服器,沒在上面搞過開發。據說ubuntu易用性和完善性比較好,適合做開發,於是準備裝乙個試試。記述下一路過來的經驗。一 安裝ubuntu 唯一需要注意的是,wubi.exe會自動根據你的電腦判斷安裝32位還是64位的ubuntu作業系統。...
ubuntu簡單安裝
ubuntu簡單安裝 本例介紹硬碟安裝 單ubuntu系統 首先你要獲得ubuntu的安裝盤,設定bios,選擇開機從cdrom安裝。重啟插入ubuntu安裝盤,看到提示,選擇install.第乙個 然後進入橘黃色的介面,不要以為安裝好了。真正的安裝現在才開始。在視窗下雙擊install圖示,開始安...
ubuntu 安裝google chrome瀏覽器
google chrome的開源版本chromium,現在他支援ubuntu了 首先要增加源,我們修改sources.list sudo gedit etc apt sources.list 然後加入源,這裡有兩個不同的源 ubuntu 9.04 jaunty s5 g h8 f x google ...