Ubuntu serial driver

Source: Internet
Author: User
Tags dmesg

Article Reprinted from http://apps.hi.baidu.com/share/detail/19669592

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.

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.