Setting of USB to serial port and minicom under UbuntuLinux

Source: Internet
Author: User
The chip used by USB serial port converter is PL2303. You can enter the lsusb command on the UbuntuLinux terminal to find the device information # lsusb [root@www.linuxidc.com ~] # LsusbBus002Device001: ID1d6b: 0002LinuxFoundation2. 0roothubBus006Device001: ID1d6b: 000

The chip used by the USB serial port converter is PL2303. You can enter the lsusb command on the Ubuntu Linux terminal to check the device information.

# Lsusb

Root@www.linuxidc.com ~ # Lsusb

Bus 002 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub

Bus 006 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub

Bus 005 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub

Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub

Bus 004 Device 005: ID 067b: 2303 Prolific Technology, Inc. PL2303 Serial Port

Bus 004 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub

Bus 003 Device 003: ID 15d9: 0a37

Bus 003 Device 002: ID 1241: 1503 Belkin Keyboard

Bus 003 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub

That's the line of Bus 004.

If the Linux kernel version is later than 2.4.10, the kernel already contains its driver. You can choose to compile the kernel.

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

Mknod/dev/ttyUSB0 c 188 0

Check, exist!

Enter minicom-s on the terminal and enter the Setting Mode of minicom.

A)

Select Serial port: Select "Serial port setup" in the menu, press enter, and then press "A" to set "Serial Device"/dev/ttyUSB0 (note that USB is in uppercase ), press enter to return.

B) set the baud rate: press the "E" key to go to the "bps/par/Bits" page. If you press "I" to set the baud rate to 115200, press enter to return. (I am using a 2440 Board)

C) Data Stream Control: Press "F" to set "Hardware Flow Control" to "NO ".

D) press Save setup as df1 to Save the settings. Press Exit from Minicom to Exit Minicom

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.