Hi!

Alon Bar-Lev wrote:
On Wed, Mar 4, 2009 at 9:44 AM, Christoph Spielmann<[email protected]>  wrote:
Sorry but in order to help you solve this problem i need more info. How do
you start ophonekitd? What version of frameworkd are you using? Is
frameworkd running? Is dbus running?  And I need the exact output you get
from ophonekitd of course! Another thing you could try: What happens if you
disable pin? In my case i had problems with pin enabled but as soon as i
removed pin-lock everything worked like a charm. I know this is not a
solution for the problem but maybe your problem is connected to this

Sure...
1. I think dbus needs to start this, right? Anyway, I start it via the
settings/GSM
Nope dbus starts gsm0710muxd (or should start). Ophonekitd has to be started with a script. Or manually by calling ophonekitd. freesmartphone-framework has to be started with the provided init-script. And if you have the correct settings GSM-subsystem should be started automatically. Could you send me the log of frameworkd too please?
menu. Is there a better way?
2. dbus is running.
3. versions:
frameworkd-phonegui-20090127
frameworkd-phonegui-efl-20090127
freesmartphone-framework-0.4
gsm0710muxd-0.9.2.2
libframeworkd-glib-20090125
openmoko-contacts3-20090125
openmoko-dialer3-20090125
openmoko-messages3-20090125
ophonekitd-20090127
pyphonelog-20090214
shr-settings-20090214
Looks okey
4. Output of stdout:
---
from pythonwifi.iwlibs import Wireless, getNICnames import error - not present
displayModulesWin 1
displayModulesWin 2
loading<class 'shr_settings_modules.shr_gsm.Gsm'>
GSM view [info] can't connect to dbus
Unknown HZ value! (93) Assume 100.
loading<class 'shr_settings_modules.shr_sim.Sim'>
SimMstateContener can connect to dbus
3
sim dbus1
4
5
module<class 'shr_settings_modules.shr_sim.Sim'>  can't be loaded!
displayModulesWin 3
---
5. ophonekitd.log
---
** (process:1894): DEBUG: Entering ecore loop
** (process:1894): DEBUG: Phonegui initiated
** (process:1894): DEBUG: Phonelog database initiated
** (process:1894): DEBUG: Entering glib main loop
** (process:1894): DEBUG: /org/shr/ophonekitd/Usage
** (process:1894): DEBUG: Trying to get the system bus
** (process:1894): DEBUG: Adding signals.
** (process:1894): DEBUG: Added sim AuthStatus.
** (process:1894): DEBUG: Added sim IncomingStoredMessage.
** (process:1894): DEBUG: Added call CallStatus.
** (process:1894): DEBUG: Added device Idle Notifier State.
** (process:1894): DEBUG: Added network IncomingUssd.
** (process:1894): DEBUG: Connected to the buses
** (process:1894): DEBUG: list_resources()
** (process:1894): DEBUG: list_resources_callback()
** (process:1894): DEBUG: Resource Bluetooth available
** (process:1894): DEBUG: Resource GSM available
** (process:1894): DEBUG: Request GSM resource
** (process:1894): DEBUG: Initiated elementary
** (process:1894): DEBUG: Initiated etk
** (process:1894): DEBUG: idle notifier state handler called, id 1
** (process:1894): DEBUG: idle notifier state handler called, id 2
** (process:1894): DEBUG: request_resource_callback()
** (process:1894): DEBUG: dbus not available, try again in 5s
** (process:1894): DEBUG: list_resources()
** (process:1894): DEBUG: list_resources_callback()
** (process:1894): DEBUG: Resource Bluetooth available
** (process:1894): DEBUG: Resource GSM available
** (process:1894): DEBUG: Request GSM resource
** (process:1894): DEBUG: request_resource_callback()
** (process:1894): DEBUG: request resource error, try again in 5s

** ERROR **: error: TODO org.freesmartphone.Usage.UserExists
org.freesmartphone.Usage -6
aborting...
---
6. If I disable PIN it behaves the same.
I think i've seen that one before but i can't remember what the problem was and how it can be fixed.

can you try the following (with pin disabled):

1. remove frameworkd and everything else connected to openmoko-specific stuff (gsm0710muxd, gpsd or fso-gpsd) from default runlevel (if you've added it)
2. install mdbus (http://wiki.openmoko.org/wiki/OpenmokoFramework/mdbus)
2. reboot
3. log in again and check if gsm0710muxd is running
4. start frameworkd (you might have to wait a lil, because frameworkd takes a bit to start up)
5. execute the following commands and post the output:

mdbus -s org.freesmartphone.frameworkd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.Device.GetInfo mdbus -s org.freesmartphone.frameworkd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.SIM.GetSimInfo
There is not much documentation for shr (or I could not find ones), does
anyone know a good resource?
I'm afraid there is no such thing as good documentation about shr... I made things work by using trial and error, reading mailing list archives and look through the tickets. In my case most things work now (phone, sms, suspend and resume...) Things i know that are not working are pyphonelog which just displays garbage here and shr-settings is umm very picky about what does and what doesn't work.

I hope i could enlighten you a lil!

Christoph
Thank you for your help!
Alon.



Reply via email to