Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #55 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

When doing RetrievePhonebook before the SIM is authenticated the reply just hangs

Reported by: daniel Owned by: mickey
Priority: minor Milestone:
Component: framework/ogsmd Version:
Keywords: Cc:

Description

Steps to reproduce:

root@om-gta02:~# mickeyterm
read history from /home/root/.mickeyterm_history
<----------- Mickey's Term V2.9.1 @ /dev/pts/4 ----------->
AT+CMEE=2;+CRC=1
OK
at+cfun=0
at+cfun=0
OK
CTRL-D
Good Bye.
root@om-gta02:~# /etc/init.d/frameworkd stop
Stopping freesmartphone.org framework daemon: stopped process in pidfile '/var/run/frameworkd.pid' (pid 1423)
(done)
root@om-gta02:~# mickeyterm
read history from /home/root/.mickeyterm_history
<----------- Mickey's Term V2.9.1 @ /dev/pts/0 ----------->

OK
at+cfun=0

OK
CTRL-D
Good Bye.
root@om-gta02:~# /etc/init.d/frameworkd start
Starting freesmartphone.org framework daemon: (ok)
root@om-gta02:~# mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.SIM.RetrievePhonebook /org/freesmartphone/GSM/Device: RetrievePhonebook 
<this takes 20 seconds>
failed: org.freedesktop.DBus.Error.NoReply

During that time ogsmd receives CME Error 100 but doesn't seem to act on it..

odeviced.idlenotifier INFO     framework.subsystems.odeviced.idlenotifier state change to SUSPEND
ogsmd    DEBUG    |...|...|...|...|...|...> SimRetrievePhonebook.__init__: ENTER (<framework.subsystems.ogsmd.objects.Device at /org/freesmartphone/GSM/Device at 0x40824410>, <function <lambda> at 0x3567b0>, <function <lambda> at 0x3567f0>),{}
ogsmd    DEBUG    |...|...|...|...|...|...> SimRetrievePhonebook.__init__: LEAVE
ogsmd    DEBUG    |...|...|...|...|...|...|...|...|...> SimGetPhonebookInfo.__init__: ENTER (<framework.subsystems.ogsmd.objects.Device at /org/freesmartphone/GSM/Device at 0x40824410>, <bound method SimRetrievePhonebook.tryAgain of <ogsmd.modems.abstract.mediator.SimRetrievePhonebook object at 0x4074c550>>, <bound method SimRetrievePhonebook.dummy of <ogsmd.modems.abstract.mediator.SimRetrievePhonebook object at 0x4074c550>>),{}
ogsmd    DEBUG    |...|...|...|...|...|...|...|...|...> SimGetPhonebookInfo.__init__: LEAVE
ogsmd    DEBUG    (<framework.subsystems.ogsmd.modems.ti_calypso.channel.MiscChannel object at 0x157530>: last communication with modem was 54 seconds ago. Sending EOF to wakeup)
ogsmd    DEBUG    |...|...|...|...> MiscChannel.readyToSend: ENTER (),{}
ogsmd    DEBUG    (<framework.subsystems.ogsmd.modems.ti_calypso.channel.MiscChannel object at 0x157530>: sending 22 bytes to /dev/pts/1: 'AT+CPBS="SM";+CPBR=?\r\n')
ogsmd    DEBUG    |...|...|...|...> MiscChannel.readyToSend: LEAVE
ogsmd    DEBUG    (<framework.subsystems.ogsmd.modems.ti_calypso.channel.MiscChannel object at 0x157530>: got 19 bytes from /dev/pts/1: '\r\n+CME ERROR: 100\r\n')
ogsmd    DEBUG    (<framework.subsystems.ogsmd.modems.ti_calypso.channel.MiscChannel object at 0x157530>: COMPLETED 'AT+CPBS="SM";+CPBR=?' => ['+CME ERROR: 100'])
ogsmd    DEBUG    |...|...|...|...|...|...|...|...|...|...|...> SimGetPhonebookInfo.responseFromChannel: ENTER ('AT+CPBS="SM";+CPBR=?', ['+CME ERROR: 100']),{}
ogsmd    DEBUG    |...|...|...|...|...|...|...|...|...|...|...|...|...> SimGetPhonebookInfo._handleCmeCmsExtError: ENTER ('+CME ERROR: 100',),{}
ogsmd    DEBUG    |...|...|...|...|...|...|...|...|...|...|...|...|...> SimGetPhonebookInfo._handleCmeCmsExtError: LEAVE
ogsmd    DEBUG    |...|...|...|...|...|...|...|...|...|...|...> SimGetPhonebookInfo.responseFromChannel: LEAVE
ogsmd    DEBUG    |...|...|...|...|...|...|...|...> SimGetPhonebookInfo.__del__: ENTER (),{}
ogsmd    DEBUG    |...|...|...|...|...|...|...|...> SimGetPhonebookInfo.__del__: LEAVE
ogsmd    DEBUG    |...|...|...|...|...|...|...|...> SimRetrievePhonebook.__del__: ENTER (),{}
ogsmd    DEBUG    |...|...|...|...|...|...|...|...> SimRetrievePhonebook.__del__: LEAVE
ogsmd    DEBUG    |...|...|...|...> MiscChannel.readyToSend: ENTER (),{}
ogsmd    DEBUG    |...|...|...|...> MiscChannel.readyToSend: LEAVE

Change History

comment:1 Changed 6 years ago by daniel

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.