From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Starikovskiy Subject: Re: Fan resume not working on nx6325 without userland assistance Date: Tue, 22 Jan 2008 20:40:56 +0300 Message-ID: <47962AA8.9010600@suse.de> References: <200801220241.43230.rjw@sisk.pl> <200801221814.05416.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from charybdis-ext.suse.de ([195.135.221.2]:40977 "EHLO emea5-mh.id5.novell.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751045AbYAVRlo (ORCPT ); Tue, 22 Jan 2008 12:41:44 -0500 In-Reply-To: <200801221814.05416.rjw@sisk.pl> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J. Wysocki" Cc: Len Brown , ACPI Devel Maling List Does revert of 93ad7c07ad487b036add8760dabcc35666a550ef helps? Rafael J. Wysocki wrote: > On Tuesday, 22 of January 2008, Rafael J. Wysocki wrote: >> Hi, >> >> It turns out that the following script (from openSUSE 10.3): >> >> ############################################################# >> # triggers the ACPI fan(s) after resume. Since ACPI drivers >> # have no suspend support, this is sometimes necessary. >> # see http://article.gmane.org/gmane.linux.acpi.devel/16643 >> kick-fan() >> { >> local FAN DUMMY STATE >> for FAN in /proc/acpi/fan/*/state; do >> [ ! -e $FAN ] && continue >> read DUMMY STATE < $FAN >> if [ "$STATE" = "on" ]; then >> echo "kicking $FAN" >> echo -n 3 > $FAN >> echo -n 0 > $FAN >> fi >> done >> } >> >> case $1 in >> thaw|resume) >> kick-fan >> ;; >> esac >> >> is necessary to make the fan behave appropriately after a resume from RAM >> (I haven't checked resume from hibernation, but I guess the same thing happens) >> on HP nx6325 with 2.6.24-rc8 (and with previous kernels probably too). >> >> It wasn't needed at one point, so something has regressed. Sigh. > > Ah, I didn't say that thermal management is completely busted after a resume > if the fan is not kicked from the user land (using the above script). Usually > the fan is 100% on (that corresponds to all ACPI "fans" being on), but once it > had gone off and I was unable to turn it on by any means (including rising the > temperature to a dangerous level). > > Greetings, > Rafael