Re: debian + phoneui-apps

2012-04-02 Thread Timo Jyrinki
2012/4/2 Brendon Schumacker brendon.s...@gmail.com:
 Unfortunately it seems I have killed my openmoko from playing with it
 too much.  Perhaps you have some advice for this?

 I can not start the phone with the regular power button anymore, it
 might show a red light for a moment on the aux button, but then it
 dies.  If I do aux + power I can get into NOR boot menu sometimes, but
 it will die again when I try to boot.

 Can you guess what the problem might be?

It sounds like it'd be functioning normally, the red light being the
Qi's only UI. If you press AUX when the red light shows, or
alternatively just remove the SD card temporarily, it should boot from
the NAND flash instead of MicroSD card. So most probably you've a
problem with the Debian installation on the MicroSD card, but Qi tries
to boot from there by default.

AUX + power always brings the NOR boot menu, but you need to press and
hold them for some time. Same goes for interacting with Qi, you need
to press the AUX in a right way :)

-Timo

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: debian + phoneui-apps

2012-03-27 Thread Rico Rommel
Am Dienstag, 27. März 2012, 05:09:19 schrieb Brendon Schumacker:
 2012.03.26 14:32:18.787663 [phonefsod]  WARNING: failed to connect to
 /org/freesmartphone/GSM/Device: Error calling StartServiceByName for
 org.freesmartphone.ogsmd:
 GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Activation of
 org.freesmartphone.ogsmd timed out

 2012.03.26 14:32:28.378662 [phonefsod]  CRITICAL: !!! ouch, phoneuid
 is gone - telephony won't work anymore !!!

 Then in Ubuntu I did a apt-cache search fso and installed everything
 that looked relevant there.  Only one of them updated.  And with ps
 aux it seems that everything is running as it should be, so the
 problem seems beyond me at this point.

Please make sure, fso-gta02 and fso-frameworkd-gta02, phoenuid and e17 are
installed.
Theydepend on all needed packages and install them.


If the PIN-Dialog doesn't show up, insert something like

dbus-send --system --dest=org.freesmartphone.ousaged /org/freesmartphone/Usage
org.freesmartphone.Usage.RequestResource string:GSM

into ~/.xsession


Basically, there is no additional configuration needed.

 /usr/share/phoneuid/phoneui-wrapper.sh 

If everything is correct, this isn't needed.

 You can swap out xfce with enlightenment and it still works which is
 great.  Although I couldn't close Contacts after opening it because
 there was no close button, that might also be a SHR specific trait.

If you are using illume1 tap on top-panel and then on X to close or load
module illume-softkey.


On illume2 you can install shr-e-gadgets (It's not in Debian yet)
git://anonscm.debian.org/pkg-fso/shr-e-gadgets.git

and then

echo shr_elm_softkey.desktop  ~/.e/e/applications/startup/.order

If you tap on top-panel, you should be able to switch and close windows.


Rico

signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: debian + phoneui-apps

2012-03-27 Thread Timo Jyrinki
2012/3/26 Timo Jyrinki timo.jyri...@gmail.com:
 However, after that I get an Enlightenment complaint about not being
 able to create a new window for each of the same apps that complained
 about the D-Bus interface earlier.

phoneui-apps apparently is missing some dependency, filed bug #665951.
After installing the e17 meta package, the apps start.

Furthermore, phone calls work! I removed the phoneui-wrapper.sh from
.xsession again, and switched from matchbox-window-manager to
enlightenment_start. Starting phoneui-dialer from command line works
and phone calls can be made and received.

Sound works from FreeRunner to the other phone, but I don't seem to
get audio from FreeRunner with the default settings (nor the speaker
switch works).

Enlightenment seems to also have kept to its tiny font size (on
Debian, hard-coded away in SHR distribution and elsewhr), which should
be probably fixed in either Debian's E17 packages or in configuration
otherwise. The phoneui apps (or any apps) also aren't visible in the
home screen.

Anyway, it's nice to see the new generation FSO2 in action on Debian.

-Timo

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: debian + phoneui-apps

2012-03-27 Thread Rico Rommel
Am Dienstag, 27. März 2012, 15:19:08 schrieb Timo Jyrinki:

 Sound works from FreeRunner to the other phone, but I don't seem to
 get audio from FreeRunner with the default settings (nor the speaker
 switch works).

Please check, if the symlink /etc/freesmartphone/conf/GTA02/alsa-default
points to the correct kernel version.

Rico

signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: debian + phoneui-apps

2012-03-26 Thread Timo Jyrinki
2012/3/26 Brendon Schumacker brendon.s...@gmail.com:
 I have phoneui-apps install, and I have both XFCE4 and e17 installed
 and working fine, but they can't open Dialer, Contacts, etc.  When I
 try phoneui-dialer at the cli I get:

 Error: No such interface `org.shr.phoneui.Dialer' on object at path
 /org/shr/phoneui/Dialer

 Which makes sense because debian is not SHR, I suppose, but
 phoneui-apps is in the debian repositories so I'm assuming there must
 be a way to config it?

SHR is both a distribution and name for a couple of applications. The
SHR applications have been packaged to Debian, and also updated a
couple of times.

I've the same problem as you, since I wanted to experiment with the
FSO2 + SHR on top of Debian, now that they've been packaged for some
time and updated a couple of times. I haven't yet gotten any answers
either unfortunately, but I've understood the phoneui-apps are working
at least for the Debian maintainers who packaged them, and probably
some else as well. It's probably about us not understanding about how
the apps are supposed to work, and the fact that they haven't yet been
configured in Debian to work out-of-the-box apparently.

I did find a fix to the specific problem you're mentioning, though.
You need to have phoneuid running, and in its current Debian form it's
not configured to be automatically run as as service. Therefore I
added /usr/share/phoneuid/phoneui-wrapper.sh to the /root/.xsession.
However, after that I get an Enlightenment complaint about not being
able to create a new window for each of the same apps that complained
about the D-Bus interface earlier.

I'd be happy to hear usage information from this point forward :) It'd
be nice to upgrade from FSO1 + Zhone combo eventually.

 I will be incredibly happy if I can be running debian on my openmoko!
 Please let me know if you have any ideas.

Let's hope you (also) can get up and running with the phoneui-apps
included soon!

-Timo

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: debian + phoneui-apps

2012-03-26 Thread Rico Rommel
Hi,

there are two daemons from shr: phonefsod and phonuid.
phoneuid works on top of phonefsod and brings up apps like dialer or contacts.
phonefsod is started by an init-script, phoneuid via /etc/X11/Xsession.d.

Sometimes there is a kind of race condition between daemons. So please turn on 
logging in /etc/phoneuid.conf and /etc/phonefsod.conf and/or test, if 
disabling concurrency in /etc/init.d/rc makes a difference.

Rico

signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community