[ltp] Possible solution to ACPI power drain with 2.6.10

Bob Alexander linux-thinkpad@linux-thinkpad.org
Thu, 20 Jan 2005 15:57:14 +0100


> Is this the result we want ?
> 
> #include "radeonfb.h"
> 
> #include <linux/console.h>
> #include <linux/agp_backend.h>
> 
> /*
>  * Currently, only PowerMac do D2 state
>  *  Let's try on a ThinkPad!
>  */
> 
> #define CONFIG_RADEON_HAS_D2
> 
> #ifdef CONFIG_RADEON_HAS_D2
> static inline int radeon_suspend_to_d2(struct radeonfb_info *rinfo, u32 
> state)
> {
>         return rinfo->is_mobility;
> }
> 
> #endif /* CONFIG_RADEON_HAS_D2 */
> 
> (rest of the file is not changed).
> 
> TIA e buongiorno anche a te (Roma),
> Bob
> 

With this I still have a 4786 mW/h drain :( :(

Bob