串口调试助手linux设备串口,linux下安装串口调试助手

本机系统:ubuntu 11.10 64bit

ubuntu自带了usb_to_serial_port的驱动,经测试。PL2303插上即可用,可以使用如下命令察看串口信息

luosuo@ubuntu:~$ dmesg | grep usb

[ 0.406126] usbcore: registered new interface driver usbfs

[ 0.406135] usbcore: registered new interface driver hub

[ 0.406159] usbcore: registered new device driver usb

[ 1.472072] usb 1-6: new high speed USB device number 5 using ehci_hcd

[ 1.904077] usb 3-1: new low speed USB device number 2 using uhci_hcd

[ 2.093478] input: USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0/input/input5

[ 2.093613] generic-usb 0003:0000:0538.0001: input,hidraw0: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:1a.0-1/input0

[ 2.093726] usbcore: registered new interface driver usbhid

[ 2.093728] usbhid: USB HID core driver

[ 2.316063] usb 4-1: new full speed USB device number 2 using uhci_hcd

[ 2.724042] usb 4-2: new full speed USB device number 3 using uhci_hcd

[ 22.485966] usbcore: registered new interface driver btusb

[ 22.801001] input: HP Webcam-50 as /devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6:1.0/input/input6

[ 22.801459] usbcore: registered new interface driver uvcvideo

[ 1721.944106] usb 2-2: new high speed USB device number 2 using ehci_hcd

[ 1722.408917] scsi4 : usb-storage 2-2:1.0

[ 1722.409230] usbcore: registered new interface driver usb-storage

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

[ 1865.361759] usbcore: registered new interface driver usbserial

[ 1865.361999] usbcore: registered new interface driver usbserial_generic

[ 1865.362005] usbserial: USB Serial Driver core

[ 1865.381341] usb 6-1: pl2303 converter now attached to ttyUSB0//这个就是(usb to serial)串口的挂接点

[ 1865.381376] usbcore: registered new interface driver pl2303

luosuo@ubuntu:~$ xgcom&//打开后面安装的串口调试软件(已经安装了)

xgcom串口调试软件安装记录

软件说明:

=========================================================================================================

1、Intro:

Linux下的图形化串口调试工具.

A gui tools to help guys debug programs remotely by series port, like minicom. part code is form gtkterm-0.99.5.

Some lib and tools are needed:

编译必须安装的库:

make, automake,libglib2.0-dev,libvte-dev,libgtk2.0-dev   //必须安装的支持包。使用sudo apt-get install xxx 命令即可安装

zlbgps has put this software into AUR pakeage library

zlbgps已经把该软件放入了AUR的软件包库,使用Archlinux的用户使用下面的命令即可完成安装:

so arch users can install this program with this command :

yaourt -S xgcom

========================================================================================================

我的操作步骤:

2,分别安装各支持包(make命令已经安装了)

sudo apt-get install libglib2.0-dev

sudo apt-get install libgtk2.0-dev

sudo apt-get install libvte-dev

sudo apt-get install automake

3,进入源代码根目录,按照如下顺序执行命令

# ./autogen.sh   //部署编译环境

# make   //编译

#

sudo

make install      //安装,sudo必须有

# xgcom  //启动软件

该图片是在终端中执行xgcom命令后启动的软件主界面

0818b9ca8b590ca3270a3433284dd417.png

ubuntu下添加linux源代码

apt-get install linux-source

0818b9ca8b590ca3270a3433284dd417.png

0818b9ca8b590ca3270a3433284dd417.png

然后/usr/src里面就有linux的源代码了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值