How to use cutecom for serial communication in Ubuntu virtual machine

How to use cutecom for serial communication in Ubuntu virtual machine

Using cutecom for serial communication in Ubuntu virtual machine

1. Install cutecom

Install cutecom using the following command

sudo apt-get install cutecom

Call the following command to open cutecom

sudo su
cutecom

If you use USB to serial port in the Device location, you need to manually fill in the path /dev/ttyUSB0

2. Add a serial port to the virtual machine

With the virtual machine powered off, open the virtual machine settings.

Click the Add button

Click Next to complete the addition of the serial port.

3. Create ttyUSB0 port for the virtual machine

Create the ttyUSB0 port using the following command

sudo mknod /dev/ttyUSB0 c 188 0

Open permissions for ttyUSB0

sudo chmod 666 /dev/ttyUSB0

Summarize

The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links

You may also be interested in:
  • How to build nfs service in ubuntu16.04
  • How to modify the time zone and time in Ubuntu system
  • How to detect Ubuntu version using command line
  • Installation and use of mysql on Ubuntu (general version)
  • Detailed explanation of installing Python 3.7 and pip3 in Ubuntu 16.04 and switching to the default version
  • Detailed installation and configuration of hadoop2.7.2 under ubuntu15.10
  • Detailed installation and use of SSH in Ubuntu environment
  • Ubuntu basic settings: installation and use of openssh-server
  • Installation of Docker CE on Ubuntu
  • Ubuntu16.04 builds php5.6 web server environment

<<:  Detailed explanation of several methods of JS array dimensionality reduction

>>:  mysql server is running with the --skip-grant-tables option

Recommend

Summary of Vue's common APIs and advanced APIs

Table of contents nextTick Mixins $forceUpdate se...

A brief introduction to Linux environment variable files

In the Linux system, environment variables can be...

Why does MySQL database index choose to use B+ tree?

Before further analyzing why MySQL database index...

A brief discussion on the calculation method of key_len in mysql explain

The MySQL explain command can analyze the perform...

JavaScript canvas to achieve mirror image effect

This article shares the specific code for JavaScr...

Five solutions to cross-browser problems (summary)

Brief review: Browser compatibility issues are of...

How to pass the value of the select drop-down box to the id to implement the code

The complete code is as follows : HTML code: Copy ...

The meaning of the 5 types of spaces in HTML

HTML provides five space entities with different ...

MySQL 8.0 Window Function Introduction and Summary

Preface Before MySQL 8.0, it was quite painful to...

How to Run a Command at a Specific Time in Linux

The other day I was using rsync to transfer a lar...

svg+css or js to create tick animation effect

Previously, my boss asked me to make a program th...

Implementation of dynamic rem for mobile layout

Dynamic rem 1. First, let’s introduce the current...

We're driving IE6 to extinction on our own

In fact, we wonder every day when IE6 will really...