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 how Zabbix monitors the master-slave status of MySQL

After setting up the MySQL master-slave, you ofte...

Example code of how to implement pivot table in MySQL/MariaDB

The previous article introduced several methods f...

Understand CSS3 Grid layout in 10 minutes

Basic Introduction In the previous article, we in...

HTML tags list and usage instructions

List of HTML tags mark type Name or meaning effec...

How to configure pseudo-static and client-adaptive Nginx

The backend uses the thinkphp3.2.3 framework. If ...

js object-oriented method to achieve drag effect

This article shares the specific code for impleme...

HTML table tag tutorial (25): vertical alignment attribute VALIGN

In the vertical direction, you can set the row al...

How to access the local machine (host machine) in Docker

Question How to access the local database in Dock...

Example of using Docker to build an ELK log system

The following installations all use the ~/ direct...

Vue3 implements CSS infinite seamless scrolling effect

This article example shares the specific code of ...