How to use USB to serial port in Linux

Source: Internet
Author: User
In Linux, how to use the USB-to-serial-to-Linux Enterprise Application-to-Linux server application information is as follows. The serial port of the computer cannot be used. How can I connect to the serial port of the target board?

In windows, you can use USB-to-serial-to-linux!

Test environment: redhat linux fedora core 4

Summary:

1. Check whether the device/dev/ttyUSB0 exists. If not, create one:

Mknod/dev/ttyUSB0 c 188 0

The following reasoning is not tested:

If there are multiple USB ports, and so on, create/dev/ttyUSB [1-n]. Note that the device numbers must be accumulated, such as mknod/dev/ttyUSB [1-n] c 188 [1-n].

2. Start minicom, set the serial device to/dev/ttyUSB0, set the baud rate/Data bit/stop bit, and save as the default df1 Configuration

3. Restart minicom and reset the target board to see if any printed information is available?

If not, please confirm: a) there is no problem with the USB/serial cable, B) Make sure that the USB port you are using is the first one (try one by one, generally the computer will not mark it out)
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.