From owner-freebsd-hackers Thu Jan 4 23:53: 8 2001 From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 4 23:53:06 2001 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (sentinel.office1.bg [195.24.48.182]) by hub.freebsd.org (Postfix) with SMTP id 454FC37B400 for ; Thu, 4 Jan 2001 23:53:04 -0800 (PST) Received: (qmail 10969 invoked by uid 1000); 5 Jan 2001 07:51:43 -0000 Date: Fri, 5 Jan 2001 09:51:42 +0200 From: Peter Pentchev To: Graham Wheeler Cc: Warner Losh , hackers@FreeBSD.ORG Subject: Re: Just how standard is APM? Message-ID: <20010105095142.A10329@ringworld.oblivion.bg> Mail-Followup-To: Graham Wheeler , Warner Losh , hackers@FreeBSD.ORG References: <3A545615.3597BCF3@cequrux.com> <200101042234.f04MYM147333@harmony.village.org> <3A556040.6B9163BB@cequrux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A556040.6B9163BB@cequrux.com>; from gram@cequrux.com on Fri, Jan 05, 2001 at 07:48:48AM +0200 Sender: roam@ringworld.nanolink.com Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jan 05, 2001 at 07:48:48AM +0200, Graham Wheeler wrote: > Warner Losh wrote: > > > > APM is standard. Except when it is broken in some brain damaged ways. > > > > However, you likely have your apm device disabled in your kernel and > > all you need to do is enable it. > > > > Nope - as I said, I added log messages to apm.c to log the BIOS probe > and they log a failure (I have "device apm0" in my config file). I think I've heard rumors of some BIOS's only supporting APM in real mode; and also rumors that this was the reason for Windows sometimes shutting down so slowly - it has to do a switch to real mode to make the APM poweroff calls. Feel free to correct me if I've heard wrong :) I *know* APM in 4.2-stable did not and does not work on my laptop (some kind of Asus). The ACPI from -current worked fine once when I tested it, but I had to go back to -stable for various reasons, and now I've already gotten used to turning it off by hand after the shutdown command. (Note: no bad feelings here, if it's the BIOS's fault, there's nothing the FreeBSD developers can do about it; and no, I would not want anyone to add mode switching code to FreeBSD solely for shutdown purposes :) G'luck, Peter -- Hey, out there - is it *you* reading me, or is it someone else? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message