1.
编译内核
,
使内核支持
USB
转串口以及
ppp,
在
USB
下增加
VID
和
PID
在
/osdrv/opensource/kernel/linux-4.9.y
路径下输入命令
make ARCH=arm CROSS_COMPILE=arm-himix100-linux- menuconfig
选中
Device Drivers->USB support->USB Modem (CDC ACM)support
->USB Mass Storage support
->USB Mass Storage verbose debug
->Realtek Card Reader support
->Realtek Card Reader autosuspend support
->Datafab Compact Flash Reader support
->Inventra Highspeed Dual Role Controller(TI,ADI,AW,...)
->USB Serial Converter support
->USB Generic Serial Driver
->USB driver for GSM and CDMA modems
Device Drivers->Network device support->PPP(point-to-point protocol) support
PPP BSD-Compress compression
PPP Deflate compression
PPP filtering
PPP MPPE compression (encrytion)
PPP multilink support
PPP over Ethernet
PPP support for async serial ports
PPPsupport sync tty ports
SLIP (serial line) support
CSLIP compressed headers
USB Network Adapters
在
osdrv/opensource/kernel/linux-4.9.y/drivers/usb/serial/
路径下打开
option.c
在
339-340
、
648-650
、
1864-1865
行插入以下代码
339 #define SIMCOM_VENDOR_ID 0x1e0e
340 #define SIMCOM_PRODUCT_PID_X9011 0x9011
648 static const struct option_blacklist_info simcom_pid9011_blacklist = {