Bouteille Yoann
2010-06-01 14:46:59 UTC
Hi,
I'am trying to work with the Ofono stack in our development around Sagem Hilo GPRS hardware (SAGEM HiC,A.005.00).
So I git the sources, make and install it, configure to use the atgen plugin and the atmodem driver.
Then I try to execute some tests' scripts :
enable-modem
enter-pin
list-modems
At this time I get :
[ /generic ]
Powered = 1
Interfaces = org.ofono.VoiceCallManager org.ofono.SimManager
Online = 0
Model = HILO GPRS
Manufacturer = SAGEM
Serial = 352218039849049
Revision = SAGEM HiC,A.005.00
[ org.ofono.VoiceCallManager ]
EmergencyNumbers = 119 118 999 110 08 000 911 112
MultipartyCalls =
Calls =
[ org.ofono.SimManager ]
SubscriberNumbers =
PreferredLanguages = fr
CardIdentifier = 89330118214678482630
LockedPins = pin
PinRequired = none
Present = 1
=> and enter in infinite loop :
ofonod[3221]: src/modem.c:get_modem_property() modem 0x8142058 property status-poll-interval
ofonod[3221]: > AT+CSIM=8,A0F200C0\r
ofonod[3221]: < AT+CSIM=8,A0F200C0\r\r\n+CME ERROR: 3\r\n
Then if i disable and enable the modem again I get all the Interfaces for a short time :
[ /generic ]
Powered = 1
Interfaces = org.ofono.NetworkRegistration org.ofono.Phonebook
org.ofono.CallMeter org.ofono.SupplementaryServices
org.ofono.CallBarring org.ofono.CallSettings org.ofono.CallForwarding
org.ofono.MessageWaiting org.ofono.VoiceCallManager org.ofono.SimManager
Online = 1
Model = HILO GPRS
Manufacturer = SAGEM
Serial = 352218039849049
Revision = SAGEM HiC,A.005.00
[ org.ofono.NetworkRegistration ]
Status = registered
Strength = 75
Name = Orange F
Operators = /generic/operator/20801
LocationAreaCode = 12818
Mode = auto
CellId = 7965
[ org.ofono.Phonebook ]
[ org.ofono.CallMeter ]
[ org.ofono.SupplementaryServices ]
State = idle
[ org.ofono.CallBarring ]
[ org.ofono.CallSettings ]
[ org.ofono.CallForwarding ]
[ org.ofono.MessageWaiting ]
[ org.ofono.VoiceCallManager ]
EmergencyNumbers = 119 118 999 110 08 000 911 112
MultipartyCalls =
Calls =
[ org.ofono.SimManager ]
Present = 0
but after a while I get Online=0 and only the 2 Interfaces SimManager (Present=0 ???) and VoiceCallManager (Emergency call) :
[ /generic ]
Powered = 1
Interfaces = org.ofono.VoiceCallManager org.ofono.SimManager
Online = 0
Model = HILO GPRS
Manufacturer = SAGEM
Serial = 352218039849049
Revision = SAGEM HiC,A.005.00
[ org.ofono.VoiceCallManager ]
EmergencyNumbers = 119 118 999 110 08 000 911 112
MultipartyCalls =
Calls =
[ org.ofono.SimManager ]
Present = 0
I put the debug log in attached file and the sequence scripts.
Is there the right way to manage ofono working with my Sagem Modem ?
Regards,
Yoann
I'am trying to work with the Ofono stack in our development around Sagem Hilo GPRS hardware (SAGEM HiC,A.005.00).
So I git the sources, make and install it, configure to use the atgen plugin and the atmodem driver.
Then I try to execute some tests' scripts :
enable-modem
enter-pin
list-modems
At this time I get :
[ /generic ]
Powered = 1
Interfaces = org.ofono.VoiceCallManager org.ofono.SimManager
Online = 0
Model = HILO GPRS
Manufacturer = SAGEM
Serial = 352218039849049
Revision = SAGEM HiC,A.005.00
[ org.ofono.VoiceCallManager ]
EmergencyNumbers = 119 118 999 110 08 000 911 112
MultipartyCalls =
Calls =
[ org.ofono.SimManager ]
SubscriberNumbers =
PreferredLanguages = fr
CardIdentifier = 89330118214678482630
LockedPins = pin
PinRequired = none
Present = 1
=> and enter in infinite loop :
ofonod[3221]: src/modem.c:get_modem_property() modem 0x8142058 property status-poll-interval
ofonod[3221]: > AT+CSIM=8,A0F200C0\r
ofonod[3221]: < AT+CSIM=8,A0F200C0\r\r\n+CME ERROR: 3\r\n
Then if i disable and enable the modem again I get all the Interfaces for a short time :
[ /generic ]
Powered = 1
Interfaces = org.ofono.NetworkRegistration org.ofono.Phonebook
org.ofono.CallMeter org.ofono.SupplementaryServices
org.ofono.CallBarring org.ofono.CallSettings org.ofono.CallForwarding
org.ofono.MessageWaiting org.ofono.VoiceCallManager org.ofono.SimManager
Online = 1
Model = HILO GPRS
Manufacturer = SAGEM
Serial = 352218039849049
Revision = SAGEM HiC,A.005.00
[ org.ofono.NetworkRegistration ]
Status = registered
Strength = 75
Name = Orange F
Operators = /generic/operator/20801
LocationAreaCode = 12818
Mode = auto
CellId = 7965
[ org.ofono.Phonebook ]
[ org.ofono.CallMeter ]
[ org.ofono.SupplementaryServices ]
State = idle
[ org.ofono.CallBarring ]
[ org.ofono.CallSettings ]
[ org.ofono.CallForwarding ]
[ org.ofono.MessageWaiting ]
[ org.ofono.VoiceCallManager ]
EmergencyNumbers = 119 118 999 110 08 000 911 112
MultipartyCalls =
Calls =
[ org.ofono.SimManager ]
Present = 0
but after a while I get Online=0 and only the 2 Interfaces SimManager (Present=0 ???) and VoiceCallManager (Emergency call) :
[ /generic ]
Powered = 1
Interfaces = org.ofono.VoiceCallManager org.ofono.SimManager
Online = 0
Model = HILO GPRS
Manufacturer = SAGEM
Serial = 352218039849049
Revision = SAGEM HiC,A.005.00
[ org.ofono.VoiceCallManager ]
EmergencyNumbers = 119 118 999 110 08 000 911 112
MultipartyCalls =
Calls =
[ org.ofono.SimManager ]
Present = 0
I put the debug log in attached file and the sequence scripts.
Is there the right way to manage ofono working with my Sagem Modem ?
Regards,
Yoann