maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Powerlaunch 0.7 Broken (https://talk.maemo.org/showthread.php?t=18691)

austin 2008-04-04 14:19

Re: Powerlaunch 0.7 Broken
 
Quote:

Originally Posted by tso (Post 164944)
On the screen lock thing i cant really pinpoint anything except that i believe i have found my n800 with the screen on but buttons locked. A combo that should not be possible Iirc as the screen turns of when the lock is turned off.

On the charge while of part its mostly that one can open the power menu while the device is charging, with on way of getting it to go away again Iirc. And i think the animation do not animate properly.

I assume by "buttons locked" you mean that it's disabled and not that you're in the software tklock mode. You are correct that it shouldn't be possible as dsme is responsible for re-enabling the keys/screen when the display turns on. The only thing I can think of is this previous bug https://bugs.maemo.org/show_bug.cgi?id=2311

Regarding the animation, it animates fine for me. The one known issue is that it doesn't detect battery state so doesn't tell you when it's fully charged. I just tested it and although I couldn't get the power menu to pop up, there is an issue of bringing it back on from the actdead state. That's something that should be fixed.

austin 2008-04-04 14:40

Re: Powerlaunch 0.7 Broken
 
Quote:

Originally Posted by tso (Post 164971)
hmm, one more interesting thing. when i look at the menu now, it says "normal mode" as one of the options. funny thing is that im not in offline mode. sure, the wifi isnt connected to any AP, but nor is it fully turned of, and i have bluetooth turned on but not connected to anything either.

should it not read "offline mode"?

ah, never mind. its fixed in the latest update :)

Actually it's not fixed. It determines whether it's online by making a connection_status dbus call to wlancond. From what I can tell, this only returns whether there's a connection or not. So being in normal mode and not connected to an AP is indistinguishable from being in the offline mode. I don't believe there's a direct way of determining whether one is in offline mode (from dbus or gconf). Thanks for pointing out this problem.

Edit: Ok really fixed in latest update (v. 0.8-2). Now powerlaunch itself keeps track of the offline/normal state. It should be consistent now. The only difference is that when powerlaunch is initialized/reloaded, it forces it into normal mode regardless of the previous mode so that it knows what state it's in.

Benson 2008-04-04 15:05

Re: Powerlaunch 0.7 Broken
 
Quote:

Originally Posted by tso (Post 164944)
On the screen lock thing i cant really pinpoint anything except that i believe i have found my n800 with the screen on but buttons locked. A combo that should not be possible Iirc as the screen turns of when the lock is turned off.

On the charge while of part its mostly that one can open the power menu while the device is charging, with on way of getting it to go away again Iirc. And i think the animation do not animate properly.

The screen lock trouble happens when the screen and keys are locked, then some alert message comes up and turns the screen on (but still locked) to display; at least that's what I recall.

That charging bit is rectifiable by changing the config; but as the power-button hold to wake out of charging mode didn't always seem to work (and as I rarely have it shut off or play-dead charging), I haven't messed with it.

OSEmuTech 2008-04-04 21:14

Re: Powerlaunch 0.7 Broken
 
Quote:

Originally Posted by qwerty12 (Post 164863)
For me, dpkg --purge --force-all powerlaunch partly worked but I got error messages about files in the /etc folder so I would delete them or move them (if they were mce ones) and keep on purging.

Thanks qwerty12. This is what I get when I do that:

/home/user # dpkg --purge --force-all powerlaunch
dpkg - warning, overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 27583 files and directories currently installed.)
Removing powerlaunch ...
invoke-rc.d: not a symlink: "/etc/rc2.d/S21powered"
invoke-rc.d: dangling symlink: "/etc/rc2.d/S21powered"
dpkg: error processing powerlaunch (--purge):
subprocess pre-removal script returned error exit status 102
invoke-rc.d: not a symlink: "/etc/rc2.d/S21powered"
invoke-rc.d: dangling symlink: "/etc/rc2.d/S21powered"
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 102
Errors were encountered while processing:
powerlaunch
:mad:

austin 2008-04-04 21:53

Re: Powerlaunch 0.7 Broken
 
What is /etc/rc2.d/S21powered? Is it a symlink or not? The two error messages are contradictory. I'm not sure how it can be "not a symlink" and a "dangling symlink" at the same time. This seems similar to https://bugs.launchpad.net/ubuntu/+s...mba/+bug/48082 and the solution seems to be just "rm /etc/rc2.d/S21powered". I can't find any reason for why something like this happens in the first place.

OSEmuTech 2008-04-04 23:46

Re: Powerlaunch 0.7 Broken
 
Thanks to everyone who added to this thread! ;)

I used X-Terminal to launch emelFM2 as root (sudo gainroot) and deleted the S21powered file in /etc/rc2.d/, then ran dpkg --purge --force-all powerlaunch.

This reported another symlink error for a different file in /etc/rc2.d/, so I deleted that one and ran dpkg --purge --force-all powerlaunch.

This reported another symlink error for a different file, etc.

After deleting a number of files, I finally have powerlaunch unistalled! :):):):):)

OSEmuTech 2008-04-06 13:50

Re: Powerlaunch 0.7 Broken
 
Damn. But now I can't shut off my N800 by pressing the power button! :mad:

In desperation, I tried installing the latest powerlaunch 0.8.2 but it also didn't install correctly and is broken. :mad:

Anyone know what OS 2008 system software package is installable in Red Pill Mode that will restore the file in /etc/rc2.d/ that will allow me to shut my N800 off?

qwerty12 2008-04-06 15:23

Re: Powerlaunch 0.7 Broken
 
Hehe, you did the same thing as me.

Purge all off the powerlaunch again and remove all the powerlaunch files and wait a sec :)

(Meanwhile halt as root will power off the unit)

Ok, before I help, do you want powerlaunch or mce (the default power thing :p)

OSEmuTech 2008-04-06 15:27

Re: Powerlaunch 0.7 Broken
 
Thank you for your offer of assistance qwerty12. After wasting time trying to get it fixed, I grew impatient and flashed my N800. Right now I'm about to start reinstalling everything. There goes my day off.

qwerty12 2008-04-06 15:30

Re: Powerlaunch 0.7 Broken
 
Quote:

Originally Posted by OSEmuTech (Post 165803)
Thank you for your offer of assistance qwerty12. After wasting time trying to get it fixed, I grew impatient and flashed my N800. Right now I'm about to start reinstalling everything. There goes my day off.

:(, I know what you mean. I reflashed 1st time this happened to me. And I've just managed to reinstall everything now after reflashing a few days ago.


All times are GMT. The time now is 00:45.

vBulletin® Version 3.8.8