From: Christoph Spielmann <spielc@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Openmoko - Almost there...
Date: Wed, 04 Mar 2009 21:57:32 +0100 [thread overview]
Message-ID: <49AEEB3C.4090609@gmail.com> (raw)
In-Reply-To: <9e0cf0bf0903041154w710bb35fga6a7be89a1bf6ec8@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 5264 bytes --]
Hi!
Alon Bar-Lev wrote:
> On Wed, Mar 4, 2009 at 9:44 AM, Christoph Spielmann<spielc@gmail.com> 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.
>
>
>
[-- Attachment #2: Type: text/html, Size: 6493 bytes --]
next prev parent reply other threads:[~2009-03-04 20:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-03 22:49 [gentoo-embedded] Openmoko - Almost there Alon Bar-Lev
2009-03-04 6:45 ` Sven Rebhan
2009-03-04 7:44 ` Christoph Spielmann
2009-03-04 19:54 ` Alon Bar-Lev
2009-03-04 20:57 ` Christoph Spielmann [this message]
2009-03-05 22:10 ` Alon Bar-Lev
2009-03-06 19:11 ` Christoph Spielmann
2009-03-06 19:37 ` Alon Bar-Lev
2009-03-06 19:44 ` Ned Ludd
2009-03-07 13:11 ` Sven Rebhan
2009-03-10 0:26 ` Alon Bar-Lev
2009-03-10 8:52 ` Sven Rebhan
2009-03-04 21:08 ` Ned Ludd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49AEEB3C.4090609@gmail.com \
--to=spielc@gmail.com \
--cc=gentoo-embedded@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox