Hibernate after time in suspend

Questions about applications and software
Forum rules
Before you post please read how to get help

Hibernate after time in suspend

Postby hyperdrive on Wed Mar 18, 2009 1:45 pm

Hi everyone...not entirely sure if this is the right section, if not, please move the thread for me.

One thing that my laptop was able to do under Windows, that I have not been able to get Linux to reproduce is when the machine has been in suspend/standby for a period of time -- say 10 minutes -- it will switch automatically from suspend to hibernation to totally conserve power and battery... when the lid is then again opened, the machine resumes as normal.

I liked this feature, and was hoping it would work just the same in Linux but I am stuck... I installed kpowersave and noticed it had options for suspending after 5 minutes and hibernating after 10 minutes, and I thought that was the way to do it, but the hibernation never kicks in on its own because I suppose the power manager gets suspended with the machine when the lid is closed :lol:

I did find an answer for IBM Thinkpads,(tpctl) but alas my laptop is a Dell. Anyone find an answer for this? Please share!

I am using Mint 6 Felicia.
hyperdrive
Level 2
Level 2
 
Posts: 96
Joined: Thu Jan 15, 2009 4:10 pm

Linux Mint is funded by ads and donations.
 

Re: Hibernate after time in suspend

Postby Husse on Fri Mar 20, 2009 7:53 am

You have to tell us more facts.
The minimum is exactly which Mint you have - which version and which edition (main or any of the CEs)
We also need to know a bit about all your hardware.
Run " lspci " in a terminal and post here (To copy from a terminal right click)
Some wifi and possibly built in sound can be connected to USB even if they are internal - if you suspect you have one of these run " lsusb " in a terminal.
Also tell us if this is using mint4win or not, quite important
I was unaware of such an option ....
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Hibernate after time in suspend

Postby hyperdrive on Fri Mar 20, 2009 5:14 pm

Hi Husse... I'm sorry about the lack of info.. I didn't want to fill the post with stuff you may not have needed.
The information you have asked for is below.... This is NOT mint4win, this is Mint 6 Main Edition

Yes, auto-hibernation after a time in suspend has been a feature in Windows since XP... I find it incredibly valuable to save battery-life.

uname -a
2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux


lspci:
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 10)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:05.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:06.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS482 [Radeon Xpress 200]
05:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 01)
08:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
08:01.0 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
08:01.1 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 01)
hyperdrive
Level 2
Level 2
 
Posts: 96
Joined: Thu Jan 15, 2009 4:10 pm

Re: Hibernate after time in suspend

Postby hyperdrive on Fri Mar 20, 2009 7:52 pm

okay so now that I cleared up the stupid graphics driver suspend/resume thing... I am back to looking for answers to this question.... but please, Husse or anyone else... if you find an answer before I do... Please share it!
hyperdrive
Level 2
Level 2
 
Posts: 96
Joined: Thu Jan 15, 2009 4:10 pm

Re: Hibernate after time in suspend

Postby Husse on Sat Mar 21, 2009 12:30 pm

Well I can tell you this much - it's an ATI chipset - pretty obvious :) but that means less experience, fewer questions
I'll have to see if I can find something
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Hibernate after time in suspend

Postby hyperdrive on Sat Mar 21, 2009 10:23 pm

Haha... yes.

I appreciate anything you can find Husse... I am looking too, but other than that Thinkpad exclusive app listed above, my Google-fu has been failing me on this...
hyperdrive
Level 2
Level 2
 
Posts: 96
Joined: Thu Jan 15, 2009 4:10 pm

Re: Hibernate after time in suspend

Postby hyperdrive on Fri Mar 27, 2009 5:03 pm

Okay so after searching and searching and finding nothing helpful, and also seeing that no-one else has posted anything... I am beginning to wonder if it is even possible to do what I want in Linux.... I was about to try installing tpctl and trying it, even though it was made for Thinkpad models, but in the README it states that it can cause damage to machines on which it has not been tested :!: so that is obviously a deal breaker.

So where do we go from here? I would suggest, that anyone who can code, seriously look into replicating the "Suspend sedation" behavior from Windows into Linux (it is one of the few things that Windows does right for laptops). For those unfamiliar with Suspend sedation.... It causes the machine to auto-hibernate after it has been in suspend for a set period of time... thereby increasing battery life and further reducing heat/ enhancing cooling... a very useful laptop feature.

I'll continue searching, bu the info on this is as dry as a desert... :?
hyperdrive
Level 2
Level 2
 
Posts: 96
Joined: Thu Jan 15, 2009 4:10 pm

Re: Hibernate after time in suspend

Postby Husse on Sun Mar 29, 2009 9:46 am

I've added this as a suggestion for future versions of Mint, but I guess this is a kernel issue
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Hibernate after time in suspend

Postby hyperdrive on Sun Mar 29, 2009 10:07 am

Thanks Husse... I still haven't found anything on my end (no info at all!).... I simply can not believe that I am the only person alive who would like this for Linux..
hyperdrive
Level 2
Level 2
 
Posts: 96
Joined: Thu Jan 15, 2009 4:10 pm

Re: Hibernate after time in suspend

Postby rbanavara on Mon Mar 30, 2009 6:33 pm

I never thought linux could do hibernate / suspend without issues (for that matter even windows as well after few cycles of hibernating, windows starts crawlling). Also I normally use my machine always plugged in (not a mobile pc). Thats why I haven't thought of hibernate after suspending. But now I am able to hibernate my machine (there is a nice post for hibernating with nvidia drivers), probably I may also develop a need for this feature.
Don't fix it if it ain't broken, don't break it if you can't fix it -Husse
User avatar
rbanavara
Level 4
Level 4
 
Posts: 233
Joined: Mon Jun 02, 2008 9:07 am

Re: Hibernate after time in suspend

Postby hyperdrive on Tue Mar 31, 2009 12:36 pm

Yes it is a very useful feature for anyone with a laptop on battery. :)
hyperdrive
Level 2
Level 2
 
Posts: 96
Joined: Thu Jan 15, 2009 4:10 pm

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: ccyang and 26 guests