Ubuntu安装USB to RS232驱动

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

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值