Skip to contentSkip to conversation

hwmon: Add power meter spec to Documentation/hwmon/sysfs-interface

PATCH In review Darrick J. Wong 3 participants 3 messages Oct 9, 2007 – Oct 16, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 hwmon: Add power meter spec to Documentation/hwmon/sysfs-interface

Update the hwmon sysfs interface documentation to include a specification for power meters.

---

 Documentation/hwmon/sysfs-interface |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
Documentation/hwmon/sysfs-interface +31 -0
index db7bb4a..4e0fb20 100644
@@ -324,6 +324,37 @@ curr[1-*]_input	Current input value
 		Unit: milliampere
 		RO
 
+*********
+* Power *
+*********
+
+power[1-*]_average		Average power use
+				Unit: microWatt
+				RO
+
+power[1-*]_average_highest	Historical average maximum power use
+				Unit: microWatt
+				RO
+
+power[1-*]_average_lowest	Historical average minimum power use
+				Unit: microWatt
+				RO
+
+power[1-*]_input		Instantaneous power use
+				Unit: microWatt
+				RO
+
+power[1-*]_input_highest	Historical maximum power use
+				Unit: microWatt
+				RO
+
+power[1-*]_input_lowest		Historical minimum power use
+				Unit: microWatt
+				RO
+
+power[1-*]_reset_history	Reset input_highest, input_lowest,
+				average_highest and average_lowest.
+				WO
 
 **********
 * Alarms *
Acked-by on v3 1/1
#1 lore raw

Hi Darrick,

Quoted 41 lines · Darrick J. Wong

Update the hwmon sysfs interface documentation to include a specification for power meters.

---

 Documentation/hwmon/sysfs-interface |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
Documentation/hwmon/sysfs-interface +24 -0
index db7bb4a..4e0fb20 100644
@@ -324,6 +324,37 @@ curr[1-*]_input	Current input value
 		Unit: milliampere
 		RO
 
+*********
+* Power *
+*********
+
+power[1-*]_average		Average power use
+				Unit: microWatt
+				RO
+
+power[1-*]_average_highest	Historical average maximum power use
+				Unit: microWatt
+				RO
+
+power[1-*]_average_lowest	Historical average minimum power use
+				Unit: microWatt
+				RO
+
+power[1-*]_input		Instantaneous power use
+				Unit: microWatt
+				RO
+
+power[1-*]_input_highest	Historical maximum power use
+				Unit: microWatt
+				RO
+

Documentation/hwmon/sysfs-interface curr[1-*]_input Current input value · line 360

Quoted 10 lines
Documentation/hwmon/sysfs-interface +7 -0
+power[1-*]_input_lowest		Historical minimum power use
+				Unit: microWatt
+				RO
+
+power[1-*]_reset_history	Reset input_highest, input_lowest,
+				average_highest and average_lowest.
+				WO
 
 **********
 * Alarms *

Looks good, thanks for your patience :)

Note that lm-sensors 3 still lacks support for power meters, if you want it you'll have to submit a patch.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw

Hi:

Quoted 9 lines · Darrick J. Wong
Quoted 8 lines

Update the hwmon sysfs interface documentation to include a specification for power meters.

---

 Documentation/hwmon/sysfs-interface |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
Quoted 3 lines · Jean Delvare

Looks good, thanks for your patience :)

Applied to hwmon-2.6.git/testing, thanks.

Signature · 8 lines
Mark M. Hoffman
[email protected]


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors