openwrt支持pl2303usb转串口设备

openwrt支持pl2303usb转串口设备

(2015-04-18 09:08:32)
转载
标签:

杂谈

 
  1. 编译# make menuconfig

选如下

    Kernel modules  --->     USB Support  --->     

                 < *> kmod-usb-ohci............................... Support for OHCI controllers                   | |
  | |                        < > kmod-usb-printer.................................... Support for printers                   | |
  | |                        < M> kmod-usb-serial..................... Support for USB-to-Serial converters                   | |
  | |                        <>    kmod-usb-serial-ark3116........ Support for ArkMicroChips ARK3116 devices                 | |
  | |                        <>    kmod-usb-serial-belkin........................ Support for Belkin devices                 | |
  | |                        < M>   kmod-usb-serial-ch341.......................... Support for CH341 devices                 | |
  | |                        < M>   kmod-usb-serial-cp210x........... Support for Silicon Labs cp210x devices                 | |
  | |                        <>    kmod-usb-serial-cypress-m8.............. Support for CypressM8 USB-Serial                 | |
  | |                        <>    kmod-usb-serial-ftdi............................ Support for FTDI devices                 | |
  | |                        < > kmod-usb-serial-ipw.................... Support for IPWireless 3G devices                   | |
  | |                        < > kmod-usb-serial-keyspan........ Support for Keyspan USB-to-Serial devices                   | |
  | |                        < > kmod-usb-serial-mct.............. Support for Magic Control Tech. devices                   | |
  | |                        < > kmod-usb-serial-mos7720.............. Support for Moschip MOS7720 devices                   | |
  | |                        < > kmod-usb-serial-motorola-phone............ Support for Motorola usb phone                   | |
  | |                        < > kmod-usb-serial-option................... Support for Option HSDPA modems                   | |
  | |                        < > kmod-usb-serial-oti6858...... Support for Ours Technology OTI6858 devices                   | |
  | |                        < M> kmod-usb-serial-pl2303............... Support for Prolific PL2303 devices                   | |
  | |                        < > kmod-usb-serial-qualcomm................. Support for Qualcomm USB serial  

 

退出,保存

make V=99

编译若没有问题,

Z:\trunk\bin\ar71xx\packages\base 目录下会生成

kmod-usb-serial-pl2303_3.10.58-1_ar71xx.ipk 

 

kmod-usb-ohci_3.10.58-1_ar71xx.ipk

kmod-usb-core_3.10.58-1_ar71xx.ipk

kmod-usb2_3.10.58-1_ar71xx.ipk

2.打开winscp,将这些包都传到设备上。

3.安装

# opkg install kmod-usb-serial-pl2303_3.10.58-1_ar71xx.ipk

4.将usb转串口接入开发板
Installing kmod-usb-serial-pl2303 (3.10.58-1) to root...
Configuring kmod-usb-serial-pl2303.
# [  275.330000] usb 1-1.2: new full-speed USB device number 4 using ehci-platform
[  275.470000] pl2303 1-1.2:1.0: pl2303 converter detected
[  275.470000] usb 1-1.2: pl2303 converter now attached to ttyUSB0

你可能感兴趣的:(openwrt支持pl2303usb转串口设备)