Date: Sun, 03 Mar 2002 21:55:52 +0900 (JST) From: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org> To: msmith@freebsd.org Cc: arch@freebsd.org Subject: Re: CFR: Generalized power profile Message-ID: <20020303.215552.112630160.iwasaki@jp.FreeBSD.org> In-Reply-To: <200112281839.fBSIdGF13050@mass.dis.org> References: <20011227.182533.112880512.iwasaki@jp.FreeBSD.org> <200112281839.fBSIdGF13050@mass.dis.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[Sorry for too late reply. It seems that I've woken up from hibernation.] From: Mike Smith <msmith@freebsd.org> Subject: Re: CFR: Generalized power profile Date: Fri, 28 Dec 2001 10:39:16 -0800 Message-ID: <200112281839.fBSIdGF13050@mass.dis.org> > > I've made the changes for generalized power profile based on ACPI > > power profile code, dev/acpica/acpi_powerprofile.c and some related > > files. This makes other power-management system (APM for now) to be > > able to generate power profile change events (ie. AC-line status > > changes), and other kernel components, not only the ACPI components, > > can be notified the events. > > Thanks for picking up on this. > > > This includes: > > - move subroutines in acpi_powerprofile.c to kern/subr_power.c > > If we think this might become more complicated, do we want sys/dev/power? > If not, this is an OK place. Maybe not I guess, I'll put them into kern/subr_power.c for now. > What do you think of POWER_PROFILE_OFF as an alternate mechanism for > switching the system off, rather than the current shutdown hook? I'm not sure whether power profile change event should include power off event too or not, but I updated the diffs a bit adding sanity check code. http://people.freebsd.org/~iwasaki/acpi/power_profile-20020303.diff I'll commit this in a day or two. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020303.215552.112630160.iwasaki>