[ltp] Possible solution to ACPI power drain with 2.6.10

obi linux-thinkpad@linux-thinkpad.org
Tue, 18 Jan 2005 23:24:35 +0100


On Tue, Jan 18, 2005 at 02:24:26PM +0100, Michele Lamarca wrote:
> On Tue, 18 Jan 2005 13:40:26 +0100, Tino Keitel <tino.keitel@gmx.de> wrote:
> > On Tue, Jan 18, 2005 at 07:15:09 +0100, Bob Alexander wrote:
> > > Tino Keitel wrote:
> > > >On Sun, Jan 16, 2005 at 23:02:47 +0100, Michele Lamarca wrote:
> > > >
> > > >>Hello everyone,
> > > >>there's a possible solution from Jürg Billeter, on
> > > >>http://bugzilla.kernel.org/show_bug.cgi?id=3022.
> > > >>
> > > >>He suggests to remove the CONFIG_PPC_PMAC condition in
> > > >>drivers/video/aty/radeon_pm.c. Doing so, he reduces the power drain
> > > >>of his T40p.
> > > >>
> > > >>This works for me. On my T40 (radeon 7500) power drain went from 2.7
> > > >>W to 0 .8 W
> > > >
> > > 
> > > Unfortunately my T40 with Radeon 9000 (M9) keeps on draining around 5W
> > > per hour in ACPI sleep :(
> > >
> > > I just ekiminated the #define of the CONFIG_PPC_PMAC in the source ...
> > > was that enough ?
> > 
> > If I understand it right, you don't need to eliminate the #define, but
> > allways enable the #define, even on non-PPC-PMAC systems, since the
> > desired actions will only be taken if CONFIG_PPC_PMAC is defined.
> > 
> Right, but there'a little bit more. Attached is the patch I put on
> bugzilla. It seems working for some lucky ThinkPads, but some others
> can't resume.

Wow! It looks like is working on my T41! I left it suspended for few
hours, and just resumed it: only 5% of battery gone and it's not warm!
So the culprit seems indeed to be the graphic card: I do have a M9.

cheers,
graziano

> I'm using 2.6.10-mm3 and without another patch
> (http://lkml.org/lkml/2005/1/11/120) alsa oopses on resume.
> 
> Regards,
> Michele