Bug 4364
Summary: | S1 suspend/resume resets thermal limits -- TP 600X | ||
---|---|---|---|
Product: | ACPI | Reporter: | Sanjoy Mahajan (sanjoy) |
Component: | Power-Thermal | Assignee: | Konstantin Karasyov (konstantin.karasyov) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | acpi-bugzilla |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.11.4 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
output of acpidmp
output of lspci -vv output of dmesg (before entering S1) 2.6.11.4 kernel config Thermal suspen/resume |
Description
Sanjoy Mahajan
2005-03-17 23:05:01 UTC
Created attachment 4747 [details]
output of acpidmp
Created attachment 4748 [details]
output of lspci -vv
Created attachment 4749 [details]
output of dmesg (before entering S1)
Created attachment 4750 [details]
2.6.11.4 kernel config
I forgot to add that I'll happily test patches or config permutations. each bugzilla should ideally focus on a single issue. I dont' think we can help the screen issue. I'm going to focus this issue on the thermal tip-points loss of state and assign this to konstantin. It is likely that supsend/resume needs to be added to the thermal.c driver. > It is likely that supsend/resume needs to be added to the thermal.c driver. And maybe also to fan.c. A related problem (fan always on after swsusp) is at Bug #5000, with this additional comment: > Well, that fan.c lacks suspend/resume support. Hint hint :-). > Put fan at full speed in _suspend() hook, and make hardware put the > fan back to sane state during _resume() hook. I don't (yet?) know how to do that, but someone else might know already before I figure it out! Created attachment 8052 [details] Thermal suspen/resume Here is suspend/resume implementation for ACPI thermal. In order to make it work, a patch available from here: http://bugzilla.kernel.org/attachment.cgi?id=8048&action=view should be implemented first. Sanjoy, You should note that IIRC, the DSDT on your system implements 'Notify (\_TZ.THRM, 0x81)' or similar action in _WAK method, i.e. the trip points are being re-read on system resume. So, this could be the reason of thermal limits reset. You could save trip poins on suspend and set them on resume, though I think it's not quite correct to override BIOS implementation in OS, so I didn't implemented it in the above patch. applied patch in comment #8 to acpi-test tree. patch in comment #8 shipped in linux-2.6.18 closed. |