Bug 9798
Summary: | Fan resume not working on nx6325 without userland assistance | ||
---|---|---|---|
Product: | ACPI | Reporter: | Rafael J. Wysocki (rjw) |
Component: | Power-Fan | Assignee: | Alexey Starikovskiy (astarikovskiy) |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | acpi-bugzilla, astarikovskiy, rui.zhang |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | commit 93ad7c07ad487b036add8760dabcc35666a550ef | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 9243 | ||
Attachments: |
Don't check the set state
Don't check the set state #2 Patch that appears to fix the issue |
Description
Rafael J. Wysocki
2008-01-22 13:17:36 UTC
Caused by: commit 93ad7c07ad487b036add8760dabcc35666a550ef Author: Alexey Starikovskiy <astarikovskiy@suse.de> Date: Mon Oct 22 14:19:21 2007 +0400 ACPI: Fan: Drop force_power_state acpi_device option Created attachment 14536 [details]
Don't check the set state
Rafael,
Could you please check which part of the commit creates a problem?
Does this patch change anything?
The problem still exists with this patch (ie. the fan behaves like without it after a resume), while reverting commit 93ad7c07ad487b036add8760dabcc35666a550ef makes it go away. Hmm, why don't we do what the user land is doing on resume (ie. switch the fan on/off unconditionally)? It was so some time ago, then the interaction with thermal was found, so we decided to force write of the current state. I was thinking that after I removed caching of the state from power resource it is safe to drop this workaround, but it seems I'm wrong. Created attachment 14537 [details]
Don't check the set state #2
Please check this patch
This one apparently helps. Good. Don't like to put force flag back... (In reply to comment #8) > Good. Don't like to put force flag back... Agreed. Please push the patch to Len ASAP. Sorry, I was too quick to say that. It seemed to help right after the resume, but after a subsequent kernel compilation the fan is staying at 75% of full speed and the /proc/acpi/fan/*/state files are obviously lying. Well ... Created attachment 14538 [details]
Patch that appears to fix the issue
This patch is doing better than the previous ones as the post resume thermal management apparently works with it.
Comment on attachment 14538 [details]
Patch that appears to fix the issue
No. With this patch, thermal management after resume from hibernation is busted.
It seems the only thing that really help in all situations is to revert commit 93ad7c07ad487b036add8760dabcc35666a550ef, unfortunately. 93ad7c07ad487b036add8760dabcc35666a550ef has been reverted from the acpi release tree. the revert mentioned in comment #14 shipped in linux-2.6.24-rc8-git8 |