Gentoo Archives: gentoo-embedded

From: Alon Bar-Lev <alon.barlev@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Openmoko - Almost there...
Date: Fri, 06 Mar 2009 19:37:50
Message-Id: 9e0cf0bf0903061137i63e3652dg67e4d0277053af78@mail.gmail.com
In Reply to: Re: [gentoo-embedded] Openmoko - Almost there... by Christoph Spielmann
1 Update:
2
3 After a lot of work and updating all packages (FSO, SHR) to head i can
4 finally make a phone call!!!!!!!!!!!
5 Thank for everyone help!
6
7 There are quite large modification and new packages I added to the
8 tree, and opened some
9 bugs in gentoo bugzilla.
10
11 It also works as a regular user... Running the whole graphic
12 application under root was really
13 annoying at all distributions.
14
15 I can help you to maintain the tree, I am a former gentoo developer
16 (alonbl@g.o), so
17 I can help maintaining the tree.
18
19 Issues:
20 1. I had to touch /etc/freesmartphone/ogsmd/networks.tab in order to
21 make ophonekitd
22 start.
23 2. ophonekitd does not start at the first time, but if I start it manuall using:
24 DISPLAY=:0 ophonekitd
25 It works.
26 3. Sound works when I don't use the speaker, if I turn on speaker in
27 the dailer, no mic and sound.
28 4. There are few numbers I cannot call, for example my voice mail
29 number is not working.
30
31 Continuing to investigate...
32
33 Questions:
34 1. How do you start the X automatically? Do you use xdm or your own
35 version which calls startx?
36 2. Have anyone solved the gnome application's font issue? It looks
37 like tangogps and phonelog
38 share common font issue.
39 3. Where do you redirect the log of the X server? Looks like there is
40 no control where the
41 ophonekitd and e write the log, so a tweek is needed to support log rotation.
42 4. What about neod, is it useful?
43
44 Thanks,
45 Alon.
46
47 On Fri, Mar 6, 2009 at 9:11 PM, Christoph Spielmann <spielc@×××××.com> wrote:
48 > Hi!
49 >
50 > Alon Bar-Lev wrote:
51 >
52 > On Wed, Mar 4, 2009 at 10:57 PM, Christoph Spielmann <spielc@×××××.com>
53 > wrote:
54 >
55 >
56 > Sure...
57 > 1. I think dbus needs to start this, right? Anyway, I start it via the
58 > settings/GSM
59 >
60 > Nope dbus starts gsm0710muxd (or should start). Ophonekitd has to be started
61 > with a script. Or manually by calling ophonekitd. freesmartphone-framework
62 > has to be started with the provided init-script. And if you have the correct
63 > settings GSM-subsystem should be started automatically. Could you send me
64 > the log of frameworkd too please?
65 >
66 >
67 > Attached.
68 >
69 >
70 >
71 > I think i've seen that one before but i can't remember what the problem was
72 > and how it can be fixed.
73 >
74 >
75 > Hmmm....
76 >
77 >
78 >
79 > can you try the following (with pin disabled):
80 >
81 > 1. remove frameworkd and everything else connected to openmoko-specific
82 > stuff (gsm0710muxd, gpsd or fso-gpsd) from default runlevel (if you've added
83 > it)
84 > 2. install mdbus (http://wiki.openmoko.org/wiki/OpenmokoFramework/mdbus)
85 > 2. reboot
86 > 3. log in again and check if gsm0710muxd is running
87 >
88 >
89 > Not running. What should run it other than the init.d script?
90 >
91 >
92 > You shouldn't start it with the initscript. dbus should start gsm0710muxd
93 > automatically. If it's not started automatically something is wrong.
94 >
95 >
96 >
97 > 4. start frameworkd (you might have to wait a lil, because frameworkd takes
98 > a bit to start up)
99 >
100 >
101 > OK.
102 >
103 >
104 >
105 > 5. execute the following commands and post the output:
106 >
107 > mdbus -s org.freesmartphone.frameworkd /org/freesmartphone/GSM/Device
108 > org.freesmartphone.GSM.Device.GetInfo
109 > mdbus -s org.freesmartphone.frameworkd /org/freesmartphone/GSM/Device
110 > org.freesmartphone.GSM.SIM.GetSimInfo
111 >
112 >
113 > # mdbus -s org.freesmartphone.frameworkd
114 > /org/freesmartphone/GSM/Device org.freesmartphone.GSM.Device.GetInfo
115 > /org/freesmartphone/GSM/Device: GetInfo failed:
116 > org.freesmartphone.Resource.NotEnabled
117 > # mdbus -s org.freesmartphone.frameworkd
118 > /org/freesmartphone/GSM/Device org.freesmartphone.GSM.SIM.GetSimInfo
119 > /org/freesmartphone/GSM/Device: GetSimInfo failed:
120 > org.freesmartphone.Resource.NotEnabled
121 >
122 > Even if i start gsm0710muxd it stays this way, also if I power_on the
123 > device.
124 >
125 >
126 > That's the problem. Again gsm0710mux should get started automatically. If
127 > it's not started automatically by dbus you can do what you want and you
128 > won't get it to work. Believe me i had the same problem. Do you have the
129 > following file installed:
130 > /usr/armv4tl-softfloat-linux-gnueabi/usr/share/dbus-1/system-services/org.pyneo.muxer.service?
131 > Usually this file should get installed by gsm0710muxd. I "solved" the
132 > problem by completely removing ALL python-packages (including python
133 > itself), deleting /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/python2.5 and
134 > reinstall everything. After this procedure everything was working as
135 > expected.
136 >
137 >
138 >
139 > There is not much documentation for shr (or I could not find ones), does
140 > anyone know a good resource?
141 >
142 >
143 > I'm afraid there is no such thing as good documentation about shr... I made
144 > things work by using trial and error, reading mailing list archives and look
145 > through the tickets. In my case most things work now (phone, sms, suspend
146 > and resume...) Things i know that are not working are pyphonelog which just
147 > displays garbage here and shr-settings is umm very picky about what does and
148 > what doesn't work.
149 >
150 >
151 > Thanks for your help!!!
152 > What are me other alternatives? If SHR does not work, is there any other
153 > solution I can use, maybe something simpler? zhone does not work either,
154 > guess it needs ophonekitd too.
155 >
156 >
157 > Nope zhone needs just freesmartphone-framework and as that's not working
158 > correctly zhone can't work. There are other alternatives (e.g. the stuff
159 > provided by hackable:1 sounds interesting) but we concentrate on
160 > freesmartphone-framework at the moment but feel free to try other stuff. I
161 > guess nobody would complain about having alternatives.
162 >
163 > Thanks!
164 >
165 >
166 > No problem. After all we are one big gentoo-family, aren't we ;)
167 >
168 > Christoph
169 >
170 > Alon.
171 >
172 >

Replies

Subject Author
Re: [gentoo-embedded] Openmoko - Almost there... Ned Ludd <solar@g.o>
Re: [gentoo-embedded] Openmoko - Almost there... Sven Rebhan <odinshorse@××××××××××.com>