maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   suspend/hibernate functionality (https://talk.maemo.org/showthread.php?t=8444)

chyang 2007-08-03 21:18

suspend/hibernate functionality
 
I am originally a zaurus user, since owning n800 and 770, I found myself addicted in using the internet tablet, mainly for its superb lcd and opera. BuT i do like one feature that zaurus provides: suspend. PresS the power button, it will suspend the z, and recover very quickly with another press the button. For n800, the power button provides less useful features, i will always turn off it to save power, which then will take at least 30 seconds reboot. any simple solution to provide the suspend functionality? Thanks.

Karel Jansens 2007-08-03 21:35

Re: suspend/hibernate functionality
 
Quote:

Originally Posted by chyang (Post 65392)
I am originally a zaurus user, since owning n800 and 770, I found myself addicted in using the internet tablet, mainly for its superb lcd and opera. BuT i do like one feature that zaurus provides: suspend. PresS the power button, it will suspend the z, and recover very quickly with another press the button. For n800, the power button provides less useful features, i will always turn off it to save power, which then will take at least 30 seconds reboot. any simple solution to provide the suspend functionality? Thanks.

Go look at my post in the "Conserving battery" thread, in the "Nokia N800" subforum.

Ald 2007-08-03 22:22

Re: suspend/hibernate functionality
 
I was also a Zaurus user, and the functionality can be had here, too.

In a nutshell, I think the trick is to enable "Soft poweroff", by uncommenting the last sections of /etc/systemui/systemui.xml. To get functionality exactly like the Zaurus, edit /etc/mce/mce.ini and set the PowerKeyLongAction to softpoweroff. That way, holding down the "Power" key should do the same thing as holding the "Cancel" key did on the Zaurus.

Correct me if I'm wrong, I haven't done much editing of mce.ini, but one of the first things I do when I reflash the N800 is to edit systemui.xml to enable Soft Poweroff, and move that item to the top, so that I can put it to sleep by pressing Power, Enter.

iball 2007-08-03 22:24

Re: suspend/hibernate functionality
 
I still have my Zaurus even though it's been relegated to a network troubleshooting tool....

THe same type of suspend feature can be had on the IT, Ald is right on track.

chyang 2007-08-04 06:04

Re: suspend/hibernate functionality
 
Thanks all, it really helps!
I'm still a Zaurus user. I still have my Zauruses, SL-C3200, SL-5500. But recently both of them haven't been charged for quite long since I can use n800. Their integrated keyboard design is great! I'm often annoyed by the IT's unwanted appearing of the software keyboard in some circumstances.

joelong 2007-08-04 15:29

Re: suspend/hibernate functionality
 
Quote:

Originally Posted by Ald (Post 65410)
In a nutshell, I think the trick is to enable "Soft poweroff", by uncommenting the last sections of /etc/systemui/systemui.xml. To get functionality exactly like the Zaurus, edit /etc/mce/mce.ini and set the PowerKeyLongAction to softpoweroff. That way, holding down the "Power" key should do the same thing as holding the "Cancel" key did on the Zaurus.

Correct me if I'm wrong, I haven't done much editing of mce.ini, but one of the first things I do when I reflash the N800 is to edit systemui.xml to enable Soft Poweroff, and move that item to the top, so that I can put it to sleep by pressing Power, Enter.

How, exactly, do I uncomment the relevant section, once I get the file open?

Also, do I understand correctly that this new "sleep" state is power-conserving, yet quick start-up?

aflegg 2007-08-04 15:49

Re: suspend/hibernate functionality
 
Soft-poweroff doesn't /really/ save you much (if any) power over the built-in power management: which is why it's commented out by default.

It's mostly useful to give yourself some piece of mind, but is basically the same as the screen & key lock.

Karel Jansens 2007-08-04 16:06

Re: suspend/hibernate functionality
 
Quote:

Originally Posted by aflegg (Post 65536)
Soft-poweroff doesn't /really/ save you much (if any) power over the built-in power management: which is why it's commented out by default.

It's mostly useful to give yourself some piece of mind, but is basically the same as the screen & key lock.

It's not the powersaving that is important, rather than the fact that it can be invoked with longkeypress, thus giving user a one-key solution to putting the tablet to sleep and waking it up again.

aflegg 2007-08-04 16:11

Re: suspend/hibernate functionality
 
(What an awful typo: "piece of mind", I'd be turning in my editor grave if I wasn't now an IT consultant ;-))

Quote:

It's not the powersaving that is important, rather than the fact that it can be invoked with longkeypress, thus giving user a one-key solution to putting the tablet to sleep and waking it up again.
Agreed - that's why I've got it mapped to short keypress, although there's no reason lock keys & screen couldn't similarly be locked.

Now, when we've got more flexible power management (see recent thread on maemo-developers) and GeoClue, I'll be able to get my tablet to mute all sounds and go dark when I press the key at home, or go offline, go dark and keep alarms enabled when in a hotel.

Theoretically.

Karel Jansens 2007-08-04 17:41

Re: suspend/hibernate functionality
 
Quote:

Originally Posted by aflegg (Post 65547)
(What an awful typo: "piece of mind", I'd be turning in my editor grave if I wasn't now an IT consultant ;-))



Agreed - that's why I've got it mapped to short keypress, although there's no reason lock keys & screen couldn't similarly be locked.

Now, when we've got more flexible power management (see recent thread on maemo-developers) and GeoClue, I'll be able to get my tablet to mute all sounds and go dark when I press the key at home, or go offline, go dark and keep alarms enabled when in a hotel.

Theoretically.

Ahh. How about it dimming the lights, close the curtains, go online and connect to that "special" site when you're in the bedroom?[*]

There's so many useful things waiting to be done with GeoClue...
____
[*] And checking the supply of tissues and lotions, obviously...


All times are GMT. The time now is 23:41.

vBulletin® Version 3.8.8