首页 > 嵌入式开发 > [Collection]Ubuntu安装USB to RS232驱动

[Collection]Ubuntu安装USB to RS232驱动

2009年4月20日 发表评论 阅读评论

Ubuntu8.10自带了大部分USB to RS232驱动,我们所要做的就是查找出设备对应的设备名即可

在终端下输入lsusb,列出系统识别的USB设备列表

poople@poople-laptop:~$ 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中使用该设备名
2009-4-20 12-37-36

分类: 嵌入式开发 标签:
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.