On Wed, Sep 16, 2009 at 07:16:10PM +0200, arne anka wrote:
> starting ophonekitd from Xsession.d seems not to work becaus eof
> timeouts and atm even starting from .xsession or manually has
> issues.

I switched to Xsession.d and "it's working for me" (tm).

> debian-gta02:~$ DISPLAY=:0 ophonekitd
> ** (process:11425): DEBUG: Configuration file read
> ** (process:11425): DEBUG: Entering ecore loop
> ** (process:11425): DEBUG: Phonegui initiated
> ** (process:11425): DEBUG: Entering glib main loop
> ** (process:11425): DEBUG: /org/shr/ophonekitd/Usage
> ** (process:11425): DEBUG: Trying to get the system bus
> ** (process:11425): DEBUG: Adding signals.
> ** (process:11425): DEBUG: Added sim AuthStatus.
> ** (process:11425): DEBUG: Added sim ReadyStatus.
> ** (process:11425): DEBUG: Added sim IncomingStoredMessage.
> ** (process:11425): DEBUG: Added call CallStatus.
> ** (process:11425): DEBUG: Added device Idle Notifier State.
> ** (process:11425): DEBUG: Added network IncomingUssd.
> ** (process:11425): DEBUG: Connected to the buses
> ** (process:11425): DEBUG: list_resources()
> ** (process:11425): DEBUG: list_resources_callback()
> ** (process:11425): DEBUG: Resource TEST available
> ** (process:11425): DEBUG: Resource CPU available
> ** (process:11425): DEBUG: Resource Display available
> ** (process:11425): DEBUG: Resource GSM available
> ** (process:11425): DEBUG: Request GSM resource
> ** (process:11425): DEBUG: Initiated elementary
> ** (process:11425): DEBUG: Initiated etk
> ** (process:11425): DEBUG: request_resource_callback()
> ** (process:11425): DEBUG: call ogsmd_device_set_antenna_power()
> Failed to handle dbus error: Resource Device is not enabled, current
> status is 'enabling', 80 (dbus-glib-error-quark), code 32
> ** (process:11425): DEBUG: power_up_antenna_callback()
> Failed to handle dbus error: Resource Device is not enabled, current
> status is 'enabling', 80 (dbus-glib-error-quark), code 32
> ** (process:11425): DEBUG: sim_ready_status_callback(status=1074499584)
> ** (process:11425): DEBUG: sim ready
> Failed to handle dbus error: Resource Device is not enabled, current
> status is 'enabling', 80 (dbus-glib-error-quark), code 32
> ** (process:11425): DEBUG: get_messagebook_info_callback()
> Segmentation fault

Looks like ophonekitd assumes the modem is up without checking it,
while the modem has not been enabled completly. I guess some wait
loops are needed arround ogsmd_device_set_antenna_power similar to
the one being used when enabling the ressouces. From my logfile:

** (process:1865): DEBUG: list_resources()
** (process:1865): DEBUG: list_resources_callback()
** (process:1865): DEBUG: GSM not available, try again in 5s

I guess it's time to annoy the SHR developers. Can you please ask
them via IRC or their mailing list? You can find connection data
for both @ http://www.shr-project.org/trac/wiki/Communicate

I will package a new version at once when there is a solution for
the race condition.

-- Sebastian

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to