USB to serial port configuration in Linux

Source: Internet
Author: User

The USB-to-serial port configuration in Linux was completed for half a day today, and finally the USB-to-serial port under RHEL 6.2 was completed. 1) if you are not sure what chip is used when you connect the USB to the serial port, you can perform hot swapping and view the dmesg information:
Usb 1-5.1: new full speed USB device using ehci_hcd and address 4usb 1-5.1: New USB device found, idVendor = 0557, idProduct = 2008usb 1-5.1: New USB device strings: mfr = 1, Product = 2, SerialNumber = 0usb 1-5.1: Product: USB-Serial Controllerusb 1-5.1: Manufacturer: Prolific Technology Inc. usb 1-5.1: configuration #1 chosen from 1 choiceusbcore: registered new interface driver usbserialUSB Serial support Registered for genericusbcore: registered new interface driver connector: USB Serial Driver core www.2cto.com USB Serial support registered for pl2303pl2303 1-5.1: 1.0: pl2303 converter detectedusb 1-5.1: pl2303 converter now attached to ttyUSB0usbcore: registered new interface driver pl2303pl2303: Prolific PL2303 USB to serial adaptor driver can be seen using the pl2303 chip, and then the ttyUSB0 device is automatically generated. If this device is not generated, you need to create the device by yourself through mknod; www.2cto.com 2) then it is very easy. The kernel seems to automatically load the following modules: [root @ host2 ~] # Lsmod | grep pl2303 17792 1 usbserial 38620 3 pl2303 with these two modules, ttyUSB0 can be driven; 3) Use minicom-s for configuration; this is easy, tutorials are available online. Author oniziga

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.