Hi there!

The Debian 2.6.29 kernel package has (still untracked) problems with
power management, as explained at

  
http://lists.linuxtogo.org/pipermail/smartphones-userland/2009-March/001335.html
  http://lists.linuxtogo.org/pipermail/smartphones-kernel/2009-March/000056.html

It seems that frameworkd cannot cope with them, since the following is
what I have in my ~/.xsession-errors:
=====
Xsession: X session started for root at Sun Mar 22 12:33:59 CET 2009
GUI init
x11-16 is not supported, fallback to x11
libnotify-Message: GetServerInformation call failed: The name \
 org.freedesktop.Notifications was not provided by any .service files
INFO:root:entering dbusReInit of buttons
INFO:root:entering dbusReInit of usb
INFO:root:entering dbusReInit of gsm
INFO:root:entering dbusReInit of wifi
INFO:root:entering dbusReInit of gps
INFO:root:entering dbusReInit of keyboard
INFO:root:entering dbusReInit of brightness
INFO:root:entering dbusReInit of bluetooth
GUI init done
entering mainloop
dbus_objectInit...
usage ok: [...]
gps ok: [...]
gsm ok: [...]
device ok: [...]
preferences ok: [...]
failcount = 0
dbus_objectInitOK!
Requesting resource list
Requesting resource GSM
INFO:root:entering init for buttons
INFO:root:entering init for usb
IDLE STATE = idle_dim
Requested resource GSM
Turning on Antenna
ERROR:root:error while calling DeviceIface.GetPower() - assuming 0
        (org.freedesktop.DBus.Python.ValueError: Traceback (most recent call 
last):
  File "/var/lib/python-support/python2.5/dbus/service.py", line 702, in 
_message_cb
    retval = candidate_method(self, *args, **keywords)
  File 
"/var/lib/python-support/python2.5/framework/subsystems/odeviced/powercontrol.py",
 line 74, in GetPower
    return self.getPower()
  File 
"/var/lib/python-support/python2.5/framework/subsystems/odeviced/powercontrol.py",
 line 49, in getPower
    return int( readFromFile( self.powernode ) )
ValueError: invalid literal for int() with base 10: 'N/A'
)
INFO:root:entering dbusReInit of usb
INFO:root:entering spreadDBusFailure
INFO:root:entering init for UsageInterface for gsm
INFO:root:entering init for gsm
INFO:root:entering init for wifi
INFO:root:entering init for UsageInterface for gps
INFO:root:entering init for brightness
INFO:root:entering init for UsageInterface for bluetooth

[the same error is repeated later various times]
=====

Now, some questions:

1) I do not really understand why Zhone wants to know the power status,
   since AFAIK it does not show/manage anything about power management
   (remember that this is X11 log, thus not the frameworkd one)

2) I would say that frameworkd should deal with the power status being
   N/A instead of complaining

Thx, bye,
Gismo / Luca

Attachment: pgpSE5Ek2f0vU.pgp
Description: PGP signature

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to