1. Download sudo apt-Get install minicom
2. Insert the USB to the serial port. Terminal input: dmesg | grep USB
...............
[2, 7415.893942] USB serial: USB serial driver Core
[2, 7415.931116] USB 3-1: ark3116 converter now attached to ttyusb0
[2, 7415.931141] usbcore: registered new interface driver ark3116
[2, 7430.248072] USB 3-1: USB disconnect, address 2
[2, 7434.588044] USB 3-1: new full speed USB device using uhci_hcd and address 3
...............
3. Settings: minicom-S
Serial Port setup --> serial device:/dev/ttyusb0
Set hardware data flow and Software Data Flow Control to no
4. Save and exit
5. Run the command window: minicom
Bytes ----------------------------------------------------------------------------------------------------
Note:By default, the USB to serial port driver (pl2303) is installed in Ubuntu ). I am using ark3116, which is also the default installation.
1. # lsmod | grep usbserial
If USB serial exists, the USB-to-serial port is supported.
Yzj @ yzj-LAPTOP :~ /Minicom $ lsmod | grep usbserial
Usbserial 36264 3 ark3116
2. Plug in the USB to serial port and enter the command # dmesg | grep ttyusb0 on the terminal. If the connection is successful, the Ubuntu system has recognized the device.
----------------------------------------------------
Key combination: press Ctrl + a first, then release the two keys, and then press Z. There are also some common key combinations.
(1) s key: send the file to the target system;
(2) W key: automatic screen scrolling. When more than one line is displayed, the next line is automatically wrapped. This function is useful when viewing kernel startup information.
(3) c: Clear the display content on the screen;
(4) Key B: view the historical display of minicom;
(5) Key X: Exit minicom and a prompt is displayed to confirm exit.