Maybe this could be helpfully. If I launch ophonekitd from ssh, suspend it with ctrl+z, and then if i wait some seconds and bring it to foreground the ophonekitd doesn't't crash. This is what I have done. Some seconds after the FR boots. I make a ssh conection and test if ophonekitd is still running and if it isn't I do what I've just explained:
r...@om-gta02 ~ $ ps aux |grep ophonekitd root 1472 0.0 0.4 2080 540 pts/0 S+ 20:47 0:00 grep ophonekitd r...@om-gta02 ~ $ export DISPLAY=:0 r...@om-gta02 ~ $ ophonekitd ** (process:1473): DEBUG: Entering ecore loop ** (process:1473): DEBUG: Phonegui initiated ** (process:1473): DEBUG: Phonelog database initiated ** (process:1473): DEBUG: Entering glib main loop ** (process:1473): DEBUG: /org/shr/ophonekitd/Usage ** (process:1473): DEBUG: Trying to get the system bus ** (process:1473): DEBUG: Adding signals. ** (process:1473): DEBUG: Added sim AuthStatus. ** (process:1473): DEBUG: Added sim IncomingStoredMessage. ** (process:1473): DEBUG: Added call CallStatus. ** (process:1473): DEBUG: Added device Idle Notifier State. ** (process:1473): DEBUG: Added network IncomingUssd. ** (process:1473): DEBUG: Connected to the buses ** (process:1473): DEBUG: list_resources() ** (process:1473): DEBUG: Initiated elementary ** (process:1473): DEBUG: list_resources_callback() ** (process:1473): DEBUG: Resource WiFi available ** (process:1473): DEBUG: Resource Display available ** (process:1473): DEBUG: Resource Bluetooth available ** (process:1473): DEBUG: Resource TEST available ** (process:1473): DEBUG: Resource GSM available ** (process:1473): DEBUG: Request GSM resource ** (process:1473): DEBUG: Initiated etk ** (process:1473): DEBUG: idle notifier state handler called, id 3 ** (process:1473): DEBUG: request_resource_callback() ** (process:1473): DEBUG: call ogsmd_device_set_antenna_power() ^Z[1] + Stopped ophonekitd r...@om-gta02 ~ $ fg ophonekitd ** (process:1473): DEBUG: idle notifier state handler called, id 4 ** (process:1473): DEBUG: ophonekitd_sim_auth_status_handler() ** (process:1473): DEBUG: sim ready ** (process:1473): DEBUG: power_up_antenna_callback() ** (process:1473): DEBUG: idle notifier state handler called, id 5 ** (process:1473): DEBUG: power status: 0 ** (process:1473): DEBUG: register_to_network_callback() ** (process:1473): DEBUG: get_messagebook_info_callback() ** (process:1473): DEBUG: messagebook info: first: 1, last 50, used: 3, total 50 ** (process:1473): DEBUG: ogsmd_sim_retrieve_phonebook_callback() ** (process:1473): DEBUG: creating contact_cache ** (process:1473): DEBUG: idle notifier state handler called, id 0 ** (process:1473): DEBUG: idle notifier state handler called, id 1 ** (process:1473): DEBUG: idle notifier state handler called, id 0 ** (process:1473): DEBUG: idle notifier state handler called, id 1 ** (process:1473): DEBUG: ophonekitd_incoming_ussd_handler(mode=0, message=Su saldo es de 0,00 euros v?lido hasta el 7/03/09.) ** (process:1473): DEBUG: phonegui_ussd_show(mode=0, message=Su saldo es de 0,00 euros v?lido hasta el 7/03/09.) ** (process:1473): DEBUG: event_callback() ** (process:1473): DEBUG: _show() ** (process:1473): DEBUG: window_init(win=400224) ** (process:1473): DEBUG: window_view_show() ** (process:1473): DEBUG: window_view_hide() ** (process:1473): DEBUG: No frame to hide ** (process:1473): DEBUG: idle notifier state handler called, id 2 ** (process:1473): DEBUG: idle notifier state handler called, id 0 ** (process:1473): DEBUG: window_view_hide() ** (process:1473): DEBUG: _reset() ** (process:1473): DEBUG: calling exit_cb() ** (process:1473): DEBUG: exit_callback() ** (process:1473): DEBUG: call status handler called, id: 1, status: 1 ** (process:1473): DEBUG: outgoing call ** (process:1473): DEBUG: ophonekitd_call_check(1) ** (process:1473): DEBUG: phonelog - add new call, number: "605xxxxxx" ** (process:1473): DEBUG: ophonekitd_call_add(1, 5) ** (process:1473): DEBUG: phonelog - logging call event, unique id: 5, status: 1 ** (process:1473): DEBUG: looking for '"605xxxxxx"' in contacts_cache ** (process:1473): DEBUG: instance_manager_add: type=1, id=1, window=400320 ** (process:1473): DEBUG: malloc'ed ** (process:1473): DEBUG: add window: 0 ** (process:1473): DEBUG: done ** (process:1473): DEBUG: event_callback() ** (process:1473): DEBUG: window_init(win=400320) ** (process:1473): DEBUG: window_view_show() ** (process:1473): DEBUG: window_view_hide() ** (process:1473): DEBUG: call_active_show() ** (process:1473): DEBUG: idle notifier state handler called, id 1 ** (process:1473): DEBUG: call status handler called, id: 1, status: 2 ** (process:1473): DEBUG: active call ** (process:1473): DEBUG: ophonekitd_call_check(1) ** (process:1473): DEBUG: ophonekitd_call_check(1) ** (process:1473): DEBUG: ophonekitd_call_get_unique_id(1) ** (process:1473): DEBUG: ophonekitd_call_check(1) ** (process:1473): DEBUG: phonelog - logging call event, unique id: 5, status: 2 ** (process:1473): DEBUG: idle notifier state handler called, id 0 ** (process:1473): DEBUG: speaker_clicked() ** (process:1473): DEBUG: call_speaker_disable() ** (process:1473): DEBUG: idle notifier state handler called, id 1 ** (process:1473): DEBUG: idle notifier state handler called, id 0 ** (process:1473): DEBUG: release_clicked() ** (process:1473): DEBUG: call status handler called, id: 1, status: 4 ** (process:1473): DEBUG: release call ** (process:1473): DEBUG: ophonekitd_call_check(1) ** (process:1473): DEBUG: ophonekitd_call_check(1) ** (process:1473): DEBUG: ophonekitd_call_get_unique_id(1) ** (process:1473): DEBUG: ophonekitd_call_check(1) ** (process:1473): DEBUG: phonelog - logging call event, unique id: 5, status: 4 ** (process:1473): DEBUG: ophonekitd_call_remove(1) ** (process:1473): DEBUG: event_callback() ** (process:1473): DEBUG: call_hide(id=1) ** (process:1473): DEBUG: instance_manager_remove: 400320 ** (process:1473): DEBUG: window_view_hide() ** (process:1473): DEBUG: call_active_hide() ** (process:1473): DEBUG: calling exit_cb() ** (process:1473): DEBUG: exit_callback() ** (process:1473): DEBUG: idle notifier state handler called, id 1 ** (process:1473): DEBUG: idle notifier state handler called, id 2 ** (process:1473): DEBUG: idle notifier state handler called, id 3 ** (process:1473): DEBUG: idle notifier state handler called, id 4 ** (process:1473): DEBUG: idle notifier state handler called, id 5 ** (process:1473): DEBUG: power status: 0 Then as you can see I can do calls and also, ussd calls without problem. And the openmoko-messages also works as expected: r...@om-gta02 ~ $ openmoko-messages ** (process:1519): DEBUG: Trying to get the system bus ** (process:1519): DEBUG: Adding signals. ** (process:1519): DEBUG: Entering ecore loop ** (process:1519): DEBUG: phonegui_messages_show() ** (process:1519): DEBUG: Initiated elementary ** (process:1519): DEBUG: Initiated etk ** (process:1519): DEBUG: event_callback() ** (process:1519): DEBUG: _show() ** (process:1519): DEBUG: window_init(win=75936) ** (process:1519): DEBUG: window_view_show() ** (process:1519): DEBUG: window_view_hide() ** (process:1519): DEBUG: message_list_view_show() ** (process:1519): DEBUG: tree init ** (process:1519): DEBUG: ogsmd_sim_retrieve_messagebook_callback() ** (process:1519): DEBUG: retrieve messagebook callback(error=0) ** (process:1519): DEBUG: event_callback() ** (process:1519): DEBUG: render called ** (process:1519): DEBUG: render called Maybe ophonekitd needs some sleep time when sets antenna power?
_______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

