SIMCOM WCDMA 添加,不能用!!

2019-07-14 01:29发布

1st   dou@3q-ubtu:/work/rk32xx/rk3288_pad_4-4/kernel$ vi drivers/usb/serial/option.c
/*add for simcom huawei by jiangdou start*/ #define SIMCOM_WCDMA_VENDOR_ID 0x05C6 #define SIMCOM_WCDMA_PRODUCT_ID 0x9000 /*add for simcom huawei by jiangdou end*/ /* Vendor and product IDs */
static const struct usb_device_id option_ids[] = { /*add for simcom huawei by jiangdou start*/ { USB_DEVICE(SIMCOM_WCDMA_VENDOR_ID, SIMCOM_WCDMA_PRODUCT_ID) }, /*add for simcom huawei by jiangdou end*/ { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
2st dou@3q-ubtu:/work/rk32xx/rk3288_pad_4-4$ vi device/rockchip/rksdk/init.rc 
#add for ttyS1 by jiangdou chmod 0666 /dev/ttyS1 chmod 0666 /dev/ttyS3 chmod 0666 /dev/ttyS4 #add for simcom by jiangdou #----------------start------------------------- # change init.gprs-pppd for recovery mode chmod 0777 /etc/init.gprs-pppd chmod 0777 /etc/3gdata_call.conf #-----------------end-------------------------- #modified for simcom by jiangdou start
#-------------------------------------start---------------------------------------------------
#service ril-daemon /system/bin/rild -l /system/lib/libreference-ril.so -- -d /dev/pts/0
service ril-daemon /system/bin/rild -l /system/lib/libreference-ril.so
    class main
    socket rild stream 660 root radio
    socket rild-debug stream 660 radio system
#----    gps supported  --------------------
#   socket rild-gps stream 660 radio system
    user root
    group radio cache inet misc audio sdcard_rw


service pppd_gprs /etc/init.gprs-pppd
    user root
    group radio cache inet misc
    disabled
    oneshot
#--------------------------------------end--------------------------------------
service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server




3st  cp   .so  ==   /devices/rockchip/rksdk/jiangdou_lins/ dou@3q-ubtu:/work/rk32xx/rk3288_pad_4-4$ ll device/rockchip/rksdk/jiangdou_lins/ total 4148 drwxr-xr-x 2 dou dou 4096 Jan 27 15:59 ./ drwxrwxr-x 13 dou dou 4096 Jan 28 10:54 ../ -rwxr--r-- 1 dou dou 116 Jan 26 17:37 3gdata_call.conf* -rwxr--r-- 1 dou dou 3990943 Dec 8 10:18 bootanimation.zip* -rwxr--r-- 1 dou dou 1162 Jan 26 17:37 init.gprs-pppd* -rwxr--r-- 1 dou dou 83196 Jan 20 2015 libMTS128.so* -rwxr--r-- 1 dou dou 71144 Jan 26 17:37 libreference-ril.so* -rwxr--r-- 1 dou dou 39532 Jan 26 17:37 libril.so* -rwxr--r-- 1 dou dou 17664 Jan 20 2015 mts128d* -rwxr--r-- 1 dou dou 5412 Jan 26 17:37 rild* -rwxr--r-- 1 dou dou 1147 Jan 20 2015 UCNANO_MULTI_TOUCHSCREEN.idc* -rwxr--r-- 1 dou dou 594 Apr 29 2014 usbtouch.idc* dou@3q-ubtu:/work/rk32xx/rk3288_pad_4-4$

4st   dou@3q-ubtu:/work/rk32xx/rk3288_pad_4-4$ vi device/rockchip/rksdk/device.mk
#=================add for WCDMA START============== PRODUCT_COPY_FILES += device/rockchip/rksdk/jiangdou_lins/3gdata_call.conf:root/etc/3gdata_call.conf device/rockchip/rksdk/jiangdou_lins/init.gprs-pppd:root/etc/init.gprs-pppd device/rockchip/rksdk/jiangdou_lins/libreference-ril.so:system/lib/libreference-ril.so device/rockchip/rksdk/jiangdou_lins/libril.so:system/lib/libril.so device/rockchip/rksdk/jiangdou_lins/rild:system/bin/rild #=================add for WCDMA END================



5st  验证文件完整性。。请看截图