Mailinglist Archive: opensuse-bugs (8107 mails)

< Previous Next >
[Bug 239101] Fans do not (re)start on hp compaq nx6325 laptop
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 13 Feb 2007 01:53:34 -0700 (MST)
  • Message-id: <20070213085334.89E61FC5@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=239101





------- Comment #15 from trenn@xxxxxxxxxx 2007-02-13 01:53 MST -------
These two patches could help a bit(also on Rafaels list):

patches.fixes/acpi-power-resources-resume-fix-2.patch
http://bugzilla.kernel.org/show_bug.cgi?id=7122#c52

patches.fixes/acpi_fan-problem-fix.patch
http://bugzilla.kernel.org/show_bug.cgi?id=7570#c8

But I could easily get the fans out of sync and misbehave by (un-)reloading
thermal and/or fan module. So this is not fixed up correctly in IMO and
therefore I did not add them yet, but try to find a cleaner solution (if
possible, the fans controlled via thermal over power resources seem to be
somehow tricky).
This is also what I believe why fans may break after suspend. If
fan/power/thermal subsystem would initialise correctly (on module load or
resume time), this patch (which is much too risky for backporting):
move_GPEs_disabling_to_sleep_prepare.patch
Would not be needed.

I hope to get an nx6xxx series model again today and try some more.

> Should these device identifiers in some way be related (or identical) to the
> /proc/acpi/fan/* directories?

Yes they should. For each active trip point exeeded, one fan must switch into
the active state. Best you use:
watch -n1 cat /proc/acpi/thermal_zone/*/{temperature,trip_points}
/proc/acpi/fan/state
(monitoring the first thermal_zone should be enough as it should have the only
active trip points AFAIK). Then (in-)decrease CPU load on another console (e.g.
by cat /dev/zero >/dev/null &) and you should see the fans going on and off.

> However, there seen to be some considerable delay involved

Check: cat /proc/acpi/thermal_zone/*/polling_frequency
This is a value in seconds how often the kernel should check and adjust
thermal/power devices. If set on zero (default) they are only checked when a
thermal event happens, that might be what you see.
The powersaved if started normally sets this to a value of "2", which is a bit
too low, I'd go for 10 secs or so. You can manually echo the values in there,
if you load modules and set up things manually. The powersaved config variable
is here: /etc/sysconfig/powersave/thermal


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >