Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756119Ab3D0KXu (ORCPT ); Sat, 27 Apr 2013 06:23:50 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:58188 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755792Ab3D0KXs (ORCPT ); Sat, 27 Apr 2013 06:23:48 -0400 Date: Sat, 27 Apr 2013 12:23:47 +0200 From: Pavel Machek To: Zhang Rui Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-acpi@vger.kernel.org, rjw@sisk.pl, lenb@kernel.org, eduardo.valentin@ti.com Subject: Re: [PATCH] ACPI thermal: do not always return THERMAL_TREND_RAISING for active trip points Message-ID: <20130427102346.GA30588@amd.pavel.ucw.cz> References: <1366967993-3812-1-git-send-email-rui.zhang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1366967993-3812-1-git-send-email-rui.zhang@intel.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1191 Lines: 33 Hi! > Commit 4ae46befb49d4173122e0afa995c4e93d01948a2 > introduces a regression that the fan is always on > even if the system is in idle state. > > My original idea in that commit is that: > when the current temperature is above the trip point, > keep the fan on, even if the temperature is dropping. > when the current temperature is below the trip point, > turn on the fan when the temperature is raising, > turn off the fan when the temperature is dropping. Is that even right algoritm? Assume I'm running at very cold room, lets say -10C. Assume idle CPU will hover around 30C with no fan, or hover around 10C with fan running, trip point being 50C. You _could_ leave fan off until 50C, having silent, passively cooled system. What it will do instead is annoyingly pulse fan at 10C. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/