linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.10-mm2: swsusp problem with resuming on batteries (AMD64)
Date: Wed, 12 Jan 2005 21:45:50 +0100	[thread overview]
Message-ID: <20050112204550.GD1408@elf.ucw.cz> (raw)
In-Reply-To: <200501121824.05848.rjw@sisk.pl>

Hi!

> > > > Forcing machine to 800MHz before suspend may do the trick, too.
> > > 
> > > How can I do this?
> > 
> > echo "0%44%44%powersave" > /proc/cpufreq if you have that interface
> > enabled. Or simply turn off CONFIG_CPUFREQ in config.
> 
> I turned off CONFIG_CPUFREQ and it helped.  Still, cpufreq is a neat feature 
> and I'd like to keep it in the kernel. :-)

Yes, uh, what you have to do is add suspend/resume routines to
cpufreq. Always force it to lowest frequency in
device_suspend()... and force it to rescan AC/battery status before
going to higher frequency.
								Pavel
-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!

      reply	other threads:[~2005-01-12 20:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-11 21:20 2.6.10-mm2: swsusp problem with resuming on batteries (AMD64) Rafael J. Wysocki
2005-01-11 21:26 ` Pavel Machek
2005-01-11 22:14   ` Barry K. Nathan
2005-01-11 23:34     ` Rafael J. Wysocki
2005-01-11 21:27 ` Pavel Machek
2005-01-11 21:33   ` Rafael J. Wysocki
2005-01-11 21:55     ` Pavel Machek
2005-01-12 17:24       ` Rafael J. Wysocki
2005-01-12 20:45         ` Pavel Machek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050112204550.GD1408@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).