From owner-freebsd-current Mon Oct 1 18:42:22 2001 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 70C5337B411 for ; Mon, 1 Oct 2001 18:42:18 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f921gHu71159; Mon, 1 Oct 2001 19:42:17 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id f921gE709493; Mon, 1 Oct 2001 19:42:16 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200110020142.f921gE709493@harmony.village.org> To: Mitsuru IWASAKI Subject: Re: ACPI and APM interoperability? Cc: scott_long@btc.adaptec.com, gwk@sgi.com, current@FreeBSD.ORG In-reply-to: Your message of "Tue, 02 Oct 2001 02:04:31 +0900." <20011002.020431.25420279.iwasaki@jp.FreeBSD.org> References: <20011002.020431.25420279.iwasaki@jp.FreeBSD.org> <20011001084910.A1952@hollin.btc.adaptec.com> Date: Mon, 01 Oct 2001 19:42:14 -0600 From: Warner Losh 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 In message <20011002.020431.25420279.iwasaki@jp.FreeBSD.org> Mitsuru IWASAKI writes: : Generalized power-management interface API to have compatibility with : APM and ACPI also is suggested long time ago; : http://www.freebsd.org/cgi/getmsg.cgi?fetch=403390+406841+/usr/local/www/db/text/2001/freebsd-current/20010114.freebsd-current I still have this message in my inbox :-). I liked the API presented in it. : Device node for ACPI is discussed bofore too; having only one /dev/acpi : or having generalized nodes for each device types such as /dev/battery0 : but we couldn't reach the conclusion, now discussion stops... I like what we do with the sound system. There's only /dev/dsp0 for people that want blast sound. Under the covers the sound system hooks up the drivers to that device. I think that doing /dev/battery would be a good idea. Doing device plumbing like this isn't too bad with newbus. Just make the battery device attach at either the acpi or apm devices. I'm doing something similar right now with a FM USB Radio driver I'm writing. I'm bringing Video 4 Linux API into the tree (assuming I don't get shot first) because there are so many cool progrms that work with that which don't work with FreeBSD. : Any suggestions on it? Once we get the conclusion, we can start developing : API and convert userland tools. What other APIs are available? Do they fit our needs? What does Linux or NetBSD do here? Anything interesting? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message