History log of /netbsd-src/sys/dev/sysmon/swsensor.c (Results 1 – 20 of 20)
Revision Date Author Comments
# 1cd43426 10-Feb-2024 andvar <andvar@NetBSD.org>

Fix various typos in comments, log messages and documentation.


# 54853d3d 31-Dec-2021 riastradh <riastradh@NetBSD.org>

sysmon: Delete trailing whitespace. No functional change intended.


# 814a7798 11-Jun-2020 thorpej <thorpej@NetBSD.org>

Update for proplib(3) API changes.


# a2b798fd 08-Jun-2020 thorpej <thorpej@NetBSD.org>

Update for proplib(3) API changes.


# 9120d451 16-Mar-2020 pgoyette <pgoyette@NetBSD.org>

Use the module subsystem's ability to process SYSCTL_SETUP() entries to
automate installation of sysctl nodes.

Note that there are still a number of device and pseudo-device modules
that create entr

Use the module subsystem's ability to process SYSCTL_SETUP() entries to
automate installation of sysctl nodes.

Note that there are still a number of device and pseudo-device modules
that create entries tied to individual device units, rather than to the
module itself. These are not changed.

show more ...


# 9d05de2f 25-Apr-2015 pgoyette <pgoyette@NetBSD.org>

Remove another debug printf() that snuck in.


# 76a2f91a 23-Apr-2015 pgoyette <pgoyette@NetBSD.org>

Update module dependencies for all the existing modules that depend on sysmon components.


# 4525347a 27-Aug-2012 pgoyette <pgoyette@NetBSD.org>

Add hw.swsensor.state variable for additional control capability.


# 3dbac3b2 19-Jun-2011 pgoyette <pgoyette@NetBSD.org>

Use {...} to prevent premature exit from initialization function - this
lets the atf tests run again.

Move validation of current value vs min/max into the refresh routine
where it will get checked e

Use {...} to prevent premature exit from initialization function - this
lets the atf tests run again.

Move validation of current value vs min/max into the refresh routine
where it will get checked every time, not just at initialization.

While here, do a little more housekeeping:
- Retrieve numeric property value once
- Ensure that a numeric-specified sensor type is valid
- printout any unrecognized properties (DEBUG only)

show more ...


# 13580ba5 19-Jun-2011 pgoyette <pgoyette@NetBSD.org>

Use correct routine to retrieve string value from prop-dictionary


# eff7c483 19-Jun-2011 pgoyette <pgoyette@NetBSD.org>

Rather than requiring the user to know the internal encoding of sensor
types, allow the user to specify the type using the units description.

XXX Numeric specification is still permitted but will be

Rather than requiring the user to know the internal encoding of sensor
types, allow the user to specify the type using the units description.

XXX Numeric specification is still permitted but will be removed soon.

show more ...


# 41f31ea2 04-Jun-2011 pgoyette <pgoyette@NetBSD.org>

Remove ability to the value_avg since it no longer exists


# 40ef889e 04-Jun-2011 pgoyette <pgoyette@NetBSD.org>

Enable creation of value_{max,min,avg} entries via the proplist, as well
as setting the ENVSYS_FPERCENT flag


# 5b13bc43 17-Dec-2010 pooka <pooka@NetBSD.org>

use aprint


# 5c690f06 16-Dec-2010 pgoyette <pgoyette@NetBSD.org>

Also allow specification of sensor's initial value when it is loaded,
using "-i value=<value>".

Suggested by njoly@


# cedd9a0b 11-Dec-2010 pgoyette <pgoyette@NetBSD.org>

Enhance the swsensor(4) pseudo-device's capabilities to emulate more
sensor types


# 1b3fe95d 23-Oct-2010 pooka <pooka@NetBSD.org>

Revert 1.2 apart from incorrect comment. the devattach() routine
is of course still used by kernel&config pseudodev.

pointed out by jakllsch


# 41dc37e6 20-Oct-2010 pooka <pooka@NetBSD.org>

Set sensor state to valid upon refresh to make things generally work.

pgoyette ok


# f4fd6656 20-Oct-2010 pooka <pooka@NetBSD.org>

remove unused routine (per comment)


# 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 ...