RILD send ATE0Q0V1 to your modem (8 times) via /dev/ttyS1 but your
modem didn't response. Please check your connection to modem.
Maybe you need configure /dev/ttyS1 with correct parameters (e.g. baud
rate, 7 or 8 bit data, parity bit, etc) which match with your modem.
That can be done after you open the /dev/ttyS1 in mainLoop().
> 在2009-06-17?17:24:14,"Brian?Liu"?<
liujianh...@gmail.com>?写道:
>
>
>
>
>
> >Looks?like?your?RIL?HAL?(libreferen-ril.so)?was?loaded?but?didn't?open
> >the?serial?connection?with?modem?successfully.
>
> >Check?mainLoop()?in?reference-ril.c,?make?sure?you?successfully?open
> >the?serial?port?(i.e.?fd?>=?0).?If?that's?true,?put?some?log?in
> >initializeCallback()?which?will?do?some?initialize?communication
> >(ATE0Q0V1?to?disable?echo,?AT+CFUN??to?check?modem?feature
> >availability,?etc).
>
> >On?Jun?17,?3:14?pm,?cindy_king_1024?<
cindy_king_1...@126.com>?wrote:
> >>?Hi.
> >>??I?add?the?edge?modules?to?my?evm?board?,but?when?I?check?the?log?it?com e?with:
>
> >>?#?logcat?-b?radio
> >>?I/RIL?????(??691):?Opening?tty?device?/dev/ttyS1
> >>?I/RILC????(??691):?libril:?new?connection
> >>?I/RILC????(??691):?RIL?Daemon?version:?android?reference-ril?1.0
> >>?I/RILJ????(??748):?Connected?to?'rild'?socket
> >>?D/RILJ????(??748):?[UNSL]<?UNSOL_RESPONSE_RADIO_STATE_CHANGED?RADIO_UNAV AILABLE
> >>?W/GSM?????(??748):?Can't?open?/system/etc/voicemail-conf.xml
> >>?D/RILJ????(??748):?[0000]>?GET_CURRENT_CALLS
> >>?D/RIL?????(??691):?onRequest:?GET_CURRENT_CALLS
> >>?D/RILJ????(??748):?[0000]<?GET_CURRENT_CALLS?error:?com.android.internal .telephony.gsm.CommandExcept
> >>?ion:?RADIO_NOT_AVAILABLE
> >>?D/GSM?????(??748):?Poll?ServiceState?done:??oldSS=[1?home?null?null?null ?]?newSS=[1?home?null?null?n
> >>?ull?]?oldGprs=1?newGprs=1?oldType=unknown?newType=unknown
> >>?D/GSM?????(??748):?[DataConnectionTracker]?Radio?is?off?and?clean?up?all ?connection
> >>?D/GSM?????(??748):?[DataConnectionTracker]?Clean?up?connection?due?to?ra dioTurnedOff
> >>?D/GSM?????(??748):?[DataConnection]?Stop?poll?NetStat
> >>?D/GSM?????(??748):?[DataConnectionTracker]?setState:?IDLE
> >>?D/GSM?????(??748):?[DataConnection]?Stop?poll?NetStat
> >>?D/GSM?????(??748):?[DataConnectionTracker]?***trySetupData?due?to?roamin gOff
> >>?D/GSM?????(??748):?[DataConnectionTracker]?trySetupData:?Not?ready?for?d ata:??dataState=IDLE?gprsSta
> >>?te=1?sim=false?UMTS=false?phoneState=IDLE?dataEnabled=true?roaming=false ?dataOnRoamingEnable=true
> >>?D/GSM?????(??748):?[GsmSimCard]?Broadcasting?intent?SIM_STATE_CHANGED_AC TION?NOT_READY?reason?null
> >>?D/STK?????(??748):?StkAppService$ServiceHandler:?OP_BOOT_COMPLETED
>
> >>?Can?you?give?me?some?advice???What's?the?matter?
>
> >>?在2009-05-20?20:33:45,dannychi?<
dannyc...@gmail.com>?写道:
>
> >>?>Hi?all,
> >>?>In?ril.h
> >>?>/**
> >>?>?*?RIL_REQUEST_SETUP_DEFAULT_PDP
> >>?>?*
> >>?>?*?Configure?and?activate?PDP?context?(CID?1)?for?default?IP
> >>?>connection
> >>?>?*
> >>?>?*?Android?Telephony?layer?will?start?up?pppd?process?on?specified
> >>?>?*?tty?when?this?request?responded?to.
> >>?>Does?this?mean?PPP?is?required?for?GPRS?data?connection?
> >>?>Does?android?support?raw?IP?GPRS?interface?like?NDIS?in?Windows
> >>?>mobile?
> >>?>Can?GPRS?work?if??ro.radio.use-ppp=no?
> >>?>Thanks