Ask more,How to set the parameter?The baud is 460800,I have change it in the 
ril-libreference.c.

Thanks a lot !!!



在2009-06-18?17:45:03,"Brian?Liu"?<[email protected]>?写道:
>
>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().
>
>On?Jun?18,?2:54?pm,?cindy_king_1024?<[email protected]>?wrote:
>>?Thanks?for?your?attention?,?I?have?forget?change?the?owner?of?/dev/ttyS1,?after?the?action,but?it?come?with?:
>>
>>?I/RIL?????(??684):?Opening?tty?device?/dev/ttyS1
>>?W/RILC????(??684):?RIL_onUnsolicitedResponse?called?before?RIL_register
>>?D/AT??????(??684):?AT>?ATE0Q0V1
>>?D/AT??????(??684):?AT>?ATE0Q0V1
>>?D/AT??????(??684):?AT>?ATE0Q0V1
>>?D/AT??????(??684):?AT>?ATE0Q0V1
>>?D/AT??????(??684):?AT>?ATE0Q0V1
>>?D/AT??????(??684):?AT>?ATE0Q0V1
>>?D/AT??????(??684):?AT>?ATE0Q0V1
>>?D/AT??????(??684):?AT>?ATE0Q0V1
>>?D/AT??????(??684):?AT>?ATE0Q0V1
>>?I/RILJ????(??756):?Connected?to?'rild'?socket
>>?W/GSM?????(??756):?Can't?open?/system/etc/voicemail-conf.xml
>>?D/RILJ????(??756):?[0000]>?GET_CURRENT_CALLS
>>?D/GSM?????(??756):?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?????(??756):?[DataConnectionTracker]?Radio?is?off?and?clean?up?all?connection
>>?D/GSM?????(??756):?[DataConnectionTracker]?Clean?up?connection?due?to?radioTurnedOff
>>?D/GSM?????(??756):?[DataConnection]?Stop?poll?NetStat
>>?D/GSM?????(??756):?[DataConnectionTracker]?setState:?IDLE
>>?D/GSM?????(??756):?[DataConnection]?Stop?poll?NetStat
>>?D/GSM?????(??756):?[DataConnectionTracker]?***trySetupData?due?to?roamingOff
>>?D/GSM?????(??756):?[DataConnectionTracker]?trySetupData:?Not?ready?for?data:??dataState=IDLE?gprsSta
>>?te=1?sim=false?UMTS=false?phoneState=IDLE?dataEnabled=true?roaming=false?dataOnRoamingEnable=true
>>?D/GSM?????(??756):?[GsmSimCard]?Broadcasting?intent?SIM_STATE_CHANGED_ACTION?NOT_READY?reason?null
>>?D/RILJ????(??756):?WAKE_LOCK_TIMEOUT??mReqPending=0?mRequestList=1
>>?D/RILJ????(??756):?0:?[0]?GET_CURRENT_CALLS
>>?D/STK?????(??756):?StkAppService$ServiceHandler:?OP_BOOT_COMPLETED
>>
>>?As?if?there?is?something?wrong?with?the?data?connecton.What's?the?matter?
>>
>>?在2009-06-17?17:24:14,"Brian?Liu"?<[email protected]>?写道:
>>
>>
>>
>>
>>
>>?>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?<[email protected]>?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?<[email protected]>?写道:
>>
>>?>>?>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
>>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to