From owner-freebsd-questions@FreeBSD.ORG Sat Sep 16 14:12:41 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79D1E16A407 for ; Sat, 16 Sep 2006 14:12:41 +0000 (UTC) (envelope-from daeg@houston.rr.com) Received: from ms-smtp-05.texas.rr.com (ms-smtp-05.texas.rr.com [24.93.47.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3C2943D49 for ; Sat, 16 Sep 2006 14:12:40 +0000 (GMT) (envelope-from daeg@houston.rr.com) Received: from cpe-24-167-74-69.houston.res.rr.com (cpe-24-167-74-69.houston.res.rr.com [24.167.74.69]) by ms-smtp-05.texas.rr.com (8.13.6/8.13.6) with ESMTP id k8GECdXd025063 for ; Sat, 16 Sep 2006 09:12:40 -0500 (CDT) From: David J Brooks Organization: KC5WNK To: freebsd-questions@freebsd.org Date: Sat, 16 Sep 2006 09:12:47 -0500 User-Agent: KMail/1.9.3 References: <200609152305.37375.daeg@houston.rr.com> In-Reply-To: X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(=?utf-8?q?gxJxxc=0A=09R=09nSNPNr*/=5E=7EStawWU9KDJ-CT0k=24f=23?=@t2^K&BS_f|?ZV/.7Q MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609160912.48234.daeg@houston.rr.com> X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: The fan is always on, even when the desktop is rather cool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 14:12:41 -0000 On Saturday 16 September 2006 03:05, Wei Hu wrote: > Thanks David, I checked this page. now if I do: > $ sysctl hw.acpi > hw.acpi.supported_sleep_state: S1 S3 S4 S5 > hw.acpi.power_button_state: S5 > hw.acpi.sleep_button_state: S1 > hw.acpi.lid_switch_state: NONE > hw.acpi.standby_state: S1 > hw.acpi.suspend_state: S3 > hw.acpi.sleep_delay: 1 > hw.acpi.s4bios: 0 > hw.acpi.verbose: 0 > hw.acpi.reset_video: 1 > hw.acpi.cpu.cx_supported: C1/0 > hw.acpi.cpu.cx_lowest: C1 > hw.acpi.cpu.cx_usage: 100.00% > > and if i do > #sudo acpiconf -s 5 OR #sudo acpiconf -s 1 > nothing happens. > > Can I reinstall acpi, if yes, how can i do it? thanks. > > On 9/16/06, David J Brooks wrote: > > On Friday 15 September 2006 18:10, Wei Hu wrote: > > > I have 3 systems in my desktop: > > > 1) When FreeBSD runs, my desktop fans are always running, and this > > > make annoy noisy. > > > 2) However when Debian runs, the fan eventually stops unless I am > > > performing a load intensive task. > > > 3) In Windows, the fan is almost always off. > > > I tried to use acpi and apm, but they are for laptop.(?) > > > In Freebsd, how can I control the cooling fans or how can the system > > > turns the fans off when the load is not heavy. > > > Any help would be greatly appreciated. > > > > It sounds like a broken ACPI code to me. Check the handbook chapter on > > debugging ACPI: > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html Its been a while since I messed with it, and I finally got my fan problem solved by replacing the computer with one that had a working ACPI bytecode. What The problem is that the ACPI code for your machine was probably compiled with the Microsoft compiler, which gives a clean compile on errors that would be caught by the Intel compiler. You can dump this bytecode to source and try to recompile it with the Intel compiler. That will likely show you what's broken. If you're lucky you may be able to recode to fix the errors and then load your new bytecode rather than the broken one that shipped with your machine. The best place to persue this question further is the freebsd-acpi mail-list. If Nate Lawson can't help you out, you're probably stuck with a noisy machine. At least you can be confident that it won't overheat. :) David -- Sure the Almighty created the world in only six days, but He didn't have an established user-base.