History log of /src/usr.sbin/powerd |
Revision | Date | Author | Comments |
1.6 | 19-Dec-2010 |
pgoyette | Rump-ify powerd.
|
1.5 | 22-Apr-2009 |
lukem | Enable WARNS=4 by default, except for: cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest kimpersonate kstash ktutil makefs ndbootd ntp pppd quot racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump traceroute traceroute6 user veriexecgen wsmoused zic (Mostly third-party applications)
|
1.4 | 01-Jul-2007 |
xtraeme | branches: 1.4.20; Imported envsys 2, a brief description of the new features: (Part 3: userland)
* Support for detachable sensors. * Cleaned up the API for simplicity and efficiency. * Ability to send capacity/critical/warning events to powerd(8). * Adapted all the code to the new locking order. * Compatibility with the old envsys API: the ENVSYS_GTREINFO and ENVSYS_GTREDATA ioctl(2)s are supported. * Added support for a 'dictionary based communication channel' between sysmon_power(9) and powerd(8), that means there is no 32 bytes event size restriction anymore. * Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40. * All drivers with the n^2 gtredata bug were fixed, PR kern/36226.
Tested by:
blymn: smsc(4). bouyer: ipmi(4), mfi(4). kefren: ug(4). njoly: viaenv(4), adt7463.c. riz: owtemp(4). xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
|
1.3 | 05-Feb-2006 |
christos | pass WARNS=4
|
1.2 | 18-Apr-2003 |
gmcgarry | Build manpage.
|
1.1 | 18-Apr-2003 |
thorpej | Power management daemon for sysmon. Currently supports acting on power switch state change events.
|
1.4.20.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.26 | 21-Feb-2017 |
abhinav | Fix spelling of "occurs".
|
1.25 | 06-Nov-2012 |
dholland | branches: 1.25.12; 1.25.16; Minor grammar fix, from Bug Hunting in PR 47159.
|
1.24 | 15-Dec-2010 |
wiz | branches: 1.24.6; 1.24.12; Merge single-letter options in SYNOPSIS.
|
1.23 | 15-Dec-2010 |
pgoyette | Add an option to not actually run the power management scripts, and when in debug mode send all error messages to stderr rather than to syslog(8).
|
1.22 | 27-Jan-2010 |
wiz | Bump date for previous.
|
1.21 | 26-Jan-2010 |
jruoho | Some miscellaneous fixes:
* Apparently there is only a single location for the scripts. Thus, remove the references to "/etc/powerd/scripts/apm" and "/etc/powerd/scripts/acpi". * Correct confusion: instead of "the device with which the device is associated", write "the device with which the event is associated". Correct also an example related to this. * Improve wording, grammar, and markup in few places.
|
1.20 | 26-Jan-2010 |
jruoho | Emphasize the script names and events.
|
1.19 | 04-May-2009 |
wiz | New sentence, new line.
|
1.18 | 22-Dec-2007 |
jmcneill | branches: 1.18.12; Note addition of hotkey_button scripts.
|
1.17 | 10-Oct-2007 |
xtraeme | Document the 'low-power' event in the sensor_battery script.
|
1.16 | 05-Sep-2007 |
xtraeme | Mention that I added support to handle envsys(4) events.
|
1.15 | 05-Sep-2007 |
xtraeme | Improve grammar.
|
1.14 | 04-Sep-2007 |
xtraeme | Update to match current kernel code.
|
1.13 | 16-Jul-2007 |
xtraeme | branches: 1.13.4; Explain that sensor_indicator will be used for indicators and integers.
|
1.12 | 03-Jul-2007 |
xtraeme | sensor_indicator is able to receive the same events than other sensors.
|
1.11 | 02-Jul-2007 |
xtraeme | Add the /etc/powerd/scripts/sensor_indicator to handle events on indicator sensors.
Update powerd(8).
|
1.10 | 01-Jul-2007 |
xtraeme | Imported envsys 2, a brief description of the new features: (Part 3: userland)
* Support for detachable sensors. * Cleaned up the API for simplicity and efficiency. * Ability to send capacity/critical/warning events to powerd(8). * Adapted all the code to the new locking order. * Compatibility with the old envsys API: the ENVSYS_GTREINFO and ENVSYS_GTREDATA ioctl(2)s are supported. * Added support for a 'dictionary based communication channel' between sysmon_power(9) and powerd(8), that means there is no 32 bytes event size restriction anymore. * Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40. * All drivers with the n^2 gtredata bug were fixed, PR kern/36226.
Tested by:
blymn: smsc(4). bouyer: ipmi(4), mfi(4). kefren: ug(4). njoly: viaenv(4), adt7463.c. riz: owtemp(4). xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
|
1.9 | 14-Dec-2006 |
reed | This only has one option so get rid of plural "s".
|
1.8 | 03-May-2004 |
wiz | Add comma in enumeration; use Aq instead of \*[Lt]\*[Gt].
|
1.7 | 03-May-2004 |
kochi | Describe AC adapter events.
|
1.6 | 25-Apr-2004 |
kochi | add references to ACPI man pages.
|
1.5 | 23-Apr-2003 |
wiz | branches: 1.5.2; Bump date for last; sort sections; comment out sysmon(4) xref for now.
|
1.4 | 22-Apr-2003 |
augustss | Note that scripts are run synchronously.
|
1.3 | 21-Apr-2003 |
thorpej | Document the reset_button script.
|
1.2 | 18-Apr-2003 |
wiz | New sentence, new line. Use \*[Lt],\*[Gt] for easier HTML conversion.
|
1.1 | 18-Apr-2003 |
thorpej | Power management daemon for sysmon. Currently supports acting on power switch state change events.
|
1.5.2.1 | 06-May-2004 |
jmc | Pullup rev 1.6 (requested by kochi in ticket #250)
Add references to ACPI man pages.
|
1.13.4.2 | 09-Jan-2008 |
matt | sync with HEAD
|
1.13.4.1 | 06-Nov-2007 |
matt | sync with HEAD
|
1.18.12.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.24.12.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.24.6.1 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
1.25.16.1 | 21-Apr-2017 |
bouyer | Sync with HEAD
|
1.25.12.1 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.21 | 03-Aug-2023 |
mrg | avoid having addresses of local variable exist after a function returns.
found by GCC 12.
|
1.20 | 12-Oct-2020 |
roy | powerd: Stop crashing if entries are not found in the dictionary
If the first three are not found, log a diagnostic and do nothing. If the latter two are not found, set them to NULL rather than garbage.
|
1.19 | 07-Jun-2020 |
thorpej | Update for proplib(3) API changes.
|
1.18 | 09-Feb-2013 |
christos | CID/980002: missing va_end()
|
1.17 | 15-Mar-2012 |
joerg | branches: 1.17.2; Add __printflike attribution to use vprintf and friends with an argument as format string.
|
1.16 | 19-Dec-2010 |
pgoyette | branches: 1.16.6; Rump-ify powerd.
|
1.15 | 15-Dec-2010 |
pgoyette | Add an option to not actually run the power management scripts, and when in debug mode send all error messages to stderr rather than to syslog(8).
|
1.14 | 24-Apr-2010 |
jruoho | Define _PATH_POWER and use it.
|
1.13 | 15-Dec-2007 |
perry | convert __attribute__s to applicable cdefs.h macros
|
1.12 | 06-Oct-2007 |
xtraeme | Remove an extra prop_object_release().
|
1.11 | 27-Sep-2007 |
xtraeme | Duh! add missing free(3) in previous.
|
1.10 | 27-Sep-2007 |
xtraeme | In debug mode, don't forget to free the buffer returned by prop_dictionary_externalize().
|
1.9 | 04-Sep-2007 |
xtraeme | Update to match current kernel code.
|
1.8 | 01-Jul-2007 |
xtraeme | branches: 1.8.4; Imported envsys 2, a brief description of the new features: (Part 3: userland)
* Support for detachable sensors. * Cleaned up the API for simplicity and efficiency. * Ability to send capacity/critical/warning events to powerd(8). * Adapted all the code to the new locking order. * Compatibility with the old envsys API: the ENVSYS_GTREINFO and ENVSYS_GTREDATA ioctl(2)s are supported. * Added support for a 'dictionary based communication channel' between sysmon_power(9) and powerd(8), that means there is no 32 bytes event size restriction anymore. * Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40. * All drivers with the n^2 gtredata bug were fixed, PR kern/36226.
Tested by:
blymn: smsc(4). bouyer: ipmi(4), mfi(4). kefren: ug(4). njoly: viaenv(4), adt7463.c. riz: owtemp(4). xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
|
1.7 | 07-May-2007 |
xtraeme | Use __arraycount() from sys/cdefs.h.
|
1.6 | 05-Feb-2006 |
christos | pass WARNS=4
|
1.5 | 05-Feb-2006 |
christos | PR/32747: Michael van Elst: Set close on exec on /dev/power fd so that it is not open from the child process. While I am here: - KNF, pass lint. - Fix a bug where the outer loop index was re-used in the inner loop. - Check the return code of wait.
|
1.4 | 03-May-2004 |
kochi | Add AC adapter event type.
|
1.3 | 13-Jul-2003 |
itojun | use bounded string op
|
1.2 | 20-Apr-2003 |
thorpej | Support the reset button type.
|
1.1 | 18-Apr-2003 |
thorpej | Power management daemon for sysmon. Currently supports acting on power switch state change events.
|
1.8.4.2 | 09-Jan-2008 |
matt | sync with HEAD
|
1.8.4.1 | 06-Nov-2007 |
matt | sync with HEAD
|
1.16.6.2 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.16.6.1 | 17-Apr-2012 |
yamt | sync with head
|
1.17.2.1 | 25-Feb-2013 |
tls | resync with head
|
1.1 | 19-Dec-2010 |
pgoyette | Rump-ify powerd.
|
1.1 | 19-Dec-2010 |
pgoyette | Rump-ify powerd.
|
1.2 | 07-Jun-2024 |
rin | envstat(8), powerd(8), traceroute(8): Add support to CRUNCHOPS
Now, all rump-fied programs can be built as crunched binaries.
Thanks ozaki-r@ for discussion.
|
1.1 | 19-Dec-2010 |
pgoyette | branches: 1.1.56; Rump-ify powerd.
|
1.1.56.1 | 20-Jun-2024 |
martin | Pull up following revision(s) (requested by rin in ticket #710):
usr.sbin/traceroute/prog_ops.h: revision 1.3 usr.sbin/powerd/prog_ops.h: revision 1.2 usr.sbin/envstat/prog_ops.h: revision 1.3
envstat(8), powerd(8), traceroute(8): Add support to CRUNCHOPS
Now, all rump-fied programs can be built as crunched binaries.
Thanks ozaki-r@ for discussion.
|