CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 7370|回复: 0

s700 android 5.1移植 EC20问题

[复制链接]
发表于 2019-8-31 11:12:21 | 显示全部楼层 |阅读模式
本帖最后由 goodman 于 2019-8-31 12:22 编辑

开发板是CB7,使用的BSP包是S700_AD700A_V2.0_171206
andriod5.1,看到SDK内部的内核和androidm目录里(android/hardware/ril/reference-ril)面已经添加了EC20的支持。
android/device/actions/s700_cb7/init.rc
打开了
service ril-daemon /system/bin/rild -l /system/lib/libreference-ril.so
    class main
    socket rild stream 660 root radio
    socket rild-debug stream 666 radio system
    user root
    group radio cache inet misc audio sdcard_rw log


但是编译完固件烧录到,系统无法拨号,netcfg里面没有ppp0这个拨号。
root@AD700A:/ # netcfg                                                         
ip6tnl0  DOWN                                   0.0.0.0/0   0x00000080 00:00:00:00:00:00
lo       UP                                   127.0.0.1/8   0x00000049 00:00:00:00:00:00
sit0     DOWN                                   0.0.0.0/0   0x00000080 00:00:00:00:00:00
eth0     UP                                     0.0.0.0/0   0x00001003 00:18:fe:c5:0e:b8
root@AD700A:/ #

EC20的 /dev/ttyUSB0  USB1  USB2  USB3  已经生成了,
另外用AT+QCCID也可以读出卡号。
部分调试信息系如下:

[   12.994281] acc_release
[   13.053406] start mon 0 ......
[   13.057281] start mon 1 ......
[   13.663281] aotg_hcd e01d0000.usb: usb reset OK: 0.
[   13.670749] __read_chipid sensor = 0x164
[   13.674749] cpu0_read_chipid dvfs_val = 0x164
[   13.679156] aotg_hcd e01d0000.usb: aotg[0] CURRENT value: 0x6
[   13.685374] aotg_hcd e01d0000.usb: AOTG USB Host Controller Driver
[   13.691593] aotg_hcd e01d0000.usb: new USB bus registered, assigned bus number 3
[   13.699156] aotg_hcd e01d0000.usb: irq 56, io mem 0xe01d0000
[   13.704843] aotg_hcd e01d0000.usb: <HCD> start
[   13.710781] usb usb3: usb_set_configuration delay 1ms
[   13.717593] owl_aotg_get_cam_shield_config find device node fail
[   13.723687] owl_aotg_get_cam_shield_config find device node fail
[   13.729968] hub 3-0:1.0: USB hub found
[   13.733968] hub 3-0:1.0: 1 port detected
[   13.793124] USBEIEN(0xffffff800058650b): 0x80
[   13.797562] aotg_hcd e01d0000.usb: hcd controller initialized. OTGIRQ: 0x01, OTGSTATE: 0x02
[   13.907531] port_no:0 OTG IRQ, OTGSTATE: 0x03, USBIRQ:0x00
[   13.914062] aotg_hcd e01d0000.usb: <USB> e01d0000.usb connection changed: 1, acthcd->inserted: 1
[   13.922874] aotg_hub_hotplug_timer:1414, dbg!
[   14.085156] set port reset!80
[   14.088156] USBRESET IRQ
[   14.138187] USBRESET IRQ
[   14.159656] eth0: device MAC address 00:18:fe:c5:0e:b8
[   14.164906] stmmac_init_phy:  trying to attach to stmmac-0:01-5-1
[   14.171218] rtl8201f_config_init,reg16:0x1548
[   14.187937]  No MAC Management Counters available
[   14.192656] stmmac_open: failed PTP initialisation
[   14.203156] usb 3-1: new high-speed USB device number 2 using aotg_hcd
[   14.210031] aotg_hcd e01d0000.usb: device addr : 0x00000000
[   14.218218] set port reset!80
[   14.271406] USBRESET IRQ
[   14.343468] aotg_hcd e01d0000.usb: <EP DISABLE> ep0 index 0 from ep [in]
[   14.363156] aotg_hcd e01d0000.usb: device addr : 0x00000002
[   14.379249] usb 3-1: usb_set_configuration delay 1ms
[   14.386906] owl_aotg_get_cam_shield_config find device node fail
[   14.393624] owl_aotg_get_cam_shield_config find device node fail
[   14.400124] option 3-1:1.0: GSM modem (1-port) converter detected
[   14.408249] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
[   14.416624] owl_aotg_get_cam_shield_config find device node fail
[   14.422874] owl_aotg_get_cam_shield_config find device node fail
[   14.429249] option 3-1:1.1: GSM modem (1-port) converter detected
[   14.437312] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
[   14.445593] owl_aotg_get_cam_shield_config find device node fail
[   14.451749] owl_aotg_get_cam_shield_config find device node fail
[   14.457937] option 3-1:1.2: GSM modem (1-port) converter detected
[   14.465968] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2
[   14.474656] owl_aotg_get_cam_shield_config find device node fail
[   14.481156] owl_aotg_get_cam_shield_config find device node fail
[   14.487843] option 3-1:1.3: GSM modem (1-port) converter detected
[   14.496031] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB3
[   14.504718] owl_aotg_get_cam_shield_config find device node fail
[   14.511281] owl_aotg_get_cam_shield_config find device node fail
[   14.517562] option 3-1:1.4: GSM modem (1-port) converter detected
[   14.524187] option: probe of 3-1:1.4 failed with error -5
[   14.610406] FAT-fs (mmcblk0p11): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   14.731156] vce_drv: vce_open!info:ffffffc06d627000,count:1
[   14.736999] vce_drv: new rate (240 MHz) is set
[   14.741468] vce_drv: out of vce_drv_open ...1.
[   14.746968] ++

运行 logcat -b radio后显示的部分日志:

D/ATC     (  113): AT> AT+CSQ
D/ATC     (  113): AT< +CSQ: 12,99
D/ATC     (  113): AT< OK
I/RILC    (  113): RIL_SOCKET_1 UNSOLICITED: UNSOL_SIGNAL_STRENGTH length:60
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/ATC     (  113): AT> AT+CGREG?
D/DefaultPhoneNotifier(  840): notifySignalStrength: mRegistry=com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy@30266222 ss=SignalStrength: 12 99 -106 -106 -106 -106 -1 99 2147483647 2147483647 2147483647 2147483647 gsm|lte sender=Handler (com.android.internal.telephony.gsm.GSMPhone) {173ac72f}
D/ATC     (  113): AT< +CGREG: 2,2
D/ATC     (  113): AT< OK
D/ATC     (  113): AT> AT+CSQ
D/ATC     (  113): AT< +CSQ: 12,99
D/ATC     (  113): AT< OK
I/RILC    (  113): RIL_SOCKET_1 UNSOLICITED: UNSOL_SIGNAL_STRENGTH length:60
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/ATC     (  113): AT> AT+CGREG?
D/DefaultPhoneNotifier(  840): notifySignalStrength: mRegistry=com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy@30266222 ss=SignalStrength: 12 99 -106 -106 -106 -106 -1 99 2147483647 2147483647 2147483647 2147483647 gsm|lte sender=Handler (com.android.internal.telephony.gsm.GSMPhone) {173ac72f}
D/ATC     (  113): AT< +CGREG: 2,2
D/ATC     (  113): AT< OK
D/ATC     (  113): AT> AT+CSQ
D/ATC     (  113): AT< +CSQ: 12,99
D/ATC     (  113): AT< OK
I/RILC    (  113): RIL_SOCKET_1 UNSOLICITED: UNSOL_SIGNAL_STRENGTH length:60
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/ATC     (  113): AT> AT+CGREG?
D/DefaultPhoneNotifier(  840): notifySignalStrength: mRegistry=com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy@30266222 ss=SignalStrength: 12 99 -106 -106 -106 -106 -1 99 2147483647 2147483647 2147483647 2147483647 gsm|lte sender=Handler (com.android.internal.telephony.gsm.GSMPhone) {173ac72f}
D/ATC     (  113): AT< +CGREG: 2,2
D/ATC     (  113): AT< OK
D/ATC     (  113): AT> AT+CSQ
D/ATC     (  113): AT< +CSQ: 12,99
D/ATC     (  113): AT< OK
I/RILC    (  113): RIL_SOCKET_1 UNSOLICITED: UNSOL_SIGNAL_STRENGTH length:60
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/ATC     (  113): AT> AT+CGREG?
D/DefaultPhoneNotifier(  840): notifySignalStrength: mRegistry=com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy@30266222 ss=SignalStrength: 12 99 -106 -106 -106 -106 -1 99 2147483647 2147483647 2147483647 2147483647 gsm|lte sender=Handler (com.android.internal.telephony.gsm.GSMPhone) {173ac72f}
D/ATC     (  113): AT< +CGREG: 2,2
D/ATC     (  113): AT< OK
D/ATC     (  113): AT< +CREG: 1,"D10E","60E6736",2
I/RILC    (  113): RIL_SOCKET_1 UNSOLICITED: UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED length:8
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RILJ    (  840): [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED [SUB0]
D/RILJ    (  840): [3773]> OPERATOR [SUB0]
D/RILC    (  113): onRequest: OPERATOR
D/ATC     (  113): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/RILJ    (  840): [3774]> DATA_REGISTRATION_STATE [SUB0]
D/RILJ    (  840): [3775]> VOICE_REGISTRATION_STATE [SUB0]
D/RILJ    (  840): [3776]> QUERY_NETWORK_SELECTION_MODE [SUB0]
D/ATC     (  113): AT< +COPS: 0,0,"CHN-UNICOM",2
D/ATC     (  113): AT< +COPS: 0,1,"UNICOM",2
D/ATC     (  113): AT< +COPS: 0,2,"46001",2
D/ATC     (  113): AT< OK
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RILC    (  113): onRequest: DATA_REGISTRATION_STATE
D/ATC     (  113): AT> AT+CGREG?
D/ATC     (  113): AT< +CGREG: 2,2
D/ATC     (  113): AT< OK
D/RILJ    (  840): [3773]< OPERATOR {CHN-UNICOM, UNICOM, 46001} [SUB0]
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RILC    (  113): onRequest: VOICE_REGISTRATION_STATE
D/ATC     (  113): AT> AT+CREG?
D/ATC     (  113): AT< +CREG: 2,1,"D10E","60E6736",2
D/ATC     (  113): AT< OK
D/RILJ    (  840): [3774]< DATA_REGISTRATION_STATE {2} [SUB0]
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/ATC     (  113): AT> AT+CSQ
D/PHONE   (  840): [ServiceState] setDataRegState=1
D/PHONE   (  840): [ServiceState] setDataRadioTechnology=0
D/GsmSST  (  840): [GsmSST] handlPollStateResultMessage: GsmSST setDataRegState=1 regState=2 dataRadioTechnology=0
D/RILJ    (  840): [3775]< VOICE_REGISTRATION_STATE {1, d10e, 60e6736, 3} [SUB0]
D/PHONE   (  840): [ServiceState] setVoiceRegState=0
E/PHONE   (  840): [ServiceState] setState deprecated use setVoiceRegState()
D/ATC     (  113): AT< +CSQ: 12,99
D/ATC     (  113): AT< OK
I/RILC    (  113): RIL_SOCKET_1 UNSOLICITED: UNSOL_SIGNAL_STRENGTH length:60
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/ATC     (  113): AT> AT+CGREG?
D/ATC     (  113): AT< +CGREG: 2,2
D/ATC     (  113): AT< OK
D/RILC    (  113): onRequest: QUERY_NETWORK_SELECTION_MODE
D/ATC     (  113): AT> AT+COPS?
D/ATC     (  113): AT< +COPS: 0,2,"46001",2
D/ATC     (  113): AT< OK
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/DefaultPhoneNotifier(  840): notifySignalStrength: mRegistry=com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy@30266222 ss=SignalStrength: 12 99 -106 -106 -106 -106 -1 99 2147483647 2147483647 2147483647 2147483647 gsm|lte sender=Handler (com.android.internal.telephony.gsm.GSMPhone) {173ac72f}
D/RILJ    (  840): [3776]< QUERY_NETWORK_SELECTION_MODE {0} [SUB0]
D/GsmSST  (  840): [GsmSST] Poll ServiceState done:  oldSS=[1 1 voice home data home CHN-UNICOM UNICOM 46001 CHN-UNICOM UNICOM 46001  UMTS Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] newSS=[0 1 voice home data home CHN-UNICOM UNICOM 46001 CHN-UNICOM UNICOM 46001  UMTS Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] oldMaxDataCalls=1 mNewMaxDataCalls=1 oldReasonDataDenied=-1 mNewReasonDataDenied=-1
D/GsmSST  (  840): [GsmSST] useDataRegStateForDataOnlyDevice: VoiceRegState=0 DataRegState=1
D/PHONE   (  840): [ServiceState] setVoiceRegState=1
D/PHONE   (  840): [ServiceState] setNullState=1
D/GsmSST  (  840): [GsmSST] getCellLocation(): X good mCellLoc=[53518,101607222,-1]
D/TelephonyRegistry(  409): notifyCellLocationForSubscriber: subId=2 cellLocation=Bundle[mParcelledData.dataSize=64]
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/GsmSST  (  840): [GsmSST] getCellLocation(): X good mCellLoc=[53518,101607222,-1]
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/TelephonyManager( 1080): getSimOperatorNumeric(): default subId=2
D/TelephonyManager( 1080): getTelephonyProperty: return propVal='46006' phoneId=0 property='gsm.sim.operator.numeric' defaultVal='' prop=46006
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/TelephonyManager( 1080): getTelephonyProperty: return propVal='46001' phoneId=0 property='gsm.operator.numeric' defaultVal='' prop=46001
D/RILJ    (  840): [3777]> REQUEST_GET_NEIGHBORING_CELL_IDS [SUB0]
D/RILC    (  113): onRequest: GET_NEIGHBORING_CELL_IDS
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RilRequest(  840): [3777]< REQUEST_GET_NEIGHBORING_CELL_IDS error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
D/RILJ    (  840): [3778]> RIL_REQUEST_GET_CELL_INFO_LIST [SUB0]
D/RILC    (  113): onRequest: GET_CELL_INFO_LIST
D/ATC     (  113): AT> AT+QENG="servingcell"
D/ATC     (  113): AT< +QENG: "servingcell","NOCONN","WCDMA",460,01,D10E,60E6736,10688,61,1,-90,-9,-,-,-,-,-
D/ATC     (  113): AT< OK
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RILJ    (  840): [3778]< RIL_REQUEST_GET_CELL_INFO_LIST [CellInfoWcdma:{mRegistered=YES mTimeStampType=oem_ril mTimeStamp=284812062634ns CellIdentityWcdma:{ mMcc=460 mMnc=1 mLac=53518 mCid=101607222 mPsc=61} CellSignalStrengthWcdma: ss=12 ber=0}] [SUB0]
D/GsmSST  (  840): [GsmSST] SST.getAllCellInfo(): X size=1 list=[CellInfoWcdma:{mRegistered=YES mTimeStampType=oem_ril mTimeStamp=284812062634ns CellIdentityWcdma:{ mMcc=460 mMnc=1 mLac=53518 mCid=101607222 mPsc=61} CellSignalStrengthWcdma: ss=12 ber=0}]
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/GsmSST  (  840): [GsmSST] getCellLocation(): X good mCellLoc=[53518,101607222,-1]
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/ATC     (  113): AT< +CREG: 1,"D10E","60E444F",2
I/RILC    (  113): RIL_SOCKET_1 UNSOLICITED: UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED length:8
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RILJ    (  840): [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED [SUB0]
D/RILJ    (  840): [3779]> OPERATOR [SUB0]
D/RILC    (  113): onRequest: OPERATOR
D/ATC     (  113): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/RILJ    (  840): [3780]> DATA_REGISTRATION_STATE [SUB0]
D/RILJ    (  840): [3781]> VOICE_REGISTRATION_STATE [SUB0]
D/RILJ    (  840): [3782]> QUERY_NETWORK_SELECTION_MODE [SUB0]
D/ATC     (  113): AT< +COPS: 0,0,"CHN-UNICOM",2
D/ATC     (  113): AT< +COPS: 0,1,"UNICOM",2
D/ATC     (  113): AT< +COPS: 0,2,"46001",2
D/ATC     (  113): AT< OK
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RILC    (  113): onRequest: DATA_REGISTRATION_STATE
D/ATC     (  113): AT> AT+CGREG?
D/RILJ    (  840): [3779]< OPERATOR {CHN-UNICOM, UNICOM, 46001} [SUB0]
D/ATC     (  113): AT< +CGREG: 2,2
D/ATC     (  113): AT< OK
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RILC    (  113): onRequest: VOICE_REGISTRATION_STATE
D/ATC     (  113): AT> AT+CREG?
D/RILJ    (  840): [3780]< DATA_REGISTRATION_STATE {2} [SUB0]
D/ATC     (  113): AT< +CREG: 2,1,"D10E","60E444F",2
D/ATC     (  113): AT< OK
D/PHONE   (  840): [ServiceState] setDataRegState=1
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/PHONE   (  840): [ServiceState] setDataRadioTechnology=0
D/ATC     (  113): AT> AT+CSQ
D/GsmSST  (  840): [GsmSST] handlPollStateResultMessage: GsmSST setDataRegState=1 regState=2 dataRadioTechnology=0
D/RILJ    (  840): [3781]< VOICE_REGISTRATION_STATE {1, d10e, 60e444f, 3} [SUB0]
D/PHONE   (  840): [ServiceState] setVoiceRegState=0
E/PHONE   (  840): [ServiceState] setState deprecated use setVoiceRegState()
D/ATC     (  113): AT< +CSQ: 12,99
D/ATC     (  113): AT< OK
I/RILC    (  113): RIL_SOCKET_1 UNSOLICITED: UNSOL_SIGNAL_STRENGTH length:60
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/ATC     (  113): AT> AT+CGREG?
D/DefaultPhoneNotifier(  840): notifySignalStrength: mRegistry=com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy@30266222 ss=SignalStrength: 12 99 -106 -106 -106 -106 -1 99 2147483647 2147483647 2147483647 2147483647 gsm|lte sender=Handler (com.android.internal.telephony.gsm.GSMPhone) {173ac72f}
D/ATC     (  113): AT< +CGREG: 2,2
D/ATC     (  113): AT< OK
D/RILC    (  113): onRequest: QUERY_NETWORK_SELECTION_MODE
D/ATC     (  113): AT> AT+COPS?
D/ATC     (  113): AT< +COPS: 0,2,"46001",2
D/ATC     (  113): AT< OK
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RILJ    (  840): [3782]< QUERY_NETWORK_SELECTION_MODE {0} [SUB0]
D/GsmSST  (  840): [GsmSST] Poll ServiceState done:  oldSS=[1 1 voice home data home CHN-UNICOM UNICOM 46001 CHN-UNICOM UNICOM 46001  UMTS Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] newSS=[0 1 voice home data home CHN-UNICOM UNICOM 46001 CHN-UNICOM UNICOM 46001  UMTS Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] oldMaxDataCalls=1 mNewMaxDataCalls=1 oldReasonDataDenied=-1 mNewReasonDataDenied=-1
D/GsmSST  (  840): [GsmSST] useDataRegStateForDataOnlyDevice: VoiceRegState=0 DataRegState=1
D/PHONE   (  840): [ServiceState] setVoiceRegState=1
D/PHONE   (  840): [ServiceState] setNullState=1
D/GsmSST  (  840): [GsmSST] getCellLocation(): X good mCellLoc=[53518,101598287,-1]
D/TelephonyRegistry(  409): notifyCellLocationForSubscriber: subId=2 cellLocation=Bundle[mParcelledData.dataSize=64]
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/GsmSST  (  840): [GsmSST] getCellLocation(): X good mCellLoc=[53518,101598287,-1]
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/TelephonyManager( 1080): getSimOperatorNumeric(): default subId=2
D/TelephonyManager( 1080): getTelephonyProperty: return propVal='46006' phoneId=0 property='gsm.sim.operator.numeric' defaultVal='' prop=46006
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/TelephonyManager( 1080): getTelephonyProperty: return propVal='46001' phoneId=0 property='gsm.operator.numeric' defaultVal='' prop=46001
D/RILJ    (  840): [3783]> REQUEST_GET_NEIGHBORING_CELL_IDS [SUB0]
D/RILC    (  113): onRequest: GET_NEIGHBORING_CELL_IDS
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RilRequest(  840): [3783]< REQUEST_GET_NEIGHBORING_CELL_IDS error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
D/RILJ    (  840): [3784]> RIL_REQUEST_GET_CELL_INFO_LIST [SUB0]
D/RILC    (  113): onRequest: GET_CELL_INFO_LIST
D/ATC     (  113): AT> AT+QENG="servingcell"
D/ATC     (  113): AT< +QENG: "servingcell","NOCONN","WCDMA",460,01,D10E,60E444F,10688,167,1,-90,-8,-,-,-,-,-
D/ATC     (  113): AT< OK
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RILJ    (  840): [3784]< RIL_REQUEST_GET_CELL_INFO_LIST [CellInfoWcdma:{mRegistered=YES mTimeStampType=oem_ril mTimeStamp=289212687636ns CellIdentityWcdma:{ mMcc=460 mMnc=1 mLac=53518 mCid=101598287 mPsc=167} CellSignalStrengthWcdma: ss=12 ber=0}] [SUB0]
D/GsmSST  (  840): [GsmSST] SST.getAllCellInfo(): X size=1 list=[CellInfoWcdma:{mRegistered=YES mTimeStampType=oem_ril mTimeStamp=289212687636ns CellIdentityWcdma:{ mMcc=460 mMnc=1 mLac=53518 mCid=101598287 mPsc=167} CellSignalStrengthWcdma: ss=12 ber=0}]
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/GsmSST  (  840): [GsmSST] getCellLocation(): X good mCellLoc=[53518,101598287,-1]
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/ATC     (  113): AT< +CREG: 1,"D10E","60E4449",2
I/RILC    (  113): RIL_SOCKET_1 UNSOLICITED: UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED length:8
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RILJ    (  840): [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED [SUB0]
D/RILJ    (  840): [3785]> OPERATOR [SUB0]
D/RILC    (  113): onRequest: OPERATOR
D/ATC     (  113): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/RILJ    (  840): [3786]> DATA_REGISTRATION_STATE [SUB0]
D/RILJ    (  840): [3787]> VOICE_REGISTRATION_STATE [SUB0]
D/RILJ    (  840): [3788]> QUERY_NETWORK_SELECTION_MODE [SUB0]
D/ATC     (  113): AT< +COPS: 0,0,"CHN-UNICOM",2
D/ATC     (  113): AT< +COPS: 0,1,"UNICOM",2
D/ATC     (  113): AT< +COPS: 0,2,"46001",2
D/ATC     (  113): AT< OK
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RILC    (  113): onRequest: DATA_REGISTRATION_STATE
D/ATC     (  113): AT> AT+CGREG?
D/RILJ    (  840): [3785]< OPERATOR {CHN-UNICOM, UNICOM, 46001} [SUB0]
D/ATC     (  113): AT< +CGREG: 2,2
D/ATC     (  113): AT< OK
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RILC    (  113): onRequest: VOICE_REGISTRATION_STATE
D/ATC     (  113): AT> AT+CREG?
D/RILJ    (  840): [3786]< DATA_REGISTRATION_STATE {2} [SUB0]
D/PHONE   (  840): [ServiceState] setDataRegState=1
D/PHONE   (  840): [ServiceState] setDataRadioTechnology=0
D/ATC     (  113): AT< +CREG: 2,1,"D10E","60E4449",2
D/ATC     (  113): AT< OK
D/GsmSST  (  840): [GsmSST] handlPollStateResultMessage: GsmSST setDataRegState=1 regState=2 dataRadioTechnology=0
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/ATC     (  113): AT> AT+CSQ
D/RILJ    (  840): [3787]< VOICE_REGISTRATION_STATE {1, d10e, 60e4449, 3} [SUB0]
D/PHONE   (  840): [ServiceState] setVoiceRegState=0
E/PHONE   (  840): [ServiceState] setState deprecated use setVoiceRegState()
D/ATC     (  113): AT< +CSQ: 12,99
D/ATC     (  113): AT< OK
I/RILC    (  113): RIL_SOCKET_1 UNSOLICITED: UNSOL_SIGNAL_STRENGTH length:60
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/ATC     (  113): AT> AT+CGREG?
D/ATC     (  113): AT< +CGREG: 2,2
D/ATC     (  113): AT< OK
D/RILC    (  113): onRequest: QUERY_NETWORK_SELECTION_MODE
D/ATC     (  113): AT> AT+COPS?
D/DefaultPhoneNotifier(  840): notifySignalStrength: mRegistry=com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy@30266222 ss=SignalStrength: 12 99 -106 -106 -106 -106 -1 99 2147483647 2147483647 2147483647 2147483647 gsm|lte sender=Handler (com.android.internal.telephony.gsm.GSMPhone) {173ac72f}
D/ATC     (  113): AT< +COPS: 0,2,"46001",2
D/ATC     (  113): AT< OK
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RILJ    (  840): [3788]< QUERY_NETWORK_SELECTION_MODE {0} [SUB0]
D/GsmSST  (  840): [GsmSST] Poll ServiceState done:  oldSS=[1 1 voice home data home CHN-UNICOM UNICOM 46001 CHN-UNICOM UNICOM 46001  UMTS Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] newSS=[0 1 voice home data home CHN-UNICOM UNICOM 46001 CHN-UNICOM UNICOM 46001  UMTS Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] oldMaxDataCalls=1 mNewMaxDataCalls=1 oldReasonDataDenied=-1 mNewReasonDataDenied=-1
D/GsmSST  (  840): [GsmSST] useDataRegStateForDataOnlyDevice: VoiceRegState=0 DataRegState=1
D/PHONE   (  840): [ServiceState] setVoiceRegState=1
D/PHONE   (  840): [ServiceState] setNullState=1
D/GsmSST  (  840): [GsmSST] getCellLocation(): X good mCellLoc=[53518,101598281,-1]
D/TelephonyRegistry(  409): notifyCellLocationForSubscriber: subId=2 cellLocation=Bundle[mParcelledData.dataSize=64]
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/GsmSST  (  840): [GsmSST] getCellLocation(): X good mCellLoc=[53518,101598281,-1]
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/TelephonyManager( 1080): getSimOperatorNumeric(): default subId=2
D/TelephonyManager( 1080): getTelephonyProperty: return propVal='46006' phoneId=0 property='gsm.sim.operator.numeric' defaultVal='' prop=46006
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/TelephonyManager( 1080): getTelephonyProperty: return propVal='46001' phoneId=0 property='gsm.operator.numeric' defaultVal='' prop=46001
D/RILJ    (  840): [3789]> REQUEST_GET_NEIGHBORING_CELL_IDS [SUB0]
D/RILC    (  113): onRequest: GET_NEIGHBORING_CELL_IDS
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RilRequest(  840): [3789]< REQUEST_GET_NEIGHBORING_CELL_IDS error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
D/RILJ    (  840): [3790]> RIL_REQUEST_GET_CELL_INFO_LIST [SUB0]
D/RILC    (  113): onRequest: GET_CELL_INFO_LIST
D/ATC     (  113): AT> AT+QENG="servingcell"
D/ATC     (  113): AT< +QENG: "servingcell","NOCONN","WCDMA",460,01,D10E,60E4449,10663,167,1,-89,-7,-,-,-,-,-
D/ATC     (  113): AT< OK
D/RILC    (  113): RequestComplete, RIL_SOCKET_1
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/RILJ    (  840): [3790]< RIL_REQUEST_GET_CELL_INFO_LIST [CellInfoWcdma:{mRegistered=YES mTimeStampType=oem_ril mTimeStamp=292479781387ns CellIdentityWcdma:{ mMcc=460 mMnc=1 mLac=53518 mCid=101598281 mPsc=167} CellSignalStrengthWcdma: ss=12 ber=0}] [SUB0]
D/GsmSST  (  840): [GsmSST] SST.getAllCellInfo(): X size=1 list=[CellInfoWcdma:{mRegistered=YES mTimeStampType=oem_ril mTimeStamp=292479781387ns CellIdentityWcdma:{ mMcc=460 mMnc=1 mLac=53518 mCid=101598281 mPsc=167} CellSignalStrengthWcdma: ss=12 ber=0}]
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/GsmSST  (  840): [GsmSST] getCellLocation(): X good mCellLoc=[53518,101598281,-1]
D/PhoneFactory(  840): getPhone:- phoneId != DEFAULT_PHONE_ID return sProxyPhones[phoneId] phoneId=0 phone=Handler (com.android.internal.telephony.PhoneProxy) {3e77610e}
D/ATC     (  113): AT> AT+CSQ
D/ATC     (  113): AT< +CSQ: 12,99
D/ATC     (  113): AT< OK
I/RILC    (  113): RIL_SOCKET_1 UNSOLICITED: UNSOL_SIGNAL_STRENGTH length:60
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/ATC     (  113): AT> AT+CGREG?
D/ATC     (  113): AT< +CGREG: 2,2
D/ATC     (  113): AT< OK
D/DefaultPhoneNotifier(  840): notifySignalStrength: mRegistry=com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy@30266222 ss=SignalStrength: 12 99 -106 -106 -106 -106 -1 99 2147483647 2147483647 2147483647 2147483647 gsm|lte sender=Handler (com.android.internal.telephony.gsm.GSMPhone) {173ac72f}
D/ATC     (  113): AT> AT+CSQ
D/ATC     (  113): AT< +CSQ: 12,99
D/ATC     (  113): AT< OK
I/RILC    (  113): RIL_SOCKET_1 UNSOLICITED: UNSOL_SIGNAL_STRENGTH length:60
E/RILC    (  113): Send Response to RIL_SOCKET_1
D/ATC     (  113): AT> AT+CGREG?
D/DefaultPhoneNotifier(  840): notifySignalStrength: mRegistry=com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy@30266222 ss=SignalStrength: 12 99 -106 -106 -106 -106 -1 99 2147483647 2147483647 2147483647 2147483647 gsm|lte sender=Handler (com.android.internal.telephony.gsm.GSMPhone) {173ac72f}
D/ATC     (  113): AT< +CGREG: 2,2
D/ATC     (  113): AT< OK

root@AD700A:/etc/ppp # getprop init.svc.ril-daemon
running

getprop gsm.version.ril-impl
Quectel_Android_RIL_Driver_V1.41.36


root@AD700A:/etc/ppp # logcat -s pppd
--------- beginning of main
--------- beginning of system



请问还有上面特别要修改下吗?











回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-11-25 04:27 , Processed in 0.025201 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部