From owner-freebsd-current Mon Sep 9 19:32:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 536FD37B400 for ; Mon, 9 Sep 2002 19:32:28 -0700 (PDT) Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8190C43E6A for ; Mon, 9 Sep 2002 19:32:27 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (iwa@tasogare.imasy.or.jp [202.227.24.5]) by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare/smtpfeed 1.14) with ESMTP/inet id g8A2WMY54506; Tue, 10 Sep 2002 11:32:22 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Tue, 10 Sep 2002 11:32:11 +0900 (JST) Message-Id: <20020910.113211.112630082.iwasaki@jp.FreeBSD.org> To: vince@oahu.WURLDLINK.NET Cc: marks@ripe.net, john@veidit.net, current@FreeBSD.ORG, acpi-jp@jp.freebsd.org Subject: ACPI support (was Re: apm support) From: Mitsuru IWASAKI In-Reply-To: <20020909152750.Q2914-100000@oahu.WURLDLINK.NET> References: <20020909092423.GA1962@laptop.6bone.nl> <20020909152750.Q2914-100000@oahu.WURLDLINK.NET> X-Mailer: Mew version 2.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [subject was changed] Hi, > WinXP, it was running under ACPI. However, with the GENERIC kernel, the > fan doesn't seem to go on. Is there a way to disable the system from > suspending when the lid is closed? or would adding device apm to the > kernel and then enabling apmd and apm in rc.conf cause it to read the > settings in the BIOS which I used the ThinkPad PS2 utility to configure > instead? When I attempt to do a make buildworld, after about 5 minutes it > would display the following message and then the system shuts off by > itself shortly thereafter. > > Sep 9 11:01:32 exabyte kernel: acpi_tz0: WARNING - current temperature > (97.8C) exceeds system limits It seems that your sysctl has wrong configuration and your kernel maybe too old. to disable sleep state transition by lid switch: hw.acpi.lid_switch_state=NONE APM BIOS is completely disabled when acpi(4) is enabled. The acpi(4) just emulates limited functions of APM by using acpi functions. Cooling system control code had serious bugs, fixed at 8/27. hw.acpi.thermal.tz0.active=-1 should be OK if you want auto-thermal management. To force thermal zones activated: hw.acpi.thermal.tz0.active=0 hw.acpi.thermal.tz1.active=0 [snip] hw.acpi.thermal.tz5.active=0 hw.acpi.thermal.tz6.active=0 Note that hw.acpi.thermal.tz0.active=1 is worng because it is not bool value, and > hw.acpi.thermal.tz0._ACx: 3632 -1 -1 -1 -1 -1 -1 -1 -1 -1 there is no _AC1. There is only _AC0, so 0 must be specified to hw.acpi.thermal.tz0.active to force tz0 activated. ACPI for FreeBSD is still under development, the best way to obtain the most accurate info. is check /sys/dev/acpica/*.[ch] files for now :-) Documents at http://acpi.info/spec.htm would be helpful too. Of course, volunteers for development and documentation always are welcome. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message