[ltp] T41p suspend to RAM on 2.6.11.3

Daniel Stodden linux-thinkpad@linux-thinkpad.org
Thu, 17 Mar 2005 10:13:25 +0100


On Thu, 2005-03-17 at 08:33 +0100, Bob Alexander wrote:
> Daniel Stodden wrote:
> > On Wed, 2005-03-16 at 14:53 -0500, Brad Langhorst wrote:
> > 
> >>On Wed, 2005-03-16 at 16:05 +0100, Daniel Stodden wrote:
> >>
> >>>hi *.
> >>>
> >>>on a T41p, moving from 2.6.9 to 2.6.11.3, ACPI S3 ceased to resume.
> >>>
> >>>the screen lights up, but the system hangs after the first line. which
> >>>gives a yellow "inu" (as opposed to "linux"), but that used to be the
> >>>case and okay with 2.6.9.
> >>>
> >>>anyone with similar issues? solved?
> >>
> >>that happens if you leave the usb modules in during the suspend...
> > 
> > 
> > yep, thanks for the hint. i figured that out myself, a few tries after i
> > posted the original message. 
> > 
> > the fun part is that once that is corrected, the sporadic keyboard hang
> > issue quite a few people experienced on various distributions disappears
> > as well.
> > 
> > this finally turns my t41p from an almost-perfect linux notebook into
> > the definitely perfect one. 
> > 
> > i think i'll just go and have another beer.
> > 
> > cheers and good night,
> > daniel
> > 
> > 
> > 
> 
> Daniel,
> did you measure your power cosumption while sleeping ?
> 
> (you know: at least 15 mins of sleep and compare 
> /proc/acpi/battery/BAT0/state)

not yet. up until now, i considered the battery durance as
"subjectively sufficient", meaning it did not yet abandon me when i
decided it was time to wake up :)

i've just written a small script to measure sleep power consumption on
each suspend to ram. results below, though i did not take the full 15
minutes.

Mar 17 09:59:42 localhost acpi: enter: 1111049982 s, 40340 mWh
Mar 17 10:07:38 localhost acpi: leave: 1111050458 s, 40270 mWh
Mar 17 10:07:38 localhost acpi: power consumption: 70 mWh / 476 s = 529
mWh/h

that already seems to roughly match the approximate 600mWh targeted by
the patches theo ts'o sent around yesterday.

> Are you using an unpatched 2.6.11.3 kernel ?

currently based on vanilla 2.6.11.3 + swsusp2 + a small number of
patches totally unrelated to power management. non-stock modules, e.g.
recent ibm-acpi, not counted as patches.

which would you suggest? the patches theo ts'o sent yesterday?

regards,
daniel