From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LeyAZ-0007pj-6y for garchives@archives.gentoo.org; Wed, 04 Mar 2009 20:58:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB097E0417; Wed, 4 Mar 2009 20:58:21 +0000 (UTC) Received: from mail-bw0-f171.google.com (mail-bw0-f171.google.com [209.85.218.171]) by pigeon.gentoo.org (Postfix) with ESMTP id 4F2DAE0417 for ; Wed, 4 Mar 2009 20:58:21 +0000 (UTC) Received: by bwz19 with SMTP id 19so2770086bwz.34 for ; Wed, 04 Mar 2009 12:58:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type; bh=3Grb/6QxF2SpKcltIZJCP0YnqiHVGrnNMW/AF5LfaMI=; b=gVHuT7k6k51mMy68wSxW1nRyLwvX0YDpwXbTfPX3igYvETsH8g1YWyZPn+T/MaFb9G GDyQe+E4ca7JHrJpsT4GzdMGxVcJJvyPhRo/lS9ZH8PcFead6DTUgtmgJqNZQ1ad6xIz ijjlxkBBkAU2mwhkkU5EjYvbdIN90wVukJltU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=TBkXedXty6ROljfcgZaytVKC8GxKICuSkehnc1uqcZRwYSFLQ6FCxsdDF810+WK0on zhS+qVK8lYN8aJQRkw+QjSbRuOgt37dpCHbyIZn8DHQbkSNpXE6imxNJf5wVfwtL805l Fy3ZJ3vgWL8L+vcmETO2l500JTZT4LkF5JFdY= Received: by 10.103.172.9 with SMTP id z9mr152231muo.39.1236200300467; Wed, 04 Mar 2009 12:58:20 -0800 (PST) Received: from ?193.171.40.242? (462b.jkh.uni-linz.ac.at [193.171.40.242]) by mx.google.com with ESMTPS id s11sm567692mue.17.2009.03.04.12.58.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 04 Mar 2009 12:58:19 -0800 (PST) Message-ID: <49AEEB3C.4090609@gmail.com> Date: Wed, 04 Mar 2009 21:57:32 +0100 From: Christoph Spielmann User-Agent: Thunderbird/3.0a2 (X11; 2009010220) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] Openmoko - Almost there... References: <9e0cf0bf0903031449y3ad8e92cm22b8488f3b2400dd@mail.gmail.com> <9e0cf0bf0903041154w710bb35fga6a7be89a1bf6ec8@mail.gmail.com> In-Reply-To: <9e0cf0bf0903041154w710bb35fga6a7be89a1bf6ec8@mail.gmail.com> Content-Type: multipart/alternative; boundary="------------000909070603040509050606" X-Archives-Salt: 0d0740a3-5e67-4098-a9fc-3ed1ac02d98d X-Archives-Hash: de124dec381c8fef0fddf4cbefbe6b2b This is a multi-part message in MIME format. --------------000909070603040509050606 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi! Alon Bar-Lev wrote: > On Wed, Mar 4, 2009 at 9:44 AM, Christoph Spielmann 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 > GSM view [info] can't connect to dbus > Unknown HZ value! (93) Assume 100. > loading > SimMstateContener can connect to dbus > 3 > sim dbus1 > 4 > 5 > module 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. > > > --------------000909070603040509050606 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi!

Alon Bar-Lev wrote:
On Wed, Mar 4, 2009 at 9:44 AM, Christoph Spielmann <spiel=
c@gmail.com> wrote:
  
Sorry but in order to help you solve this problem i ne=
ed more info. How do
you start ophonekitd? What version of frameworkd are you using? Is
frameworkd running? Is dbus running?=C2=A0 And I need the exact output yo=
u get
from ophonekitd of course! Another thing you could try: What happens if y=
ou
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 pr=
esent
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.


  

--------------000909070603040509050606--