View Single Post
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#45
Originally Posted by sulu View Post
The logout GUI still didn't come up but segfaulted instead. strace revealed that I had to install lsb-release. The GUI came up but without buttons for shutdown or reboot. I will investigate that later.
With systemd-shim, the GUI for logout will come up and everything will work, *except* reboot and shutdown (aka most important things). Don't expect it to work no matter what you do. There is a huge patch apparently fixing many issues (targeted at lxsession package, i believe) send by a non-maintainer over a year ago, but it sits in debian's "mentors" limbo since then, and it doesn't look like situation is going to change, anytime soon.

Might be work trying to compile the 0.4.9.2-1.1 version of lxsession yourself, from the source send to mentors - everywhere I've searched, people mention that it fixes things as advertised, and I find exactly zero claims, that it breaks something else/doesn't work.

Originally Posted by sulu View Post
btw, I had a look at Maemo's power_supply directory and apparently there's no value indication the current charge either. How does Maemo determine the battery status? Based on the voltage?
WTF? there definitely *should* be one, provided by the upstream bq27x00_battery kernel module. For sure, there is one, when using said module with Maemo (/sys/class/power_supply/bq27200-0/charge_now) and chip provides those information just right.

If module, for some reasons, fails to provide under native debian,an intermediate fix might be to using i2cget directly in a script, just like good'old bq27200.sh script did. It could temporaly do the job in stead ( ) of kernel module, by exposing values to fake sysnode. You would somehow need to direct thing to look there (at your fake sysnode), instead of default one, though...

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 2 Users Say Thank You to Estel For This Useful Post: