Linux下的USB轉串口配置

來源:互聯網
上載者:User

Linux下的USB轉串口配置 今天弄了半天,終於把RHEL 6.2下的USB轉串口弄好了。 1)USB轉串口線時Aten的,如果不確定用的什麼晶片,可以進行一下熱插拔,然後查看dmesg資訊:
 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 usbserial_genericusbserial: 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 可以看到用的是pl2303的晶片,然後自動產生了ttyUSB0這個裝置。如果沒有產生這個裝置,則要通過mknod自己建立裝置;  www.2cto.com  2)接下來就很容易了,核心好像會自動載入以下模組:[root@host2 ~]# lsmod | grep plpl2303                 17792  1 usbserial              38620  3 pl2303有了這兩個模組,ttyUSB0就可以驅動起來; 3)利用minicom -s進行配置;這個很容易了,網上有教程。   作者 oniziga

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.