[ltp] [ACPI] T40 2373-8CG with this setup is not affected by the power drain[/ACPI]

Bob Alexander linux-thinkpad@linux-thinkpad.org
Tue, 01 Feb 2005 15:26:48 +0100


Tomek Jarzynka wrote:
> I only get 1500mW :(
> 

yuk yuk yuk .... I get 378mW/h now :)

I am really satisfied with the stability though and am sorry to hear 
Tom's problem.

The only lockups I had in several days is a really strange one ... I 
found my TP frozen with the same screensaver. Cannot remember the name 
but that whicc draws something like an animated wireframed hypercube (or 
hypersolid).

The strange thing is that happened once also with the vanilla Debian 
kernel ...

HTH,
Bob

PS Tom, did you also apply the patch TO swsusp2-2.1.5.15
bob@t40:~/Down/linux/2-6-11-rc2 + acpi 010 + swsusp 2.1.5.15 + radeonfb$ 
cat pat ch_swsusp2_2.1.5.15-2005-01-24
--- 
linux-2.6.11-rc2-2.1.5.14/kernel/power/suspend2_core/driver_model.c.orig 
   2 005-01-24 01:20:06.000000000 +0800
+++ linux-2.6.11-rc2-2.1.5.14/kernel/power/suspend2_core/driver_model.c 
2005-01- 24 11:27:17.000000000 +0800
@@ -51,7 +51,7 @@
         suspend_acpi_state_used = state;

         local_irq_save(flags);
-       device_power_down(state);
+       device_power_down(PMSG_SUSPEND);
         if (pm_ops && pm_ops->enter)
                 ret = pm_ops->enter(state);
         else
@@ -124,7 +124,7 @@
                         prepare_status(1, 0, "Preparing to enter ACPI 
state fail ed. Using normal powerdown.");
                         goto abort_ACPI_sleep;
                 }
-               if (device_suspend(PM_SUSPEND_MEM)) {
+               if (device_suspend(PMSG_SUSPEND)) {
                         prepare_status(1, 0, "Suspending devices 
failed. Using n ormal powerdown.");
                         suspend_power_down_finish();
                         goto abort_ACPI_sleep;
@@ -180,7 +180,7 @@
  int suspend_drivers_suspend(int stage)
  {
         int result = 0;
-       const int state = PM_SUSPEND_DISK;
+       const int state = PMSG_FREEZE;

         switch (stage) {
                 case SUSPEND_DRIVERS_IRQS_DISABLED: