This article takes the USB to the serial port as an example! The serial port of the PC comes from ttyS0 (ttys0-com1, TTYS1-COM2, etc.).
First, find the serial device
DMESG | grep usb
We'll see the PL2303 mapped on the ttyUSB0 port.
[ 1.797793] USB 2-1.6:new full-speed USB device number 4 using ehci-pci[ 1.891100] USB 2-1.6:new USB Device Foun D, idvendor=067b, idproduct=2303[ 1.891104] USB 2-1.6:new USB device Strings:mfr=1, product=2, serialnumber=0[ 1.891107] USB 2-1.6:product:usb-serial controller[ 1.891110] USB 2-1.6:manufacturer:prolific Technology Inc.[
11.048933] usbcore:registered New interface driver usbserial[ 11.048943] usbcore:registered new Interface driver US bserial_generic[ 11.048950] USBSERIAL:USB Serial support registered for generic[ 11.194763] Usbcore: Registered new Interface driver pl2303[ 11.194775] USBSERIAL:USB Serial support registered for pl2303[ 11.19641 0] USB 2-1.6:pl2303 Converter now attached to ttyUSB0
Second, minicom 1. Installation
Apt-get Install minicom
2. Settings
sudo minicom-s
The default settings
(1) Changing the serial device
Press "a" and enter "/dev/ttyusb0".
(2) Change the baud rate
Press "E" and enter "a" or "B" to select the set frequency. Then, enter.
(3) Change hardware flow control
Press "F", set to Yes or no
Enter, set to complete.
(4) Save as default setting
3. Running
sudo minicom
Reference articles
1. The use of PL2303 serial port in Ubuntu
2. "Minicom"--Linux man page
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Use of "HyperTerminal" under Ubuntu