2011年9月29日 星期四

[ubuntu][USB Serial Cable] Ubuntu 10.04 make USB-to-Serial cable working


According those page and message below.

Setup USB Serial Cable is not a problem.

 



Plug USB use dmesg will show:



[  411.288015] usb 4-1: new full speed USB device using uhci_hcd and address 3

[  411.446182] usb 4-1: configuration #1 chosen from 1 choice

[  411.449135] pl2303 4-1:1.0: pl2303 converter detected

[  411.461188] usb 4-1: pl2303 converter now attached to ttyUSB0

[  992.536518] usb 1-6: new high speed USB device using ehci_hcd and address 5

[  992.668709] usb 1-6: configuration #1 chosen from 1 choice

[  992.668896] hub 1-6:1.0: USB hub found

[  992.668971] hub 1-6:1.0: 7 ports detected

[  999.860037] usb 4-1: USB disconnect, address 3

[  999.860247] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0

[  999.860268] pl2303 4-1:1.0: device disconnected

[ 1004.088118] usb 1-6.4: new full speed USB device using ehci_hcd and address 6

[ 1004.180857] usb 1-6.4: configuration #1 chosen from 1 choice

[ 1004.181055] pl2303 1-6.4:1.0: pl2303 converter detected

[ 1004.182568] usb 1-6.4: pl2303 converter now attached to ttyUSB0







Finding the information of USB-to-Serial cable, now search kernel module which compile before.



$ cd /lib/modules/2.6.32-33-generic/



ls -lR "pl2303" ./* | grep pl2303

-rw-r--r-- 1 root root  31540 2011-07-30 08:18 pl2303.ko



Have pl2303.ko, so combine with kernel



$ sudo modprobe pl2303



Using GtkTerm .

Port : /dev/ttyUSB0

Speed : 115200

Parity : none

Bits : 8

StopBits :1

Flow control : none

 



Ubuntu 9.10 驅動 USB-to-Serial cable

Ubuntu USB-Serial port install procedure

0 意見:

張貼留言