Skip to contentSkip to conversation

hwmon: add description of the update_rate

PATCH In review Ira W. Snyder 2 participants 3 messages Apr 7, 2010 – Apr 14, 2010

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

PATCH 1/2 hwmon: add description of the update_rate

The update_rate attribute can be used by drivers to let userspace choose the update rate of the chip, if it is configurable.

---
 Documentation/hwmon/sysfs-interface |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
Documentation/hwmon/sysfs-interface +12 -0
index 3de6b0b..39e9844 100644
@@ -92,6 +92,18 @@ name		The chip name.
 		RO
 
 
+***************
+* Update Rate *
+***************
+
+update_rate	The rate at which the chip will update readings.
+		Unit: millisecond
+		RW
+		Some devices have a variable update rate. This attribute
+		can be used to change the update rate to the desired
+		frequency.
+
+
 ************
 * Voltages *
 ************
Signature · 7 lines
1.5.4.3


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

PATCH 1/2 hwmon: add description of the update_rate

The update_rate attribute can be used by drivers to let userspace choose the update rate of the chip, if it is configurable.

---
 Documentation/hwmon/sysfs-interface |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
Documentation/hwmon/sysfs-interface +12 -0
index 3de6b0b..39e9844 100644
@@ -92,6 +92,18 @@ name		The chip name.
 		RO
 
 
+***************
+* Update Rate *
+***************
+
+update_rate	The rate at which the chip will update readings.
+		Unit: millisecond
+		RW
+		Some devices have a variable update rate. This attribute
+		can be used to change the update rate to the desired
+		frequency.
+
+
 ************
 * Voltages *
 ************
Signature · 7 lines
1.5.4.3


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

Re: [lm-sensors] [PATCH 1/2] hwmon: add description of the

In reply to Ira W. Snyder
Quoted 18 lines · Ira W. Snyder

The update_rate attribute can be used by drivers to let userspace choose the update rate of the chip, if it is configurable.

---
 Documentation/hwmon/sysfs-interface |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
Documentation/hwmon/sysfs-interface +2 -0
index 3de6b0b..39e9844 100644
@@ -92,6 +92,18 @@ name		The chip name.
 		RO
 
 
+***************
+* Update Rate *

Documentation/hwmon/sysfs-interface name The chip name. · line 106

Quoted 10 lines
Documentation/hwmon/sysfs-interface +10 -0
+***************
+
+update_rate	The rate at which the chip will update readings.
+		Unit: millisecond
+		RW
+		Some devices have a variable update rate. This attribute
+		can be used to change the update rate to the desired
+		frequency.
+
+

Looks good. But maybe we could merge name and update_rate in a common "Global attributes" or similar? Looks odd to have separate sections for single attributes.

Quoted 3 lines
Documentation/hwmon/sysfs-interface +0 -0
 ************
 * Voltages *
 ************
Signature · 6 lines
Jean Delvare

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