#
afc99355 |
| 24-Apr-2015 |
pgoyette <pgoyette@NetBSD.org> |
Update configuration definitions for new sysmon
|
#
09829209 |
| 06-Sep-2012 |
macallan <macallan@NetBSD.org> |
defflag debug #defines
|
#
3ae668c1 |
| 19-Oct-2010 |
pgoyette <pgoyette@NetBSD.org> |
Add a new software-only sensor device. This is intended for use as a kernel module, and can be helpful to generate sysmon_envsys events when creating/modifying powerd scripts. This will also be use
Add a new software-only sensor device. This is intended for use as a kernel module, and can be helpful to generate sysmon_envsys events when creating/modifying powerd scripts. This will also be used in an upcoming series of atf tests for sysmon_envsys itself.
show more ...
|
#
01497b95 |
| 22-Jul-2010 |
pgoyette <pgoyette@NetBSD.org> |
Convert swwdog(4) from a simple defpseudo device to a defpseudodev so that we can attach a power management handler. The handler prevents a suspend if the watchdog is active, to be consistent with o
Convert swwdog(4) from a simple defpseudo device to a defpseudodev so that we can attach a power management handler. The handler prevents a suspend if the watchdog is active, to be consistent with other watchdog drivers.
As discussed on tech-kern.
show more ...
|
#
f510198e |
| 30-Jan-2010 |
pooka <pooka@NetBSD.org> |
Make swwdog use no-needs-count. As the manpage says, there can be only one.
|
#
5b53183e |
| 04-Sep-2007 |
xtraeme <xtraeme@NetBSD.org> |
- Remove ENVSYS_GSTRING and the genstr member from envsys_data_t. (at least three or four persons were against it). - Add a new sensor type: ENVSYS_BATTERY_STATE, this uses value_cur and some pre
- Remove ENVSYS_GSTRING and the genstr member from envsys_data_t. (at least three or four persons were against it). - Add a new sensor type: ENVSYS_BATTERY_STATE, this uses value_cur and some predefined values in a static table, like ENVSYS_DRIVE. - Move all static tables to sysmon_envsys_tables.c and use a function on it to retrieve a pointer to the struct of the specified type. - Rename the ENVSYS_FMONDRVSTCHANGED to ENVSYS_FMONSTCHANGED and make it generic for Battery state and drive sensors (this flag enables monitoring on these sensors when state has been changed). - Update sysmon_penvsys_event() to report state changes on ENVSYS_BATTERY_STATE sensors and remove other type of events, with PENVSYS_EVENT_STATE_CHANGED they are not necessary anymore.
show more ...
|
#
fda9e03a |
| 02-Sep-2007 |
xtraeme <xtraeme@NetBSD.org> |
Remove unused (and inexistent) flag.
|
#
5623c9a1 |
| 21-Jul-2007 |
xtraeme <xtraeme@NetBSD.org> |
Convert sysmon_taskqueue to use mutex(9) and condvar(9) and initialize them in init_main.c via sysmon_task_queue_preinit().
Reviewed and ok by ad@.
|
#
7282589d |
| 20-Jul-2007 |
xtraeme <xtraeme@NetBSD.org> |
Move the functions to create/update objects in a dictionary into its own file, and DO NOT MAKE THEM inline AS IT IS WRONG.
Looks like I'm very stupid and I didn't know what inline meant. Thank you v
Move the functions to create/update objects in a dictionary into its own file, and DO NOT MAKE THEM inline AS IT IS WRONG.
Looks like I'm very stupid and I didn't know what inline meant. Thank you very much YAMAMOTO Takashi.
show more ...
|
#
bf4558f8 |
| 01-Jul-2007 |
xtraeme <xtraeme@NetBSD.org> |
Imported envsys 2, a brief description of the new features: (Part 1: API)
* Support for detachable sensors. * Cleaned up the API for simplicity and efficiency. * Ability to send capacity/critical/wa
Imported envsys 2, a brief description of the new features: (Part 1: API)
* 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).
show more ...
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
ddd2ade2 |
| 09-Jan-2005 |
smb <smb@NetBSD.org> |
Add a software watchdog timer facility. Because this slightly changes the "tickle" model of wdogctl(8), it was modified as well; while I was in there, I cleaned up the argument parsing.
The code wa
Add a software watchdog timer facility. Because this slightly changes the "tickle" model of wdogctl(8), it was modified as well; while I was in there, I cleaned up the argument parsing.
The code was reviewed by simonb@.
show more ...
|
#
d14efd22 |
| 20-Apr-2003 |
thorpej <thorpej@NetBSD.org> |
Generic "task queue" for sysmon back-ends. This provides a thread context for callbacks that require it in order to handle sysmon-related events.
Adapted from the "OsdSchedule" bits of the ACPI cod
Generic "task queue" for sysmon back-ends. This provides a thread context for callbacks that require it in order to handle sysmon-related events.
Adapted from the "OsdSchedule" bits of the ACPI code.
show more ...
|
#
b0f79c65 |
| 17-Apr-2003 |
thorpej <thorpej@NetBSD.org> |
Start at a power management framework for sysmon. Right now we just provide some VERY basic support for power/sleep buttons and lid switches; if someone presses the power button, shut down the syste
Start at a power management framework for sysmon. Right now we just provide some VERY basic support for power/sleep buttons and lid switches; if someone presses the power button, shut down the system semi-gracefully.
Eventually, we will send events for all types of button/lid events down to a userland power management daemon, which will be able to define a separate policy for each button/switch.
show more ...
|
#
20ddfbf4 |
| 16-Apr-2002 |
thorpej <thorpej@NetBSD.org> |
Move sysmon configuration definitions to dev/sysmon/files.sysmon.
|