PERFORCE change 43224 for review
jhb at FreeBSD.org
Mon Dec 1 06:59:47 PST 2003
Change 43224 by jhb at jhb_blue on 2003/12/01 06:59:27
More notes after dinking with the current power resource code
(which is nice actually) while trying to get my fans to work last
Affected files ...
.. //depot/projects/power/notes#8 edit
==== //depot/projects/power/notes#8 (text+ko) ====
@@ -1,4 +1,4 @@
-This branch exists to provide support for manging the power state of devices.
+rThis branch exists to provide support for manging the power state of devices.
For example, being able to power down devices that aren't in use and power
them on when they are needed.
@@ -20,6 +20,9 @@
- XXX: need to handle _PRx and _SxD !!
- We should be able to hook the power resource stuff up once we have
our power shadow tree in the acpi_SetPowerState() function.
+ - Use the power resource consumer power state change stuff in
+ acpi_SetDevicePowerState(). We need to pre-register all the resources
+ and consumers in a tree sweep though to do this properly.
- define a bus method for powering up/down devices
- bus_set_powerstate(parent, child, state) where state is on or off
# actually on/off is insufficient for a power management daemon that
More information about the p4-projects