日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

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

發布時間:2023/12/16 linux 39 豆豆
生活随笔 收集整理的這篇文章主要介紹了 串口调试助手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命令后啟動的軟件主界面

ubuntu下添加linux源代碼

apt-get install linux-source

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

總結

以上是生活随笔為你收集整理的串口调试助手linux设备串口,linux下安装串口调试助手的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。