Hi Aravind, If you build the Gecko version from Mozilla's branches and combine it with a vendor's rild, it might not be compatible. Vendors adapt rild to their chipsets and might make modifications that are incompatible with our code.
>> I/Gonk ( 249): RIL[0]: OnConnectError >> I/Gonk ( 249): RIL[0]: OnDisconnect >> I/Gonk ( 249): RIL[0]: OnConnectError >> I/Gonk ( 249): RIL[0]: OnDisconnect >> I/Gonk ( 249): RIL[0]: OnConnectError >> I/Gonk ( 249): RIL[0]: OnDisconnect The proprietary ril will close the socket if it's not compatible. Gecko sees this, emits such a warning, retries, fails again, and so on. There is a workaround in bug 972265 [1] that considerably reduces the amount of log spam in such cases. Best regards Thomas [1] https://bugzilla.mozilla.org/show_bug.cgi?id=972265 >> >> >> if yes, please see https://bugzilla.mozilla.org/show_bug.cgi?id=917642 for >> how to make moz ril work. >> >> >> >> Thanks!! >> >> Shawn > > Hi Shawn, > > I verified my /system/lib and found that below libs are already present > libreference-ril.so > libril-qc-1.so > libreference-ril.so > libril-qcril-hook-oem.so > libril.so > > My concern is why/how Gecko picks up MOZ RIL if I remove bundles from > /system/b2g/distribution/ and why Gecko is not able pickup libqc_b2g_ril from > bundles > > Further I found some logs as below: > Main concern is [SUB0] Socket to RIL proxy is closed; ignoring request and > D/RIL_QC_B2G( 478): [SUB0] Connecting to socket rild > D/RIL_QC_B2G( 478): [SUB0] Couldn't find 'rild' socket; retrying after > timeout > > > Regards, > Aravind > ------------------------------------------------ > <<LOGS>> > W/RIL_QC_B2G( 478): Examining Gecko interfaces... > W/RIL_QC_B2G( 478): nsIAudioManager: ok > W/RIL_QC_B2G( 478): nsIDOMMozCellBroadcastMessage: ok > W/RIL_QC_B2G( 478): nsIDOMMozMobileCellInfo: ok > W/RIL_QC_B2G( 478): nsIDOMMozMobileConnectionInfo: ok > W/RIL_QC_B2G( 478): nsIDOMMozMobileNetworkInfo: ok > W/RIL_QC_B2G( 478): nsIDOMMozSmsSegmentInfo: ok > W/RIL_QC_B2G( 478): nsIMobileMessageCallback: ok > W/RIL_QC_B2G( 478): nsIMobileMessageService: ok > W/RIL_QC_B2G( 478): nsINetworkInterface: ok > W/RIL_QC_B2G( 478): nsINetworkManager: ok > W/RIL_QC_B2G( 478): nsIRILDataCallInfo: ok > W/RIL_QC_B2G( 478): nsIRILDataCallback: ok > W/RIL_QC_B2G( 478): nsIRadioInterfaceLayer: ok > W/RIL_QC_B2G( 478): nsIRadioInterface: ok > W/RIL_QC_B2G( 478): nsIRilContext: ok > W/RIL_QC_B2G( 478): nsIRilMobileMessageDatabaseCallback: ok > W/RIL_QC_B2G( 478): nsIRilMobileMessageDatabaseService: ok > W/RIL_QC_B2G( 478): nsISystemMessagesInternal: ok > W/RIL_QC_B2G( 478): nsIVoicemailInfo: ok > W/RIL_QC_B2G( 478): nsITelephonyProvider: ok > D/RIL_QC_B2G( 478): Value of ro.moz.ril.simstate_extra_field is 0 > D/RIL_QC_B2G( 478): [SUB0] [0000]> DIAL 9740899946 0 > E/RIL_QC_B2G( 478): [SUB0] Socket to RIL proxy is closed; ignoring request > D/RIL_QC_B2G( 478): [SUB0] [0001]> GET_CURRENT_CALLS > E/RIL_QC_B2G( 478): [SUB0] Socket to RIL proxy is closed; ignoring request > D/RIL_QC_B2G( 478): [SUB0] [0002]> LAST_CALL_FAIL_CAUSE > E/RIL_QC_B2G( 478): [SUB0] Socket to RIL proxy is closed; ignoring request > D/RIL_QC_B2G( 478): [SUB0] [0003]> SET_DATA_SUBSCRIPTION > E/RIL_QC_B2G( 478): [SUB0] Socket to RIL proxy is closed; ignoring request > D/RIL_QC_B2G( 134): [SUB0] [0151]> SET_DATA_SUBSCRIPTION > D/RIL_QC_B2G( 134): [SUB0] [0151]< SET_DATA_SUBSCRIPTION fails by > RequestNotSupported(6) > D/RIL_QC_B2G( 134): [SUB0] [UNSL]< UNSOL_SIGNAL_STRENGTH > {[signalStrength=28,bitErrorRate=255,CDMA_ > SS.dbm=-1,CDMA_SSecio=-1,EVDO_SS.dbm=-1,EVDO_SS.ecio=-1,EVDO_SS.signalNoiseRatio=-1,LTE_SS.signalStr > ength=99,LTE_SS.rsrp=-32767,LTE_SS.rsrq=-32767,LTE_SS.rssnr=-32767,LTE_SS.cqi=-32767} > D/RIL_QC_B2G( 478): [SUB0] [0004]> SET_DATA_SUBSCRIPTION > E/RIL_QC_B2G( 478): [SUB0] Socket to RIL proxy is closed; ignoring request > D/RIL_QC_B2G( 134): [SUB0] [0152]> SET_DATA_SUBSCRIPTION > D/RIL_QC_B2G( 134): [SUB0] [0152]< SET_DATA_SUBSCRIPTION fails by > RequestNotSupported(6) > D/RIL_QC_B2G( 478): [SUB0] Connecting to socket rild > D/RIL_QC_B2G( 134): [SUB0] [UNSL]< UNSOL_SIGNAL_STRENGTH > {[signalStrength=28,bitErrorRate=255,CDMA_ > SS.dbm=-1,CDMA_SSecio=-1,EVDO_SS.dbm=-1,EVDO_SS.ecio=-1,EVDO_SS.signalNoiseRatio=-1,LTE_SS.signalStr > ength=99,LTE_SS.rsrp=-32767,LTE_SS.rsrq=-32767,LTE_SS.rssnr=-32767,LTE_SS.cqi=-32767} > D/RIL_QC_B2G( 134): [SUB0] [UNSL]< UNSOL_SIGNAL_STRENGTH > {[signalStrength=27,bitErrorRate=255,CDMA_ > SS.dbm=-1,CDMA_SSecio=-1,EVDO_SS.dbm=-1,EVDO_SS.ecio=-1,EVDO_SS.signalNoiseRatio=-1,LTE_SS.signalStr > ength=99,LTE_SS.rsrp=-32767,LTE_SS.rsrq=-32767,LTE_SS.rssnr=-32767,LTE_SS.cqi=-32767} > D/RIL_QC_B2G( 478): [SUB0] [0005]> SET_DATA_SUBSCRIPTION > E/RIL_QC_B2G( 478): [SUB0] Socket to RIL proxy is closed; ignoring request > D/RIL_QC_B2G( 478): [SUB0] [0006]> DTMF_STOP > E/RIL_QC_B2G( 478): [SUB0] Socket to RIL proxy is closed; ignoring request > D/RIL_QC_B2G( 134): [SUB0] [UNSL]< UNSOL_SIGNAL_STRENGTH > {[signalStrength=27,bitErrorRate=255,CDMA_ > SS.dbm=-1,CDMA_SSecio=-1,EVDO_SS.dbm=-1,EVDO_SS.ecio=-1,EVDO_SS.signalNoiseRatio=-1,LTE_SS.signalStr > ength=99,LTE_SS.rsrp=-32767,LTE_SS.rsrq=-32767,LTE_SS.rssnr=-32767,LTE_SS.cqi=-32767} > D/RIL_QC_B2G( 478): [SUB0] Connecting to socket rild > D/RIL_QC_B2G( 478): [SUB0] Couldn't find 'rild' socket; retrying after > timeout > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g > _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
