From owner-freebsd-mobile Tue Jan 6 16:23:36 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA11643 for mobile-outgoing; Tue, 6 Jan 1998 16:23:36 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mail.nomadix.com (mail.nomadix.com [205.147.49.199]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA11636 for ; Tue, 6 Jan 1998 16:23:27 -0800 (PST) (envelope-from gdicus@nomadix.com) Received: from gdicus.nomadix.com (nomad7.nomadix.com [205.147.49.207]) by mail.nomadix.com (8.8.3/8.7.2) with ESMTP id QAA11651 for ; Tue, 6 Jan 1998 16:20:54 -0800 (PST) Message-Id: <199801070020.QAA11651@mail.nomadix.com> From: "Glenn Lee Dicus" To: "Mobile FreeBSD" Subject: Re: APM tutorial Date: Tue, 6 Jan 1998 16:24:23 -0800 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1162 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Does anybody know of a good source for writing APM aware applications in > > FreeBSD? > > Define 'APM aware'? APM aware applications register with the APM Driver using an operating system dependent mechanism. This is not exactly what I meant. Sorry! 8o > All unix applications are by definition > 'suspendable' due to job control on unix, so suspending them should pose > no problems to the applications unless they need to provide some sort of > real time input. If they do, then you need to somehow get notified that > the system is being suspended (which FreeBSD currently doesn't do) and > very quickly let your subscribers know that something is happening. I want to write a process that will dynamically evoke power management events. All power management features not supported by the APM Driver (there will be some because the platform I am working is a superset of APM 1.2) will have to be controlled by this process as well. If this means I must enhance the current APM Driver for BSD then that is what I will do. Any information source on how to program for the APM Driver and APM BIOS interface will be appreciated. thanks glenn