您的位置:首页 > 其它

ubuntu minicom usb转串口

2013-01-19 15:15 316 查看
安装minicom:sudo apt-get install minicom

查看是否已经安装了usb转串口的驱动

lsmod | grep usbserial

查看usb转串口的设备

dmesg | grep usb

.....

[ 21.064130] usbcore: registered new interface driver uvcvideo

[ 846.348093] usb 6-1: new full-speed USB device number 2 using uhci_hcd

[ 846.599512] usbcore: registered new interface driver usbserial

[ 846.599593] usbcore: registered new interface driver usbserial_generic

[ 846.599597] usbserial: USB Serial Driver core

[ 846.611192] usb 6-1: Detected FT232BM

[ 846.611194] usb 6-1: Number of endpoints 2

[ 846.611196] usb 6-1: Endpoint 1 MaxPacketSize 64

[ 846.611199] usb 6-1: Endpoint 2 MaxPacketSize 64

[ 846.611201] usb 6-1: Setting MaxPacketSize 64

[ 846.614231] usb 6-1: FTDI USB Serial Device converter now attached to ttyUSB0

[ 846.614257] usbcore: registered new interface driver ftdi_sio

....

配置minicom:sudo minicom -s

serial port setup -->

+-----------------------------------------------------------------------+

| A - Serial Device : /dev/ttyUSB0 |

| B - Lockfile Location : /var/lock |

| C - Callin Program : |

| D - Callout Program : |

| E - Bps/Par/Bits : 115200 8N1 |

| F - Hardware Flow Control : No |

| G - Software Flow Control : No |

| |

| Change which setting? |

+-----------------------------------------------------------------------+

启动minicom
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: