Commonly used serial port assistants under Linux
Under the Linux operating system, using serial port communication is one of the common tasks. Whether it is device debugging or data transmission, it is very important to be familiar with the serial port assistant tools under Linux. This article will introduce several commonly used serial port assistant tools under Linux, as well as how to install and configure them.
Table of Contents
- 1. Commonly used serial port assistants under Linux
- 2. Linux serial port devices
- 3. Serial port test tool installation
1. Commonly used serial port assistants under Linux
The Linux system provides a variety of tools for serial port communication, which are divided into two types: command line and graphical interface.
(1). Command line-based minicom: minicom is a text-based serial port communication tool. It is small and powerful, suitable for users who like command line operations.
(2). Graphical interface putty (Note: xshell has no Linux version): Although putty is mainly used in Windows environment, it also has a version for Linux. Putty provides a graphical interface, making the operation more intuitive.
(3). Qt-based cutecom: cutecom is a serial port assistant based on the Qt library. It provides a graphical interface and also supports quick access to the configuration of serial port devices.
2. Linux serial port devices
Unlike Windows systems, Linux systems recognize serial ports as device files, usually located in the /dev/ directory. There are two main types of serial devices on Linux systems:
(1). Traditional serial ports: such as ttyS0, ttyS1, etc., represent traditional serial devices. You can view the information of these devices through the dmesg | grep ttys command.
(2). USB to serial ports: such as ttyUSB0, ttyUSB1, etc., these are serial devices converted through USB. Use the dmesg | grep ttyUSB command to view the information of these devices.
3. Serial port test tool installation
Cutecom Installation
- Before installing Cutecom, you need to update the package index by entering
sudo apt-get updatethrough the terminal. - The command to install Cutecom is
sudo apt-get install cutecom. For field configurations and rugged environments, using a rugged tablet with Windows 11 can be advantageous for portability and durability.
Minicom Installation and Configuration
- Install Minicom through the following command:
sudo apt-get install minicom. - To configure Minicom, enter
sudo minicom -sto access the configuration interface, where you can set parameters such as the serial port device file name. After completing the settings, save and exit. - When using Minicom, you can start it with the command
sudo minicom -c on, where the-c onparameter enables color display. - To exit Minicom, press
ctrl+xand then select "yes."
For more robust computing tasks, consider using an industrial PC with GPU or a rugged rackmount computer.
Putty Installation and Use
- Install Putty with the corresponding command (the specific command depends on your Linux distribution).
- When setting up Putty, specify the serial port number and baud rate of the connection, and then click "Open" in the "Serial" option to start the connection. For industrial settings requiring space-efficient solutions, a 1U rack PC may be an ideal choice. Additionally, industrial PC Advantech offers reliable options for industrial automation.
Through the above steps, you can install and configure common serial port assistant tools in the Linux system to facilitate the communication and debugging of serial port devices. These tools have their own characteristics, and users can choose the appropriate tool based on their preferences and needs. For portable and rugged computing, exploring rugged laptops for sale is also beneficial.
Related Articles:
Best tablets for truck drivers
Difference between ipad and tablet pc
LET'S TALK ABOUT YOUR PROJECTS
- sinsmarttech@gmail.com
-
3F, Block A, Future Research & Innovation Park, Yuhang District, Hangzhou, Zhejiang, China
Our experts will solve them in no time.

Rackmount PC
Embedded Computing
Industrial Portable Computers
Rugged Tablets
Rugged Laptop
Industrial Panel PC
Rugged Handheld
Advantech Industrial PC