SIMCOM WCDMA 添加,不能用操作步骤

来源:互联网 发布:东方网络股票最新消息 编辑:程序博客网 时间:2024/05/29 16:29
[html] view plain copy
 
 在CODE上查看代码片派生到我的代码片
  1. /*add for simcom huawei by jiangdou start*/  
  2. #define SIMCOM_WCDMA_VENDOR_ID                 0x05C6  
  3. #define SIMCOM_WCDMA_PRODUCT_ID                0x9000  
  4. /*add for simcom huawei by jiangdou end*/  
  5. /* Vendor and product IDs */  

[html] view plain copy
 
 在CODE上查看代码片派生到我的代码片
  1. static const struct usb_device_id option_ids[] = {  
  2. /*add for simcom huawei by jiangdou start*/  
  3.         { USB_DEVICE(SIMCOM_WCDMA_VENDOR_ID, SIMCOM_WCDMA_PRODUCT_ID) },  
  4. /*add for simcom huawei by jiangdou end*/  
  5.         { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },  

2st

dou@3q-ubtu:/work/rk32xx/rk3288_pad_4-4$ vi device/rockchip/rksdk/init.rc 

[html] view plain copy
 
 在CODE上查看代码片派生到我的代码片
  1. #add for ttyS1  by jiangdou  
  2.   
  3.     chmod 0666 /dev/ttyS1  
  4.         chmod 0666 /dev/ttyS3  
  5.     chmod 0666 /dev/ttyS4  
  6. #add for simcom by jiangdou  
  7. #----------------start-------------------------  
  8. # change init.gprs-pppd for recovery mode  
  9.     chmod 0777 /etc/init.gprs-pppd  
  10.     chmod 0777 /etc/3gdata_call.conf  
  11. #-----------------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/

[html] view plain copy
 
 在CODE上查看代码片派生到我的代码片
  1. dou@3q-ubtu:/work/rk32xx/rk3288_pad_4-4$ ll device/rockchip/rksdk/jiangdou_lins/   
  2. total 4148  
  3. drwxr-xr-x  2 dou dou    4096 Jan 27 15:59 ./  
  4. drwxrwxr-x 13 dou dou    4096 Jan 28 10:54 ../  
  5. -rwxr--r--  1 dou dou     116 Jan 26 17:37 3gdata_call.conf*  
  6. -rwxr--r--  1 dou dou 3990943 Dec  8 10:18 bootanimation.zip*  
  7. -rwxr--r--  1 dou dou    1162 Jan 26 17:37 init.gprs-pppd*  
  8. -rwxr--r--  1 dou dou   83196 Jan 20  2015 libMTS128.so*  
  9. -rwxr--r--  1 dou dou   71144 Jan 26 17:37 libreference-ril.so*  
  10. -rwxr--r--  1 dou dou   39532 Jan 26 17:37 libril.so*  
  11. -rwxr--r--  1 dou dou   17664 Jan 20  2015 mts128d*  
  12. -rwxr--r--  1 dou dou    5412 Jan 26 17:37 rild*  
  13. -rwxr--r--  1 dou dou    1147 Jan 20  2015 UCNANO_MULTI_TOUCHSCREEN.idc*  
  14. -rwxr--r--  1 dou dou     594 Apr 29  2014 usbtouch.idc*  
  15. 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

[html] view plain copy
 
 在CODE上查看代码片派生到我的代码片
  1. #=================add for WCDMA START==============  
  2. PRODUCT_COPY_FILES += \  
  3.     device/rockchip/rksdk/jiangdou_lins/3gdata_call.conf:root/etc/3gdata_call.conf \  
  4.         device/rockchip/rksdk/jiangdou_lins/init.gprs-pppd:root/etc/init.gprs-pppd \  
  5.         device/rockchip/rksdk/jiangdou_lins/libreference-ril.so:system/lib/libreference-ril.so \  
  6.         device/rockchip/rksdk/jiangdou_lins/libril.so:system/lib/libril.so \  
  7.         device/rockchip/rksdk/jiangdou_lins/rild:system/bin/rild \  
  8. #=================add for WCDMA END================   




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





0 0
原创粉丝点击