Re: 2.6.10-mm2: swsusp problem with resuming on batteries (AMD64)

From: Pavel Machek
Date: Wed Jan 12 2005 - 15:59:09 EST


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!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/