From owner-freebsd-current@FreeBSD.ORG Tue Jan 6 22:58:09 2004 Return-Path: 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 BFEF516A4CE for ; Tue, 6 Jan 2004 22:58:09 -0800 (PST) Received: from hotmail.com (bay1-f170.bay1.hotmail.com [65.54.245.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D81243D41 for ; Tue, 6 Jan 2004 22:58:08 -0800 (PST) (envelope-from rob_macgregor@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 6 Jan 2004 22:58:08 -0800 Received: from 82.33.62.105 by by1fd.bay1.hotmail.msn.com with HTTP; Wed, 07 Jan 2004 06:58:08 GMT X-Originating-IP: [82.33.62.105] X-Originating-Email: [rob_macgregor@hotmail.com] X-Sender: rob_macgregor@hotmail.com From: "Rob MacGregor" To: current@freebsd.org Date: Wed, 07 Jan 2004 06:58:08 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 07 Jan 2004 06:58:08.0409 (UTC) FILETIME=[9B47E890:01C3D4EB] Subject: Re: FreeBSD 5.2-CURRENT on HP Omnibook 6000 - ACPI problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 06:58:09 -0000 >From: Nate Lawson > >When ACPI is running, the BIOS no longer runs things like the eject >button. Since we haven't implemented eject support yet, it does nothing >if ACPI is running. Either wait for eject support, which will be a while, >or disable acpi. I can wait - the benefits of ACPI more than make up for such a minor problem. >sysctl hw.acpi.lid_switch_state=NONE Ah, ta. > > thermal: Because sometimes a wild temperature is reported, causing a > > poweroff. Certainly I doubt the values reported (over 200 C) when this > > occurs > >I don't see how this is possible since the code to do this is commented >out. Is there any console message printed before it powers off? It may >be the BIOS that does this if it's just a power off (no nice shutdown). Well, it's been a while since I last saw this happen - I've had it disabled for some time now (since ACPI started working on the laptop in fact). There was the standard ACPI message printed, with a message about thermal, just before the poweroff so I'm confident it's not the BIOS. Re-enabling thermal support didn't cause a poweroff last thing yesterday in the hour or so before I left work. Before it rarely ran for more than 15 minutes before a spurious reading caused a poweroff. >Since the above code is commented out, you can just use /etc/devd.conf to >look for Thermal events of type 0x80 and then call a script that evaluates >sysctl hw.acpi.tz0.temperature and then call halt -p if it exceeds some >value. We pipe many ACPI events to usermode through devd(8). I'll have a look at that - thanks. Out of curiosity, what's the number reported there actually mean? Yesterday my laptop was reporting numbers of around 3350 there, so I'm guessing it's not a literal value in any scale I'm familiar with. -- Rob | What part of "no" was it you didn't understand? _________________________________________________________________ Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo