[pkg-fso-maint] [Debian] openmoko-panel-plugin 0.6-1 and GSM resource (was Re: Broken installation)

Luca Capello luca at pca.it
Thu Nov 20 21:16:10 UTC 2008


Hi Sebastian!

I moved the discussion to the smartphones-userland mailing list since it
is no more related to pure Debian packaging work, please continue there!

On Thu, 20 Nov 2008 09:32:35 +0100, Sebastian Ohl wrote:
> On Tue, 2008-11-18 at 23:45 +0100, Joachim Breitner wrote:
>> We have no version of openmoko-panel-plugin that works with milestone4
>> yet – this will change any time now, I have heared. But until then, your
>> system will not be fully functional.
>
> after 2.5 hours of merging the git and svn tree, i can announce that
> there is a new version of openmoko-panel-plugin in the repository. this
> new version should work with ms4.

First of all, thank you!

Then, openmoko-panel-plugin_0.6-1 works with frameworkd milestone4 on
Debian, but I experience again startup problems, but with an error
different than the one at:

  http://lists.linuxtogo.org/pipermail/smartphones-userland/2008-November/000357.html

This time the error message is:
=====
debian-gta02:~# cat .xsession-errors
Xsession: X session started for root at Thu Nov 20 19:56:00 UTC 2008
libnotify-Message: GetServerInformation call failed: The name \
 org.freedesktop.Notifications was not provided by any .service files
GUI init
x11-16 is not supported, fallback to x11
GUI init done
entering mainloop
dbus_objectInit...
usage ok: <Interface <ProxyObject wrapping <dbus._dbus.SystemBus \
 (system) at 0x40371f60> :1.0 /org/freesmartphone/Usage at 0x4036cb70> \
 implementing 'org.freesmartphone.Usage' at 0x4036cc30>
gps ok: <Interface <ProxyObject wrapping <dbus._dbus.SystemBus \
 (system) at 0x40371f60> :1.0 /org/freedesktop/Gypsy at 0x4036ce70> \
 implementing 'org.freedesktop.Gypsy.Accuracy' at 0x4036cf30>, <Interface \
 <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 0x40371f60> :1.0 \
 /org/freedesktop/Gypsy at 0x4036ce70> implementing \
 'org.freedesktop.Gypsy.Position' at 0x402c4070>, <Interface <ProxyObject \
 wrapping <dbus._dbus.SystemBus (system) at 0x40371f60> :1.0 \
 /org/freedesktop/Gypsy at 0x4036ce70> implementing \
 'org.freedesktop.Gypsy.Satellite' at 0x402c41b0>
gsm ok: <Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) \
 at 0x40371f60> :1.0 /org/freesmartphone/GSM/Device at 0x402c4450> \
 implementing 'org.freesmartphone.GSM.Network' at 0x402c4550>
Traceback (most recent call last):
  File "/usr/bin/openmoko-panel-plugin", line 1676, in <module>
    icon = PanelPlugin(dbus_object)
  File "/usr/bin/openmoko-panel-plugin", line 78, in __init__
    self.configReader()
  File "/usr/bin/openmoko-panel-plugin", line 101, in configReader
    self.appendIcon(plugin)
  File "/usr/bin/openmoko-panel-plugin", line 105, in appendIcon
    self.icons.append(GSMIcon(self.dbus, self))
  File "/usr/bin/openmoko-panel-plugin", line 668, in __init__
    UsageIcon.__init__( self, dbus, "Turn on GSM", "Turn off GSM", "GSM", parentObject, "gsm" )
  File "/usr/bin/openmoko-panel-plugin", line 524, in __init__
    self.resourcestate = self.dbus.usage_iface.GetResourceState(self.resourcename)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 622, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freesmartphone.Usage.ResourceUnknown: Unknown resource GSM
device ok: <Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) \
 at 0x40371f60> :1.0 /org/freesmartphone/Device at 0x402c4a30> implementing \
 'org.freesmartphone.Device' at 0x402c4af0>
preferences ok: <Interface <ProxyObject wrapping <dbus._dbus.SystemBus \
 (system) at 0x40371f60> :1.0 /org/freesmartphone/Preferences at \
 0x402c4ef0> implementing 'org.freesmartphone.Preferences' at 0x402c4fb0>
failcount = 0
dbus_objectInitOK!
Requesting resource list
Resource added Bluetooth
Resource added WiFi
Resource added GSM
Requesting resource GSM
Resource added GPS
IDLE STATE = idle_dim
Requested resource GSM
Turning on Antenna
SIM is ready: 0
SIM is ready: 0
Antenna power OK. Registering to network now.
Registering to network
IDLE STATE = idle_prelock
IDLE STATE = lock
=====

Since openmoko-panel-plugin works if launched once Zhone is fully
started, I tried to put (again) some sleep time before starting
openmoko-panel-plugin and indeed this solves the problem:
=====
debian-gta02:~# cat .xsession
#!/bin/sh
trayer --edge top &
sleep 12 && openmoko-panel-plugin &
zhone &
exec matchbox-window-manager -use_titlebar no -use_cursor no
debian-gta02:~#
=====

FWIW, I tested with less sleep time, but with no success.

And I should add that the installation I use ATM is far from being a
"default" one, since it is the one I use when testing new versions for
the Debian packages.  While I do not think this should change anything,
it should be noted as well.

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20081120/61497046/attachment.pgp 


More information about the pkg-fso-maint mailing list