Linux serial port instructions

Source: Internet
Author: User
Linux serial port description-general Linux technology-Linux technology and application information. For details, refer to the following section. I am a system integration engineer, so I often use notebook to debug the ROUTER or SWITCH in my daily work. However, when the operating system is changed to linux, I am dumb, I have also referenced some materials on the Internet. Based on my actual situation, the content is as follows:
1. Check the port number of the USB to comport: demesg | grep usb
For example
"USB Serial: USB Serial Driver core
USB Serial: USB Serial support registered for ftdi usb Serial Device
Usb 4-1: ftdi usb Serial Device converter now attached to ttyUSB0"
Because the serial port driver is FTDI, it corresponds to ttyUSB0.

2. Input in Terminal Mode
Minicom-s (under sudo)

+ ----- [Configuration] ------ +
| Filenames and paths |
| File transfer protocols |
| Serial port setup |
| Modem and dialing |
| Screen and keyboard |
| Save setup as dfl |
| Save setup as... |
| Exit |
| Exit from Minicom |
+ -------------------------- +

3. Go to "Serial transfer protocols"
4. Select A-Serial Device:/dev/ttyUSBX (X is the value found by dmesg)
5. Select E and then select E.
Note: 1. After each item is configured, press enter to save it;
6. Change F-Hardware Flow Control: value to NO
7. Select Exit from Minicom.

The above content is for your reference. Please forgive me for its incompleteness!
If you have any questions, please contact QQ 78495356.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.