Re: [gentoo-user] Power Drain during Suspend to Disk

2008-02-17 Thread Thomas Kahle

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

i just wanted to finish this as I found a solution and want it get
archived in the list archive.

If you experience power drain during hibernation check
cat /sys/power/disk
On my machine it was set to platform, wich means the bios takes care
of everything. After installing a new harddrive into my machine this did
not work anymore and there was a small but noticable power drain during
hibernation.
Setting it to shutdown (echo shutdown  /sys/power/disk ) solved the
problem for me.
Check
$LINUX_KERNEL/Documentation/power/
for details

Thomas

Iain Buchanan wrote:
| On Fri, 2008-02-08 at 08:22 +0100, Thomas Kahle wrote:
|
| What happens if you suspend to disk, then take the battery out for a few
| minutes or more - can you resume?  (put it back in of course)
| Yes it does come back. I have to see if there it is eating battery after
| putting it back in. Probably not, I think just something is not turned
| of when going to sleep...
|
| well, AFAIK suspend and poweroff both actually power off the same way,
| so I don't understand why this only happens when you suspend.  The only
| difference I can see is that in one case you unload modules and call
| init stop scripts.  Perhaps unload the network module or stop a few
| scripts before suspending and see what happends.
|
| So, what can drain power while turned off?  There's WOL, WOM, and ? Did
| you check that these wake up features are turned off in the BIOS?
|
| HTH,

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHuF5ErpEWPKIUt7MRAkJeAJ9PxTnpWkFFxi6mneXOE5Jc0VyqvACeME8o
8jIIN4KfHbvAhqFvO0y336k=
=hfvZ
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Power Drain during Suspend to Disk

2008-02-09 Thread Iain Buchanan

On Fri, 2008-02-08 at 08:22 +0100, Thomas Kahle wrote:

  What happens if you suspend to disk, then take the battery out for a few
  minutes or more - can you resume?  (put it back in of course)
 Yes it does come back. I have to see if there it is eating battery after
 putting it back in. Probably not, I think just something is not turned
 of when going to sleep...

well, AFAIK suspend and poweroff both actually power off the same way,
so I don't understand why this only happens when you suspend.  The only
difference I can see is that in one case you unload modules and call
init stop scripts.  Perhaps unload the network module or stop a few
scripts before suspending and see what happends.

So, what can drain power while turned off?  There's WOL, WOM, and ? Did
you check that these wake up features are turned off in the BIOS?

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

What causes the mysterious death of everyone?

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Power Drain during Suspend to Disk

2008-02-07 Thread Thomas Kahle
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all
for some time now, maybe since I updated to Kernel 2.6.23, I experience
power drain during suspend to disk (yes, you read correctly DISK).
I'm using an IBM Thinkpad X30 and the problem is recent. I assume that
its some kernel option keeping the ethernet alive for wake on lan, or
something like that.
Has anyone experienced this, and/or knows kernel options that can be
responsible for that ?

thanks
Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHq11UrpEWPKIUt7MRAvB8AKC1/hUoFopd911rPRcYk4NhUOFwqACgreOD
QKSvo/RWbWfOd3M4X2ZyY60=
=x11K
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Power Drain during Suspend to Disk

2008-02-07 Thread Iain Buchanan

On Thu, 2008-02-07 at 20:34 +0100, Thomas Kahle wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi all
 for some time now, maybe since I updated to Kernel 2.6.23, I experience
 power drain during suspend to disk (yes, you read correctly DISK).
 I'm using an IBM Thinkpad X30 and the problem is recent. I assume that
 its some kernel option keeping the ethernet alive for wake on lan, or
 something like that.
 Has anyone experienced this, and/or knows kernel options that can be
 responsible for that ?

A laptop I assume?!

Are you sure you don't have the same drain when powering off?  in my
experience, WOL is always a bios setting - did you look there?

What happens if you suspend to disk, then take the battery out for a few
minutes or more - can you resume?  (put it back in of course)

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Consensus Terrorism:
The process that decides in-office attitudes and behavior.
-- Douglas Coupland, Generation X: Tales for an Accelerated
   Culture

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Power Drain during Suspend to Disk

2008-02-07 Thread Thomas Kahle
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Hi all
 for some time now, maybe since I updated to Kernel 2.6.23, I experience
 power drain during suspend to disk (yes, you read correctly DISK).
 I'm using an IBM Thinkpad X30 and the problem is recent. I assume that
 its some kernel option keeping the ethernet alive for wake on lan, or
 something like that.
 Has anyone experienced this, and/or knows kernel options that can be
 responsible for that ?
 
 A laptop I assume?!

Yes, right.

 Are you sure you don't have the same drain when powering off?  in my
 experience, WOL is always a bios setting - did you look there?
Yes I'm sure, I disconnect the power after everything shut down
properly. And, it is time dependent. 1 or 2 Percent per hour.

 What happens if you suspend to disk, then take the battery out for a few
 minutes or more - can you resume?  (put it back in of course)
Yes it does come back. I have to see if there it is eating battery after
putting it back in. Probably not, I think just something is not turned
of when going to sleep...

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHrAMnrpEWPKIUt7MRAuBVAJ9JH2s2ahduJ3bJANPzeATRjF4mJwCePyKq
kuLZOHQDw7j8ofaIJnxCclU=
=t95F
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list