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

Ticket #59 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Dialer display not changing state

Reported by: angus.ainslie@… Owned by: mickey
Priority: major Milestone:
Component: framework/general Version: milestone4
Keywords: haspatch Cc: angus.ainslie@…

Description

With a new install of milestone 2 if I go the dialer and put in a phone number and then hit the check mark the display shows the check being registered. The call gets connected but the display never changes. The UI doesn't seem to be getting the connected message.

If I go home and then come back to the dialer the display now shows connected with the hold and hangup buttons. If I push the hangup button the display shows release clears the hangup and hold buttons and then stays there. Is it supposed to return to the home screen ?

Attachments

dump.txt (1.3 KB) - added by angus.ainslie@… 5 years ago.
gsm-log-data.py capture
log.txt (11.2 KB) - added by angus.ainslie@… 5 years ago.
log of dialer state not changing
log1.txt (153.1 KB) - added by angus.ainslie@… 5 years ago.
Debug log of dialer not changing state
Screenshot-1.png (123.1 KB) - added by anonymous 5 years ago.
Screenshot-3.png (200.8 KB) - added by anonymous 5 years ago.

Change History

comment:1 Changed 5 years ago by anonymous

  • Component changed from documentation to zhone/general

comment:2 Changed 5 years ago by angus.ainslie@…

I captured the GSM log and there was an error starting up but the call information looks right.

root@om-gta02:~# /usr/share/freesmartphone/examples/gsm-log-data.py trying to get bus... ok trying to get object... ok initializing gsm... -> setting antenna power... -> registering to network gsm init ok, entering mainloop SIGNAL NOW 83 Traceback (most recent call last):

File "/usr/share/freesmartphone/examples/gsm-log-data.py", line 50, in timeout_handler

result = gsm.Command( "AT%s\r\n" % EM_COMMAND )

File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 140, in call

keywords)

File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 607, in call_blocking

message, timeout)

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod?: Traceback (most recent call last):

File "/usr/lib/python2.5/site-packages/dbus/service.py", line 643, in _message_cb

(candidate_method, parent_method) = _method_lookup(self, method_name, interface_name)

File "/usr/lib/python2.5/site-packages/dbus/service.py", line 246, in _method_lookup

raise UnknownMethodException?('%s is not a valid method' % method_name)

UnknownMethodException?: org.freedesktop.DBus.Error.UnknownMethod?: Unknown method: Command is not a valid method

LAC/CID NOW 2710, AC74 LAC/CID NOW 2710, AC74 LAC/CID NOW 2710, AC6E SIGNAL NOW 89 SIGNAL NOW 81 CALL active [611] CALL release [unknown] LAC/CID NOW 2710, AC74 LAC/CID NOW 2710, AC6E

Changed 5 years ago by angus.ainslie@…

gsm-log-data.py capture

comment:3 in reply to: ↑ description Changed 5 years ago by anonymous

Replying to angus.ainslie@gmail.com:

With a new install of milestone 2 if I go the dialer and put in a phone number and then hit the check mark the display shows the check being registered. The call gets connected but the display never changes. The UI doesn't seem to be getting the connected message.

Does it matter which phone number you try to dial? Could it be by any chance a phone number that also exists on your SIM card? Does the Name corresponding to the number have a comma in it? If that's the case your problem might be cured by commit [cdc2a9f2112b5fbcf3c7959b849d65e507f79979]. In any case, can you try flashing openmoko-fso-image-glibc-ipk--20080801-om-gta02.rootfs.jffs2.summary and uImage-2.6.24+gitr62+855f715f8568a50391d1526ab2954925c08dab79-r4-om-gta02.bin and check if that fixes your problem?

If I go home and then come back to the dialer the display now shows connected with the hold and hangup buttons. If I push the hangup button the display shows release clears the hangup and hold buttons and then stays there. Is it supposed to return to the home screen ?

No, it will just sit there waiting for you to hit the "X".

comment:4 Changed 5 years ago by angus.ainslie@…

  • Cc angus.ainslie@… added

It happens no matter what phone number I call. If the phone is showing "zhone!" and "no dbus" then the dialer cycles states properly.

The new update behaves the same. The new update also takes much longer to registerwith the network. With all other kernel rootfs combos the call quality on the FR end has been perfect with GSM noise on the other end. This update seems more noisy on the FR side.

comment:5 Changed 5 years ago by angus.ainslie@…

Here's a dump from frameworkd of the dial

odeviced.idlenotifier INFO framework.subsystems.odeviced.idlenotifier state change to BUSY ogsmd INFO org.freesmartphone.GSM.Call.CallStatus?: 1 active {'status': 'active', 'peer': '611', 'line': 0} AT RESPONSE FROM CHANNEL= ['+COLP: "",128', 'OK'] oeventd INFO Signal initialized. Serving org.freesmartphone.Event at [(<dbus._dbus.SystemBus? (system) at 0x403a5f30>, '/org/freesmartphone/Event/1', False)] oeventd INFO setting alsa to gsmhandset oeventd INFO disabling led neo1973_vibrator oeventd INFO [<framework.subsystems.oeventd.manager.Signal at /org/freesmartphone/Event/1 at 0x3558b0>] oeventd INFO <framework.subsystems.oeventd.manager.Signal at /org/freesmartphone/Event/1 at 0x3558b0> fired {'status': dbus.String(u'active'), 'type': 'Call'} odeviced.idlenotifier INFO framework.subsystems.odeviced.idlenotifier state change to IDLE odeviced.idlenotifier INFO framework.subsystems.odeviced.idlenotifier state change to BUSY odeviced.idlenotifier INFO framework.subsystems.odeviced.idlenotifier state change to IDLE

comment:6 Changed 5 years ago by anonymous

This is happening with FSO under Debian as well. The dialer connects and never closes to display the status screen. You can close the dialer and open the zhone app again and it will then display the status screen as it should.

comment:7 Changed 5 years ago by mickey

  • Status changed from new to closed
  • Resolution set to worksforme

Please retest once milestone3 is out, we now can change debug logging at runtime, so you can get me more logs. Closing this as "worksforme" for now. Please reopen as you see fit.

comment:8 Changed 5 years ago by angus.ainslie@…

  • Status changed from closed to reopened
  • Resolution worksforme deleted

This bug is still present in milestone 3

comment:9 in reply to: ↑ description Changed 5 years ago by daniel

Replying to angus.ainslie@gmail.com:

With a new install of milestone 2 if I go the dialer and put in a phone number and then hit the check mark the display shows the check being registered. The call gets connected but the display never changes. The UI doesn't seem to be getting the connected message.

This works for me (at least on recent builds). Could you retest with a recent build and report back?

If I go home and then come back to the dialer the display now shows connected with the hold and hangup buttons. If I push the hangup button the display shows release clears the hangup and hold buttons and then stays there. Is it supposed to return to the home screen ?

This is the intended behaviour, yes. It will still show you the number of the call until you hit the X button.

comment:10 Changed 5 years ago by daniel

  • Milestone changed from milestone2 to milestone4

comment:11 Changed 5 years ago by daniel

  • Status changed from reopened to closed
  • Resolution set to worksforme

Closing this now. It's working for me. Please open a new ticket if you still have a similar problem (since the original has almost certainly been fixed) and attach debug output of frameworkd.

comment:12 Changed 5 years ago by angus.ainslie@…

  • Status changed from closed to reopened
  • Resolution worksforme deleted

I generated this with the testing image for 10/27/08. I assuming the problem has to do with the warnings about unicode chars from /dev/pts/4

on the console there was an error

root@om-gta02:~# frameworkd -d Traceback (most recent call last):

File "/usr/lib/python2.5/site-packages/framework/subsystem.py", line 70, in registerModulesInSubsystem

level = 0

File "/usr/lib/python2.5/site-packages/framework/subsystems/opimd/pimb_sim-messages-fso.py", line 41, in <module>

from setting_manager import settings

ImportError?: No module named setting_manager Traceback (most recent call last):

File "/usr/lib/python2.5/site-packages/framework/subsystem.py", line 70, in registerModulesInSubsystem

level = 0

File "/usr/lib/python2.5/site-packages/framework/subsystems/opimd/pimd_contacts.py", line 33, in <module>

from difflib import SequenceMatcher?

ImportError?: No module named difflib Traceback (most recent call last):

File "/usr/lib/python2.5/site-packages/framework/subsystem.py", line 70, in registerModulesInSubsystem

level = 0

File "/usr/lib/python2.5/site-packages/framework/subsystems/opimd/pimd_messages.py", line 33, in <module>

from difflib import SequenceMatcher?

ImportError?: No module named difflib AT RESPONSE FROM CHANNEL= ['+COLP: "",128', 'OK'] ctrl-c: exiting. root@om-gta02:~#

and then the log

Oct 28 18:17:49 om-gta02 user.info 2008.10.28 18:17:49 odeviced.kernel26 INFO power status now charging Oct 28 18:17:49 om-gta02 user.info 2008.10.28 18:17:49 oeventsd INFO Receive PowerStatus?, status = charging Oct 28 18:17:49 om-gta02 user.info 2008.10.28 18:17:49 oeventsd INFO call dbus signal /org/freesmartphone/Device/LED/gta02_power_orange SetBrightness?((100,)) Oct 28 18:17:49 om-gta02 user.info 2008.10.28 18:17:49 oeventsd INFO Receive PowerStatus?, status = charging Oct 28 18:17:49 om-gta02 user.info 2008.10.28 18:17:49 oeventsd INFO Receive PowerStatus?, status = charging Oct 28 18:17:49 om-gta02 user.info 2008.10.28 18:17:49 oeventsd INFO Receive PowerStatus?, status = charging Oct 28 18:17:49 om-gta02 user.info 2008.10.28 18:17:49 oeventsd INFO signal SetBrightness? responded : () Oct 28 18:17:51 om-gta02 user.info 2008.10.28 18:17:51 frameworkd.resource INFO setting resource status for GSM from disabled to enabling Oct 28 18:17:56 om-gta02 user.info 2008.10.28 18:17:56 ogsmd INFO <CallChannel? via unknown>: Creating channel with timeout = 3600 seconds Oct 28 18:17:56 om-gta02 user.info 2008.10.28 18:17:56 ogsmd INFO <UnsolicitedResponseChannel? via unknown>: Creating channel with timeout = 5 seconds Oct 28 18:17:56 om-gta02 user.info 2008.10.28 18:17:56 ogsmd INFO <MiscChannel? via unknown>: Creating channel with timeout = 5 seconds Oct 28 18:17:56 om-gta02 user.info 2008.10.28 18:17:56 odeviced.idlenotifier INFO framework.subsystems.odeviced.idlenotifier state change to busy Oct 28 18:17:56 om-gta02 user.info 2008.10.28 18:17:56 oeventsd INFO Receive IdleState?, status = busy Oct 28 18:17:56 om-gta02 user.info 2008.10.28 18:17:56 oeventsd INFO call dbus signal /org/freesmartphone/Device/Display/pcf50633_bl SetBrightness?((90,)) Oct 28 18:17:56 om-gta02 user.info 2008.10.28 18:17:56 oeventsd INFO Receive IdleState?, status = busy Oct 28 18:17:56 om-gta02 user.info 2008.10.28 18:17:56 oeventsd INFO Receive IdleState?, status = busy Oct 28 18:17:56 om-gta02 user.info 2008.10.28 18:17:56 oeventsd INFO signal SetBrightness? responded : () Oct 28 18:17:56 om-gta02 local0.info /usr/sbin/gsm0710muxd[1876]: gsm0710muxd.c:693:c_alloc_channel(): Connecting /dev/pts/1 to virtual channel 1 for ogsmd.misc on /dev/ttySAC0 Oct 28 18:17:56 om-gta02 user.info 2008.10.28 18:17:56 ogsmd INFO <MiscChannel? via unknown>: initializing Oct 28 18:17:56 om-gta02 local0.warn /usr/sbin/gsm0710muxd[1876]: gsm0710muxd.c:569:pseudo_device_read(): Write to a channel which wasn't acked to be open. Oct 28 18:17:57 om-gta02 local0.warn /usr/sbin/gsm0710muxd[1876]: gsm0710muxd.c:569:pseudo_device_read(): Write to a channel which wasn't acked to be open. Oct 28 18:17:57 om-gta02 local0.info /usr/sbin/gsm0710muxd[1876]: gsm0710muxd.c:1410:extract_frames(): Logical channel 1 opened Oct 28 18:17:57 om-gta02 user.info 2008.10.28 18:17:57 ogsmd INFO <MiscChannel? via /dev/pts/1>: responding OK Oct 28 18:17:58 om-gta02 local0.info /usr/sbin/gsm0710muxd[1876]: gsm0710muxd.c:693:c_alloc_channel(): Connecting /dev/pts/2 to virtual channel 2 for ogsmd.unsolicited on /dev/ttySAC0 Oct 28 18:17:58 om-gta02 local0.info /usr/sbin/gsm0710muxd[1876]: gsm0710muxd.c:1410:extract_frames(): Logical channel 2 opened Oct 28 18:17:58 om-gta02 user.info 2008.10.28 18:17:58 ogsmd INFO <UnsolicitedResponseChannel? via unknown>: initializing Oct 28 18:17:58 om-gta02 user.info 2008.10.28 18:17:58 ogsmd INFO <UnsolicitedResponseChannel? via /dev/pts/2>: responding OK Oct 28 18:17:58 om-gta02 local0.info /usr/sbin/gsm0710muxd[1876]: gsm0710muxd.c:693:c_alloc_channel(): Connecting /dev/pts/4 to virtual channel 3 for ogsmd.call on /dev/ttySAC0 Oct 28 18:17:58 om-gta02 local0.info /usr/sbin/gsm0710muxd[1876]: gsm0710muxd.c:1410:extract_frames(): Logical channel 3 opened Oct 28 18:17:58 om-gta02 user.info 2008.10.28 18:17:58 ogsmd INFO <CallChannel? via unknown>: initializing Oct 28 18:17:58 om-gta02 user.info 2008.10.28 18:17:58 ogsmd INFO <CallChannel? via /dev/pts/4>: responding OK Oct 28 18:17:58 om-gta02 user.info 2008.10.28 18:17:58 frameworkd.resource INFO setting resource status for GSM from enabling to enabled Oct 28 18:17:58 om-gta02 user.info 2008.10.28 18:17:58 ousaged INFO Enabled GSM in 6.8 seconds Oct 28 18:18:00 om-gta02 user.info 2008.10.28 18:18:00 ogsmd.objects INFO auth status changed to READY Oct 28 18:18:07 om-gta02 user.info 2008.10.28 18:18:07 odeviced.idlenotifier INFO framework.subsystems.odeviced.idlenotifier state change to idle Oct 28 18:18:07 om-gta02 user.info 2008.10.28 18:18:07 oeventsd INFO Receive IdleState?, status = idle Oct 28 18:18:07 om-gta02 user.info 2008.10.28 18:18:07 oeventsd INFO Receive IdleState?, status = idle Oct 28 18:18:07 om-gta02 user.info 2008.10.28 18:18:07 oeventsd INFO Receive IdleState?, status = idle Oct 28 18:18:07 om-gta02 user.info 2008.10.28 18:18:07 odeviced.idlenotifier INFO framework.subsystems.odeviced.idlenotifier state change to busy Oct 28 18:18:07 om-gta02 user.info 2008.10.28 18:18:07 oeventsd INFO Receive IdleState?, status = busy Oct 28 18:18:07 om-gta02 user.info 2008.10.28 18:18:07 oeventsd INFO call dbus signal /org/freesmartphone/Device/Display/pcf50633_bl SetBrightness?((90,)) Oct 28 18:18:07 om-gta02 user.info 2008.10.28 18:18:07 oeventsd INFO Receive IdleState?, status = busy Oct 28 18:18:07 om-gta02 user.info 2008.10.28 18:18:07 oeventsd INFO Receive IdleState?, status = busy Oct 28 18:18:08 om-gta02 user.info 2008.10.28 18:18:08 oeventsd INFO signal SetBrightness? responded : () Oct 28 18:18:08 om-gta02 user.info 2008.10.28 18:18:08 ogsmd.objects INFO org.freesmartphone.GSM.Network.Status: {'strength': 86, 'cid': 'AC6E', 'registration': 'home', 'lac': '2710', 'mode': 'automatic', 'provider': 'SpeakOut?'} Oct 28 18:18:18 om-gta02 user.info 2008.10.28 18:18:18 odeviced.idlenotifier INFO framework.subsystems.odeviced.idlenotifier state change to idle Oct 28 18:18:18 om-gta02 user.info 2008.10.28 18:18:18 oeventsd INFO Receive IdleState?, status = idle Oct 28 18:18:18 om-gta02 user.info 2008.10.28 18:18:18 oeventsd INFO Receive IdleState?, status = idle Oct 28 18:18:18 om-gta02 user.info 2008.10.28 18:18:18 oeventsd INFO Receive IdleState?, status = idle Oct 28 18:18:18 om-gta02 user.info 2008.10.28 18:18:18 odeviced.idlenotifier INFO framework.subsystems.odeviced.idlenotifier state change to busy Oct 28 18:18:18 om-gta02 user.info 2008.10.28 18:18:18 oeventsd INFO Receive IdleState?, status = busy Oct 28 18:18:18 om-gta02 user.info 2008.10.28 18:18:18 oeventsd INFO call dbus signal /org/freesmartphone/Device/Display/pcf50633_bl SetBrightness?((90,)) Oct 28 18:18:18 om-gta02 user.info 2008.10.28 18:18:18 oeventsd INFO Receive IdleState?, status = busy Oct 28 18:18:18 om-gta02 user.info 2008.10.28 18:18:18 oeventsd INFO Receive IdleState?, status = busy Oct 28 18:18:18 om-gta02 user.info 2008.10.28 18:18:18 oeventsd INFO signal SetBrightness? responded : () Oct 28 18:18:19 om-gta02 user.warn 2008.10.28 18:18:19 ogsmd WARNING <CallChannel? via /dev/pts/4>: Got unicode input. Trying to convert to plain string... Oct 28 18:18:20 om-gta02 user.info 2008.10.28 18:18:20 ogsmd.objects INFO org.freesmartphone.GSM.Network.SignalStrength?: 77 Oct 28 18:18:25 om-gta02 user.info 2008.10.28 18:18:25 ogsmd.objects INFO org.freesmartphone.GSM.Call.CallStatus?: 1 active {'status': 'active', 'peer': '611', 'line': 0} Oct 28 18:18:26 om-gta02 user.info 2008.10.28 18:18:26 oeventsd INFO Receive CallStatus?, status = active Oct 28 18:18:26 om-gta02 user.info 2008.10.28 18:18:26 oeventsd INFO Receive CallStatus?, status = active Oct 28 18:18:26 om-gta02 user.info 2008.10.28 18:18:26 oeventsd INFO Set Audio Scenario gsmhandset Oct 28 18:18:26 om-gta02 user.info 2008.10.28 18:18:26 oeventsd INFO call dbus signal /org/freesmartphone/Device/Audio SetScenario?(('gsmhandset',)) Oct 28 18:18:27 om-gta02 user.info 2008.10.28 18:18:27 odeviced.audio INFO sound scenario gsmhandset user Oct 28 18:18:27 om-gta02 user.info 2008.10.28 18:18:27 oeventsd INFO signal SetScenario? responded : () Oct 28 18:18:28 om-gta02 user.info 2008.10.28 18:18:28 odeviced.idlenotifier INFO framework.subsystems.odeviced.idlenotifier state change to idle Oct 28 18:18:28 om-gta02 user.info 2008.10.28 18:18:28 oeventsd INFO Receive IdleState?, status = idle Oct 28 18:18:28 om-gta02 user.info 2008.10.28 18:18:28 oeventsd INFO Receive IdleState?, status = idle Oct 28 18:18:28 om-gta02 user.info 2008.10.28 18:18:28 oeventsd INFO Receive IdleState?, status = idle Oct 28 18:18:37 om-gta02 user.info 2008.10.28 18:18:37 odeviced.idlenotifier INFO framework.subsystems.odeviced.idlenotifier state change to busy Oct 28 18:18:38 om-gta02 user.info 2008.10.28 18:18:38 oeventsd INFO Receive IdleState?, status = busy Oct 28 18:18:38 om-gta02 user.info 2008.10.28 18:18:38 oeventsd INFO call dbus signal /org/freesmartphone/Device/Display/pcf50633_bl SetBrightness?((90,)) Oct 28 18:18:38 om-gta02 user.info 2008.10.28 18:18:38 oeventsd INFO Receive IdleState?, status = busy Oct 28 18:18:38 om-gta02 user.info 2008.10.28 18:18:38 oeventsd INFO Receive IdleState?, status = busy Oct 28 18:18:38 om-gta02 user.info 2008.10.28 18:18:38 oeventsd INFO signal SetBrightness? responded : () Oct 28 18:18:42 om-gta02 user.info 2008.10.28 18:18:42 ogsmd.objects INFO org.freesmartphone.GSM.Call.CallStatus?: 1 release {'status': 'release'} Oct 28 18:18:42 om-gta02 user.info 2008.10.28 18:18:42 oeventsd INFO Receive CallStatus?, status = release Oct 28 18:18:42 om-gta02 user.info 2008.10.28 18:18:42 oeventsd INFO Receive CallStatus?, status = release Oct 28 18:18:42 om-gta02 user.info 2008.10.28 18:18:42 oeventsd INFO Revert Audio Scenario to stereoout Oct 28 18:18:42 om-gta02 user.info 2008.10.28 18:18:42 oeventsd INFO call dbus signal /org/freesmartphone/Device/Audio SetScenario?(('stereoout',)) Oct 28 18:18:43 om-gta02 user.info 2008.10.28 18:18:43 odeviced.audio INFO sound scenario stereoout user Oct 28 18:18:43 om-gta02 user.info 2008.10.28 18:18:43 oeventsd INFO signal SetScenario? responded : () Oct 28 18:18:44 om-gta02 user.info 2008.10.28 18:18:44 ogsmd.objects INFO org.freesmartphone.GSM.Network.Status: {'strength': 70, 'cid': 'AC74', 'registration': 'home', 'lac': '2710', 'mode': 'automatic', 'provider': 'SpeakOut?'} Oct 28 18:18:48 om-gta02 user.info 2008.10.28 18:18:48 odeviced.idlenotifier INFO framework.subsystems.odeviced.idlenotifier state change to idle Oct 28 18:18:48 om-gta02 user.info 2008.10.28 18:18:48 oeventsd INFO Receive IdleState?, status = idle Oct 28 18:18:48 om-gta02 user.info 2008.10.28 18:18:48 oeventsd INFO Receive IdleState?, status = idle Oct 28 18:18:48 om-gta02 user.info 2008.10.28 18:18:48 oeventsd INFO Receive IdleState?, status = idle Oct 28 18:18:53 om-gta02 local0.info /usr/sbin/gsm0710muxd[1876]: gsm0710muxd.c:609:pseudo_device_read(): Logical channel 1 for (null) closed Oct 28 18:18:53 om-gta02 local0.info /usr/sbin/gsm0710muxd[1876]: gsm0710muxd.c:609:pseudo_device_read(): Logical channel 2 for (null) closed Oct 28 18:18:53 om-gta02 local0.info /usr/sbin/gsm0710muxd[1876]: gsm0710muxd.c:609:pseudo_device_read(): Logical channel 3 for (null) closed root@om-gta02:~#

comment:13 Changed 5 years ago by daniel

  • Status changed from reopened to closed
  • Resolution set to worksforme

Okay,this is a completely different issue. *Please* open a new bug for this if you still have this problem. The warnings about unicode shouldn't be the problem here.

Please attach any logs to the new ticket you created so they are easily readable.

Changed 5 years ago by angus.ainslie@…

log of dialer state not changing

comment:14 Changed 5 years ago by angus.ainslie@…

  • Status changed from closed to reopened
  • Resolution worksforme deleted

For now I'll reopen this bug as it is still dialer not changing state that I have problems with. The attached log.txt is during a phone call where the dialer state did not change. If the unicode warning has nothing to do with it please ignore my comments as they were just an assumption by me.

This not intermittent as the dialer state never changes after dialing.

comment:15 Changed 5 years ago by daniel

  • Milestone milestone4 deleted

The log looks fine, maybe try again with log_level = DEBUG in section [ogsmd] in /etc/frameworkd.conf

It's also not clear to me what exact problem you have. Maybe you could take and attach screenshots to better explain it.

Changed 5 years ago by angus.ainslie@…

Debug log of dialer not changing state

Changed 5 years ago by anonymous

Changed 5 years ago by anonymous

comment:16 Changed 5 years ago by angus.ainslie@…

I dial 611 and press the check mark. the screen looks like Screenshot-1 and will remain that way forever. If the call connects its still looks like Screenshot-1 , if the call ends it still looks like Screenshot-1. If during the call I exit the dialer using the X and then come back into the dialer it then looks like Screenshot-3

comment:17 Changed 5 years ago by daniel

Okay, that's looking strange, I agree. Please the post output of

opkg info frameworkd
opkg info zhone

comment:18 Changed 5 years ago by angus.ainslie@…

root@om-gta02:~# opkg info frameworkd Package: frameworkd Version: 0.8.4.2+gitra816e0412c687bf8e59e3505cce877f02e51f84d-r0.1 Depends: python-ctypes, python-dbus, python-datetime, python-pprint, python-pygobject, python-pyrtc, python-pyserial, python-pyyaml, python-shell, python-subprocess, python-syslog, python-textutils, frameworkd-config, libpython2.5-1.0 (>= 2.5.2), libc6 (>= 2.6.1) Recommends: alsa-utils-amixer, ppp, gsm0710muxd Status: install ok installed Architecture: armv4t Installed-Time: 1226260489

root@om-gta02:~# opkg info zhone Package: zhone Version: 0.0.1+gitr28e01227063ab76b9144e7a443319add6b195864-r10.1 Depends: task-python-efl, python-textutils, python-dbus, python-pycairo, libecore0 (>= 0.9.9.043+svnr36540), libecore-x (>= 0.9.9.043+svnr36540), libpython2.5-1.0 (>= 2.5.2), libc6 (>= 2.6.1) Status: install user installed Architecture: armv4t Installed-Time: 1226260504

root@om-gta02:~#

comment:19 Changed 5 years ago by daniel

Okay, from the versions I can't see any obvious bugs that were fixed in the meantime, but could you retry with the following images?

http://totalueberwachung.de/~alphaone/openembedded-build/glibc/images/neo1973/uImage-2.6.24+r10+gitr0+9706327002caebe6633c93e605882ea37172ec57-r10-om-gta02.bin

http://totalueberwachung.de/~alphaone/openembedded-build/glibc/images/neo1973/openmoko-fso-image-glibc-ipk--20081109183127-om-gta02.rootfs.jffs2.summary

Then if there's still a problem please change the /etc/frameworkd.conf file to include the lines

log_to = file
log_destination = /tmp/frameworkd.conf

and in section [ogsmd] include a line that says

log_level = DEBUG

and attach both /tmp/zhone.log and /tmp/frameworkd.log here. I hope I can make sense of this problem then.

comment:20 Changed 5 years ago by angus.ainslie@…

The frameworkd.log was too large for an attachment

http:
handheldshell.com\frameworkd.log http:
handheldshell.com\zhone.log

The log files contain more than just a single attempt to dial. Only the first attempt connected, so subsequent attempts to dial may not be relevant to this ticket.

comment:21 Changed 5 years ago by angus.ainslie@…

  • Component changed from zhone/general to framework/general

This also affects SHR so it must be in the framework and not in zhone

comment:22 Changed 5 years ago by jluebbe

  • Version 2.0 deleted

comment:23 Changed 5 years ago by Nytowl

  • Keywords haspatch added
  • Version set to milestone4

I finally tracked down the problem in Milestone 4.

/usr/bin/zhone line 262

if status in ["incoming", "outgoing"] and not self.status == status:

# TODO make sure we get displayed self.main.transition_to("call")

zhone is expecting a transition from "idle"->["incoming","outgoing"]->"active" my freerunner transitions from "idle"->"active"

an extra case needs to be added

if status == 'active' and not self.status == status:

# TODO make sure we get displayed self.main.transition_to("call")

The log from frameworkd seems to show 2 active status changes. I'm also curious why it seems to think it is an incoming call instead of an outgoing one.

2008.11.20 05:37:40 oeventsd INFO Receive CallStatus?, status = active 2008.11.20 05:37:40 oeventsd DEBUG trigger CallStatus? 2008.11.20 05:37:40 oeventsd DEBUG Trigger CallListContains?(incoming) 2008.11.20 05:37:40 oeventsd INFO Receive CallStatus?, status = active 2008.11.20 05:37:40 oeventsd DEBUG trigger CallStatus? 2008.11.20 05:37:40 oeventsd DEBUG trigger While CallStatus? if Or(status == outgoing,status == active) then SetScenario?(gsmhandset) 2008.11.20 05:37:40 oeventsd INFO Set Audio Scenario gsmhandset 2008.11.20 05:37:40 oeventsd INFO call dbus signal /org/freesmartphone/Device/Audio SetScenario?(('gsmhandset',)) 2008.11.20 05:37:41 odeviced.audio INFO sound scenario gsmhandset user

comment:24 Changed 5 years ago by Nytowl

This is the same as the last comment just reformatted to fit your screen better

I finally tracked down the problem in Milestone 4.

/usr/bin/zhone line 262

    if status in ["incoming", "outgoing"] and not self.status == status:
        # TODO make sure we get displayed 
        self.main.transition_to("call")

zhone is expecting a transition from "idle"->["incoming","outgoing"]->"active" my freerunner transitions from "idle"->"active"

an extra case needs to be added

    if status == 'active' and self.status == "idle":
        # TODO make sure we get displayed 
        self.main.transition_to("call")

The log from frameworkd seems to show 2 active status changes. I'm also curious why it seems to think it is an incoming call instead of an outgoing one.

2008.11.20 05:37:40 oeventsd INFO Receive CallStatus?, status = active
2008.11.20 05:37:40 oeventsd DEBUG trigger CallStatus?
2008.11.20 05:37:40 oeventsd DEBUG Trigger CallListContains?(incoming)
2008.11.20 05:37:40 oeventsd INFO Receive CallStatus?, status = active
2008.11.20 05:37:40 oeventsd DEBUG trigger CallStatus?
2008.11.20 05:37:40 oeventsd DEBUG trigger While CallStatus? if Or(status == outgoing,status == active) then SetScenario?(gsmhandset)
2008.11.20 05:37:40 oeventsd INFO Set Audio Scenario gsmhandset
2008.11.20 05:37:40 oeventsd INFO call dbus signal /org/freesmartphone/Device/Audio SetScenario?(('gsmhandset',))
2008.11.20 05:37:41 odeviced.audio INFO sound scenario gsmhandset user

comment:25 Changed 4 years ago by daniel

comment:26 Changed 4 years ago by stefan

Testing request from 3 months ago. We have released MS5 since then.

Any chance to test it again?

comment:27 Changed 4 years ago by Nytowl

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