[Mageia-dev] What the hell is wrong with MGA2s suspend/sleep/hibernate?

Colin Guthrie mageia at colin.guthr.ie
Tue Nov 20 17:34:04 CET 2012


'Twas brillig, and Johnny A. Solbu at 20/11/12 16:25 did gyre and gimble:
> On Tuesday 20. November 2012 17.00, Johnny A. Solbu wrote:
>> I'm not doing any more testing on this computer today, as this particular computer is a «production» system.
>> I'll see if I can reproduce it on one of the laptops here.
> 
> Ok, I tested on another desktop and a laptop, and the network is working after waking up.
> I've also discovered by trial and error that the issue I have is with «suspend to ram».
> 
> 
> So now the question becomes, how do I completely disable «suspend to ram/disk» on this one computer? (I.e. activating suspend/hibernation should fail.)
> It is a desktop and a file server, so it doesn't need hibernaton features.
> The only times I ever turn it off, is for power outages lasting more that 2 minutes, when my UPSes starts to complain. ;-)=

A lot of BIOSes allow you to tweak it and pick the suspend type
(sometimes you need to hit e.g. ctrl+f10 or whatever the magic command
is to enable the hidden features).

Failing that, perhaps something as simple as "sudo chmod a-w
/sys/power/state" would work (there are likely other nicer ways to do
it, just thinking with my "hacker" hat on).

Col


-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list