From owner-freebsd-mobile Thu Mar 5 16:41:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA18643 for freebsd-mobile-outgoing; Thu, 5 Mar 1998 16:41:08 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA18626 for ; Thu, 5 Mar 1998 16:41:06 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0yAlBu-00031u-00; Thu, 5 Mar 1998 17:40:46 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.8/8.8.3) with ESMTP id RAA01160 for ; Thu, 5 Mar 1998 17:40:19 -0700 (MST) Message-Id: <199803060040.RAA01160@harmony.village.org> To: mobile@FreeBSD.ORG Subject: APM 1.2 support Date: Thu, 05 Mar 1998 17:40:19 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org OK. I have finally printed the APM 1.2 standard. I am surprised to discover that my desktop supports suspend/resume!!! What would people like to see supportedt hat is in 1.2? I have plans for the following: 1) Number of battery query support 2) Bits that describe what the APM can do: can it suspend? Can it resume? Can it resume after a timeout? Can it resume on RI? 3) The ability to suspend with an optional argument that causes a resume to happen after a period of time. 4) The ability to suspend after a period of idle time if the power is available (three guesses at the make of computers this is for :-). 5) The ability to resume on RI. 6) The ability to turn off the display. 7) The ability to hook into timer based requests from the APM BIOS. 8) support for drive spin down? I have support for #1 and #2 which map to the 0x10 "Get Capabilities" call. I need to clean up the output of the apm command, but it looks like it works. Comments? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message