hwmon: Add humidity attribute to sysfs ABI
Subsystems (2)
PATCH 1/1 hwmon: Add humidity attribute to sysfs ABI
The humidity attribute is already supported by the sht15 driver, and another driver supporting it is about to be added. Make it official.
--- Documentation/hwmon/sysfs-interface | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)
Documentation/hwmon/sysfs-interface +9 -0
@@ -505,6 +505,15 @@ energy[1-*]_input Cumulative energy use RO +************ +* Humidity * +************ + +humidity[1-*]_input Humidity + Unit: percent + RO + + ********** * Alarms * **********
Signature · 7 lines
1.7.3.1 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 4 lines · Guenter Roeck
The humidity attribute is already supported by the sht15 driver, and another driver supporting it is about to be added. Make it official.
Signed-off-by Guenter Roeck <[email protected]>
Quoted 14 lines
--- Documentation/hwmon/sysfs-interface | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)Documentation/hwmon/sysfs-interface +2
-0@@ -505,6 +505,15 @@ energy[1-*]_input Cumulative energy use RO +************ +* Humidity *
Documentation/hwmon/sysfs-interface energy[1-*]_input Cumulative energy use · line 519
Quoted 10 lines
Documentation/hwmon/sysfs-interface +7
-0+************ + +humidity[1-*]_input Humidity + Unit: percent + RO + + ********** * Alarms * **********
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 13 lines · Guenter Roeck
The humidity attribute is already supported by the sht15 driver, and another driver supporting it is about to be added. Make it official.
Signed-off-by Guenter Roeck <[email protected]>--- Documentation/hwmon/sysfs-interface | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)Documentation/hwmon/sysfs-interface +0
-0
Documentation/hwmon/sysfs-interface energy[1-*]_input Cumulative energy use · line 513
Quoted 9 lines
Documentation/hwmon/sysfs-interface +6
-0@@ -505,6 +505,15 @@ energy[1-*]_input Cumulative energy use RO +************ +* Humidity * +************ + +humidity[1-*]_input Humidity + Unit: percent
Are you sure? The sht15 driver source code suggests millipercent. Jonathan?
Quoted 6 lines
Documentation/hwmon/sysfs-interface +3
-0+ RO + + ********** * Alarms * **********
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 17 lines · Jean Delvare
Quoted 16 lines · Guenter Roeck
The humidity attribute is already supported by the sht15 driver, and another driver supporting it is about to be added. Make it official.
Signed-off-by Guenter Roeck <[email protected]>--- Documentation/hwmon/sysfs-interface | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)Documentation/hwmon/sysfs-interface +0
-0@@ -505,6 +505,15 @@ energy[1-*]_input Cumulative energy use RO
Quoted 10 lines
Documentation/hwmon/sysfs-interface energy[1-*]_input Cumulative energy use · line 513
Quoted 6 lines
Documentation/hwmon/sysfs-interface +6
-0+************ +* Humidity * +************ + +humidity[1-*]_input Humidity + Unit: percentAre you sure? The sht15 driver source code suggests millipercent. Jonathan?
Yes, you are right. Just noticed that as well.
What would be the best term to use ? millipercent ? milli-percent ? per cent mille ? The latter is the official term. How about
Unit: per cent mille (pcm, milli-percent)
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 28 lines · Guenter Roeck
Quoted 17 lines · Jean Delvare
Quoted 16 lines · Guenter Roeck
The humidity attribute is already supported by the sht15 driver, and another driver supporting it is about to be added. Make it official.
Signed-off-by Guenter Roeck <[email protected]>--- Documentation/hwmon/sysfs-interface | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)Documentation/hwmon/sysfs-interface +0
-0@@ -505,6 +505,15 @@ energy[1-*]_input Cumulative energy use ROQuoted 10 lines
Documentation/hwmon/sysfs-interface energy[1-*]_input Cumulative energy use · line 513
Quoted 6 lines
Documentation/hwmon/sysfs-interface +6
-0+************ +* Humidity * +************ + +humidity[1-*]_input Humidity + Unit: percentAre you sure? The sht15 driver source code suggests millipercent. Jonathan?
Quoted 5 lines
Yes, you are right. Just noticed that as well.
What would be the best term to use ? millipercent ? milli-percent ? per cent mille ? The latter is the official term. How about
Unit: per cent mille (pcm, milli-percent)
I'm fine either way.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 18 lines · Guenter Roeck
Quoted 17 lines · Jean Delvare
Quoted 16 lines · Guenter Roeck
The humidity attribute is already supported by the sht15 driver, and another driver supporting it is about to be added. Make it official.
Signed-off-by Guenter Roeck <[email protected]>--- Documentation/hwmon/sysfs-interface | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)Documentation/hwmon/sysfs-interface +0
-0@@ -505,6 +505,15 @@ energy[1-*]_input Cumulative energy use RO
Quoted 9 lines
Quoted 9 lines
Documentation/hwmon/sysfs-interface energy[1-*]_input Cumulative energy use · line 513
Quoted 6 lines
Documentation/hwmon/sysfs-interface +6
-0+************ +* Humidity * +************ + +humidity[1-*]_input Humidity + Unit: percentAre you sure? The sht15 driver source code suggests millipercent. Jonathan?
Oops, not one of my better bits of reviewing...
Quoted 6 lines
Quoted 1 line
Yes, you are right. Just noticed that as well.
What would be the best term to use ? millipercent ? milli-percent ? per cent mille ? The latter is the official term. How about
Unit: per cent mille (pcm, milli-percent)
could multiply values by 10 then use Permyriad :)
Otherwise maybe just write it out clearly as 'thousandth of a percent'?
Quoted 2 lines
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 30 lines · Jonathan Cameron
Quoted 18 lines · Guenter Roeck
Quoted 17 lines · Jean Delvare
Quoted 16 lines · Guenter Roeck
The humidity attribute is already supported by the sht15 driver, and another driver supporting it is about to be added. Make it official.
Signed-off-by Guenter Roeck <[email protected]>--- Documentation/hwmon/sysfs-interface | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)Documentation/hwmon/sysfs-interface +0
-0@@ -505,6 +505,15 @@ energy[1-*]_input Cumulative energy use ROQuoted 9 lines
Quoted 9 lines
Documentation/hwmon/sysfs-interface energy[1-*]_input Cumulative energy use · line 513
Quoted 6 lines
Documentation/hwmon/sysfs-interface +6
-0+************ +* Humidity * +************ + +humidity[1-*]_input Humidity + Unit: percentAre you sure? The sht15 driver source code suggests millipercent. Jonathan?
Oops, not one of my better bits of reviewing...
Quoted 1 line
Quoted 1 line
Quoted 7 lines
Quoted 5 lines
Yes, you are right. Just noticed that as well.
What would be the best term to use ? millipercent ? milli-percent ? per cent mille ? The latter is the official term. How about
Unit: per cent mille (pcm, milli-percent)could multiply values by 10 then use Permyriad :)
Otherwise maybe just write it out clearly as 'thousandth of a percent'?
Thought about that, but "a percent" sounds odd (what is "a percent" ?), and "thousandth of percent" may be confused with "thousands of percent". I think I'll go with "milli-percent (per cent mille, pcm)".
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors