Use the serial port minicom in Linux in VMware

Source: Internet
Author: User

To use the serial port for Linux running on a virtual machine, you must set it in the Virtual Machine. Choose VM> Settings> hardware> Add to add the serial port. You can set COM1, com2 is added, you can also choose to automatically detect, then, disable Linux, and restart VMware. in this way, you can use the serial port. However, to use the serial port to download the kernel to the Development Board, you still need to set a minicom.

First, type "minicom" in the Command terminal to start the minicom software. By default, minicom performs initialization configuration when it is started. For example:


Next, you can type ctrl + a z to view the help information of minicom. You can enter "O" to configure the serial port parameters of minicom, or press Ctrl + A + O to configure the parameters. As shown in.



 

In this configuration box, select the subitem "Serial Port setup" To Go To The following configuration page.


The configuration of minicom is listed above. You can enter each subitem by entering the corresponding letter. For example, if you type A, the cursor is transferred to the corresponding position of item. In this way, you can change the following options. After the changes, you can enter the Enter key, confirm, and return.
Note: In minicom, "ttys0" corresponds to "COM1" and "ttys1" corresponds to "com2 ". the hardware is COM1, but ttys1 is required during the configuration process to connect successfully.
Next, you can configure the baud rate, data bit, and stop bit, and enter "E" to enter the configuration interface.



On the configuration change page, you can enter the corresponding letter, such as the baud rate and stop bit, to implement the configuration. After the configuration is complete, press the Enter key to exit the configuration interface. After confirming that the configuration is correct, you can enter the Enter key to return to the configuration interface of the upper level, and save it.

Then you can restart minicom to make the configuration take effect.

Here we will introduce a powerful screenshot capture tool, shutter, which is very good and powerful.

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.