maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   workaround for broken softpoweroff? (https://talk.maemo.org/showthread.php?t=13286)

iamthewalrus 2007-12-17 12:19

softpoweroff workaround
 
"Softpoweroff" (i.e. suspend) is still broken in os2008 (bug 2400). If I execute this this script as root on my n800 I seem to get 'suspend' with a screen lock however:

/usr/lib/hal/scripts/linux/hal-system-power-suspend-linux

If i press the (|) button again the device returns from 'suspend' but with the shutdown-options menu on the screen.

My questions:
- Is this a real suspend or does the screen just turn off and lock?
- Would it be possible to map the powerdown key to this script somehow?

Benson 2007-12-17 16:13

Re: workaround for broken softpoweroff?
 
Quote:

Originally Posted by iamthewalrus (Post 109592)
- Is this a real suspend or does the screen just turn off and lock?

IDK
Quote:

- Would it be possible to map the powerdown key to this script somehow?
Definitely. Powerlaunch is your friend. Though I don't know that it's ported to OS2008 yet, it should be possible...

I've finals this week, when I get through that I'm flashing OS2008, so I'll be able to fiddle with stuff like this. Of course, they may have this bug fixed in the release version, which may be out by then.

mplawner 2007-12-26 23:47

Re: workaround for broken softpoweroff?
 
This is cool. Seems to be a real suspend. If you don't power back on within a few seconds, it drops network as well.

I'm having the following two problems (already added, btw, this line to /etc/sudoers):

1) powerlaunch has unmet dependencies that appear to make it not yet working on 2008
2) It requires an additional "enter" after running this command, have you found that to be true? (in other words, if I just type the command, it waits... I need to hit enter before it does something)

mplawner 2007-12-27 00:07

Re: workaround for broken softpoweroff?
 
Sorry... only appears to work via ssh. Locally it just starts right back up... I WANT MY SOFTPOWEROFF BACK!

GeneralAntilles 2007-12-27 00:21

Re: workaround for broken softpoweroff?
 
Quote:

Originally Posted by mplawner (Post 115854)
I WANT MY SOFTPOWEROFF BACK!

Hopefully the next patch. :(


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

vBulletin® Version 3.8.8