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

Detailed explanation of MySQL database paradigm

Preface: I have often heard about database paradi...

CSS realizes the mask effect when the mouse moves to the image

1. Put the mask layer HTML code and the picture i...

Implementation example of uploading multiple attachments in Vue

Table of contents Preface Core code File shows pa...

HTML code to add icons to transparent input box

I was recently writing a lawyer recommendation we...

Introduction to Royal Blue Color Matching for Web Design

Classical color combinations convey power and auth...

How to delete a MySQL table

It is very easy to delete a table in MySQL, but y...

MySQL conditional query and or usage and priority example analysis

This article uses examples to illustrate the usag...

Detailed explanation of Tomcat directory structure

Table of contents Directory Structure bin directo...

HTML implements read-only text box and cannot modify the content

Without further ado, I will post the code for you...

Linux five-step build kernel tree

Table of contents 0. The kernel tree that comes w...

Detailed explanation of setting up DNS server in Linux

1. DNS server concept Communication on the Intern...

How to write the introduction content of the About page of the website

All websites, whether official, e-commerce, socia...