-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
moinmoin,
Am 10.02.2009 um 23:09 schrieb gregor herrmann:
Speaking of which: Here is the patch I use to get the battery icon
working again with the 2.6.24-20081103.git7172ec57 kernel (the
problem seems to be the check against "2.6.24" whereas uname -r
reports the nice long string).
My Python and Openmoko knowledge is limited but maybe it helps.
Cheers,
gregor
--- /usr/share/python-support/openmoko-panel-plugin/panelplugin/
BatteryIcon.py.orig 2009-02-03 22:46:51.000000000 +0100
+++ /usr/share/python-support/openmoko-panel-plugin/panelplugin/
BatteryIcon.py 2009-02-06 00:14:19.000000000 +0100
@@ -23,7 +23,7 @@
StatusIcon.__init__(self, self.parentObject, "battery")
- kernel = os.popen("uname -r", "r").readline().rstrip('\n')
+ kernel = os.popen("uname -r", "r").readline().rstrip('\n')
[0:6]
if (kernel == "2.6.24"):
self.sysChargerType = "/sys/class/i2c-adapter/
i2c-0/0-0073/charger_type"
thanks - i included your patch in our devel-repo at http://
projects.openmoko.org/projects/panel-plugin
cheers,
christian (morlac) adams
- --
- -----BEGIN CONTACT BLOCK-----
eMail: mor...@morlac.de
Jabber: mor...@skavaer.homelinux.org
- ------END CONTACT BLOCK------
- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS$/IT;d-;s:;a?;C++(+++)>++++;UL++++;P++(+++)>++++;
L++(+++);E---;W++;N(+);o?;K?;!w;!O;!M+>;!V;PS(+);PE;
Y+;PGP++;t+(++);5(+)>++;X(+);R*;tv->+;b++(+++);DI++;
D++(+++)>++++;G(+)>++;e+>+++;h-()>++;r++;y++;
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFJkgpgr81gVylJyzERAuo3AKDK+3g4L34DCQM6W9zCWH+vOKsumACeJsVP
X16kVh8i3ftw9xwBOlC6RDo=
=bCH0
-----END PGP SIGNATURE-----
_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland