Date: Mon, 01 Oct 2001 19:42:14 -0600 From: Warner Losh <imp@harmony.village.org> To: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org> Cc: scott_long@btc.adaptec.com, gwk@sgi.com, current@FreeBSD.ORG Subject: Re: ACPI and APM interoperability? Message-ID: <200110020142.f921gE709493@harmony.village.org> In-Reply-To: Your message of "Tue, 02 Oct 2001 02:04:31 %2B0900." <20011002.020431.25420279.iwasaki@jp.FreeBSD.org> References: <20011002.020431.25420279.iwasaki@jp.FreeBSD.org> <lthy9mvvj5i.wl@hunter.munich.sgi.com> <20011001084910.A1952@hollin.btc.adaptec.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110020142.f921gE709493>