sensors-detect: Add code to detect ADT7461A /
PATCH 1/1 sensors-detect: Add code to detect ADT7461A /
This patch adds code to detect ADT7461A / NCT1008 to sensors-detect.
---
Index: prog/detect/sensors-detect
=================================--- prog/detect/sensors-detect (revision 5954)
+++ prog/detect/sensors-detect (working copy)
@@ -1045,6 +1045,11 @@
i2c_addrs => [0x4c..0x4d], i2c_detect => sub { lm90_detect(@_, 5); },
}, {
+ name => "Analog Devices ADT7461A, ON Semiconductor NCT1008",
+ driver => "to-be-written", # lm90
+ i2c_addrs => [0x4c..0x4d],
+ i2c_detect => sub { lm90_detect(@_, 13); },
+ }, {
name => "Analog Devices ADT7481", driver => "to-be-written", i2c_addrs => [0x4c, 0x4b],
@@ -4317,7 +4322,8 @@
# 4 = MAX6654, 5 = ADT7461, # 6 = MAX6646/MAX6647/MAX6648/MAX6649/MAX6692, # 8 = W83L771W/G, 9 = TMP401, 10 = TMP411, -# 11 = W83L771AWG/ASG, 12 = MAX6690 +# 11 = W83L771AWG/ASG, 12 = MAX6690, +# 13 = ADT7461A/NCT1008
# Registers used:
# 0x03: Configuration
# 0x04: Conversion rate
@@ -4416,6 +4422,12 @@
return if $mid != 0x4d; # Maxim
return 8 if $cid = 0x09; # MAX6690
}
+ if ($chip = 13) {
+ return if ($conf & 0x1b) != 0;
+ return if $rate > 0x0a;
+ return if $mid != 0x41; # Analog Devices
+ return 8 if $cid = 0x57; # ADT7461A, NCT1008
+ }
return;
}
Index: CHANGES
=================================--- CHANGES (revision 5954)
+++ CHANGES (working copy)
@@ -1,6 +1,9 @@
lm-sensors CHANGES file
-----------------------
+head
+ sensors-detect: Add detection of ADT7461A / NCT1008 +
3.3.0 (2011-03-28)
Makefile: Check for bison and flex
libsensors: Add support for intrusion detection (#2370)
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH] sensors-detect: Add code to detect
Quoted 47 lines · Guenter Roeck
This patch adds code to detect ADT7461A / NCT1008 to sensors-detect.
---
Index: prog/detect/sensors-detect
=================================> --- prog/detect/sensors-detect (revision 5954)
+++ prog/detect/sensors-detect (working copy)(quoted diff) +13
-1@@ -1045,6 +1045,11 @@ i2c_addrs => [0x4c..0x4d], i2c_detect => sub { lm90_detect(@_, 5); }, }, { + name => "Analog Devices ADT7461A, ON Semiconductor NCT1008", + driver => "to-be-written", # lm90 + i2c_addrs => [0x4c..0x4d], + i2c_detect => sub { lm90_detect(@_, 13); }, + }, { name => "Analog Devices ADT7481", driver => "to-be-written", i2c_addrs => [0x4c, 0x4b],@@ -4317,7 +4322,8 @@ # 4 = MAX6654, 5 = ADT7461, # 6 = MAX6646/MAX6647/MAX6648/MAX6649/MAX6692, # 8 = W83L771W/G, 9 = TMP401, 10 = TMP411, -# 11 = W83L771AWG/ASG, 12 = MAX6690 +# 11 = W83L771AWG/ASG, 12 = MAX6690, +# 13 = ADT7461A/NCT1008 # Registers used: # 0x03: Configuration # 0x04: Conversion rate@@ -4416,6 +4422,12 @@ return if $mid != 0x4d; # Maxim return 8 if $cid = 0x09; # MAX6690 } + if ($chip = 13) { + return if ($conf & 0x1b) != 0; + return if $rate > 0x0a; + return if $mid != 0x41; # Analog Devices + return 8 if $cid = 0x57; # ADT7461A, NCT1008 + } return; }Index: CHANGES
=================================> --- CHANGES (revision 5954)
+++ CHANGES (working copy)
Review line 9
Quoted 9 lines
(quoted diff) +3
-0@@ -1,6 +1,9 @@ lm-sensors CHANGES file ----------------------- +head + sensors-detect: Add detection of ADT7461A / NCT1008 + 3.3.0 (2011-03-28) Makefile: Check for bison and flex libsensors: Add support for intrusion detection (#2370)
Looks alright, please commit. Please add the new chips to wiki/Devices too.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
PATCH 1/1 sensors-detect: Add code to detect LM95245
In reply to Guenter RoeckIndex: prog/detect/sensors-detect
=================================--- prog/detect/sensors-detect (revision 5983)
+++ prog/detect/sensors-detect (working copy)
@@ -1008,6 +1008,11 @@
i2c_addrs => [0x2b, 0x19, 0x2a], i2c_detect => sub { lm95231_detect(@_, 1); },
}, {
+ name => "National Semiconductor LM95245",
+ driver => "lm95245",
+ i2c_addrs => [0x2b, 0x19, 0x2a],
+ i2c_detect => sub { lm95231_detect(@_, 2); },
+ }, {
name => "National Semiconductor LM63", driver => "lm63",
i2c_addrs => [0x4c],
@@ -4540,7 +4545,7 @@
return 5;
}
-# Chip to detect: 0 = LM95231, 1 = LM95241
+# Chip to detect: 0 = LM95231, 1 = LM95241, 2 = LM95245
# Registers used:
# 0x02: Status (3 unused bits)
# 0x03: Configuration (3 unused bits)
@@ -4557,6 +4562,7 @@
return if $mid != 0x01; # National Semiconductor
return if $chip = 0 && $cid != 0xa1; # LM95231
return if $chip = 1 && $cid != 0xa4; # LM95241
+ return if $chip = 2 && $cid != 0xb3; # LM95245
return if i2c_smbus_read_byte_data($file, 0x02) & 0x70; return if i2c_smbus_read_byte_data($file, 0x03) & 0x89;
Index: CHANGES
=================================--- CHANGES (revision 5983)
+++ CHANGES (working copy)
@@ -17,6 +17,7 @@
Add detection of ITE IT8772E
Don't advertise the ipmisensors driver Add detection of SA56004
+ Add detection of LM95245
3.3.0 (2011-03-28)
Makefile: Check for bison and flex
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH] sensors-detect: Add code to detect LM95245
In reply to Guenter RoeckHi Guenter,
Review line 1013
Quoted 10 lines · Guenter Roeck
Index: prog/detect/sensors-detect
=================================> --- prog/detect/sensors-detect (revision 5983)
+++ prog/detect/sensors-detect (working copy)(quoted diff) +3
-0@@ -1008,6 +1008,11 @@ i2c_addrs => [0x2b, 0x19, 0x2a], i2c_detect => sub { lm95231_detect(@_, 1); }, }, { + name => "National Semiconductor LM95245", + driver => "lm95245", + i2c_addrs => [0x2b, 0x19, 0x2a],
The datasheet I have lists the following 5 addresses instead: 0x18, 0x19, 0x29, 0x4C and 0x4D, and the lm95245 driver agrees.
Quoted 15 lines
(quoted diff) +3
-1+ i2c_detect => sub { lm95231_detect(@_, 2); }, + }, { name => "National Semiconductor LM63", driver => "lm63", i2c_addrs => [0x4c],@@ -4540,7 +4545,7 @@ return 5; } -# Chip to detect: 0 = LM95231, 1 = LM95241 +# Chip to detect: 0 = LM95231, 1 = LM95241, 2 = LM95245 # Registers used: # 0x02: Status (3 unused bits) # 0x03: Configuration (3 unused bits)
Review line 4568
Quoted 7 lines
(quoted diff) +1
-0@@ -4557,6 +4562,7 @@ return if $mid != 0x01; # National Semiconductor return if $chip = 0 && $cid != 0xa1; # LM95231 return if $chip = 1 && $cid != 0xa4; # LM95241 + return if $chip = 2 && $cid != 0xb3; # LM95245 return if i2c_smbus_read_byte_data($file, 0x02) & 0x70; return if i2c_smbus_read_byte_data($file, 0x03) & 0x89;
These checks for unused bits were OK for the LM95231/LM95241 but not for the LM95245.
Quoted 11 lines
Index: CHANGES
=================================> --- CHANGES (revision 5983)
+++ CHANGES (working copy)(quoted diff) +1
-0@@ -17,6 +17,7 @@ Add detection of ITE IT8772E Don't advertise the ipmisensors driver Add detection of SA56004 + Add detection of LM95245 3.3.0 (2011-03-28) Makefile: Check for bison and flex
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH] sensors-detect: Add code to detect LM95245
In reply to Guenter RoeckQuoted 37 lines · Jean Delvare
Hi Guenter,
Review line 1013
Quoted 10 lines · Guenter Roeck
Index: prog/detect/sensors-detect
=================================> > --- prog/detect/sensors-detect (revision 5983)
+++ prog/detect/sensors-detect (working copy)(quoted diff) +3
-0@@ -1008,6 +1008,11 @@ i2c_addrs => [0x2b, 0x19, 0x2a], i2c_detect => sub { lm95231_detect(@_, 1); }, }, { + name => "National Semiconductor LM95245", + driver => "lm95245", + i2c_addrs => [0x2b, 0x19, 0x2a],The datasheet I have lists the following 5 addresses instead:
0x18,0x19,0x29,0x4Cand0x4D, and the lm95245 driver agrees.Quoted 20 lines
(quoted diff) +4
-1+ i2c_detect => sub { lm95231_detect(@_, 2); }, + }, { name => "National Semiconductor LM63", driver => "lm63", i2c_addrs => [0x4c],@@ -4540,7 +4545,7 @@ return 5; } -# Chip to detect: 0 = LM95231, 1 = LM95241 +# Chip to detect: 0 = LM95231, 1 = LM95241, 2 = LM95245 # Registers used: # 0x02: Status (3 unused bits) # 0x03: Configuration (3 unused bits)@@ -4557,6 +4562,7 @@ return if $mid != 0x01; # National Semiconductor return if $chip = 0 && $cid != 0xa1; # LM95231 return if $chip = 1 && $cid != 0xa4; # LM95241 + return if $chip = 2 && $cid != 0xb3; # LM95245
Quoted 6 lines
Review line 4568
Quoted 2 lines
(quoted diff) +0
-0return if i2c_smbus_read_byte_data($file, 0x02) & 0x70; return if i2c_smbus_read_byte_data($file, 0x03) & 0x89;These checks for unused bits were OK for the LM95231/LM95241 but not for the LM95245.
Sigh. Must have been late.
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
PATCH 1/1 sensors-detect: Add code to detect TMP435
In reply to Guenter RoeckAlso update driver support status for TMP431 and TMP432.
--- CHANGES | 1 + prog/detect/sensors-detect | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-)
CHANGES +1 -0
@@ -24,6 +24,7 @@ SVN HEAD Document support for EMC1402, EMC1404, and EMC1424 Detect new revisions of EMC14xx Add detection of EMC1422 + Add detection of TMP435 3.3.5 "Happy Birthday Beddy" (2014-01-22) libsensors: Improve documentation of two functions
prog/detect/sensors-detect +15 -3
@@ -1029,15 +1029,20 @@ use vars qw(@i2c_adapter_names); i2c_detect => sub { tmp42x_detect(@_, 2); }, }, { name => "Texas Instruments TMP431", - driver => "to-be-written", # tmp401 + driver => "tmp401", i2c_addrs => [0x4c, 0x4d], i2c_detect => sub { lm90_detect(@_, 16); }, }, { name => "Texas Instruments TMP432", - driver => "to-be-written", # tmp401 + driver => "tmp401", i2c_addrs => [0x4c, 0x4d], i2c_detect => sub { lm90_detect(@_, 17); }, }, { + name => "Texas Instruments TMP435", + driver => "tmp401", + i2c_addrs => [0x4c], + i2c_detect => sub { lm90_detect(@_, 19); }, + }, { name => "Texas Instruments TMP441", driver => "tmp421", i2c_addrs => [0x1c..0x1f, 0x2a, 0x4c..0x4f],
@@ -4674,7 +4679,8 @@ sub max6680_95_detect # 8 = W83L771W/G, 9 = TMP401, 10 = TMP411, # 11 = W83L771AWG/ASG, 12 = MAX6690, # 13 = ADT7461A/NCT1008, 14 = SA56004, -# 15 = G781, 16 = TMP431, 17 = TMP432, 18 = TMP451 +# 15 = G781, 16 = TMP431, 17 = TMP432, 18 = TMP451, +# 19 = TMP435 # Registers used: # 0x03: Configuration # 0x04: Conversion rate
@@ -4810,6 +4816,12 @@ sub lm90_detect return if $mid != 0x55; # Texas Instruments return 4 if ($cid = 0x00); # TMP451 } + if ($chip = 19) { + return if ($conf & 0x1B) != 0; + return if $rate > 0x0F; + return if $mid != 0x55; # Texas Instruments + return 6 if ($cid = 0x35); # TMP435 + } return; }
Signature · 7 lines
1.9.1 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH] sensors-detect: Add code to detect TMP435
In reply to Guenter RoeckQuoted 8 lines · Guenter Roeck
Also update driver support status for TMP431 and TMP432.
Signed-off-by Guenter Roeck <[email protected]>--- CHANGES | 1 + prog/detect/sensors-detect | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-)
[ ... ]
Review
Quoted 3 lines
(quoted diff) +3
-0+ name => "Texas Instruments TMP435", + driver => "tmp401", + i2c_addrs => [0x4c],
I requested samples to figure out if 0x4c is really the only supported address.
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH] sensors-detect: Add code to detect TMP435
In reply to Guenter RoeckSGkgR3VlbnRlciwKCk9uIFRodSwgNCBEZWMgMjAxNCAxMzo1NzoyMiAtMDgwMCwgR3VlbnRlciBS b2VjayB3cm90ZToKPiBPbiBUaHUsIERlYyAwNCwgMjAxNCBhdCAxMToxNDo1OUFNIC0wODAwLCBH dWVudGVyIFJvZWNrIHdyb3RlOgo+ID4gQWxzbyB1cGRhdGUgZHJpdmVyIHN1cHBvcnQgc3RhdHVz IGZvciBUTVA0MzEgYW5kIFRNUDQzMi4KPiA+IAo+ID4gU2lnbmVkLW9mZi1ieTogR3VlbnRlciBS b2VjayA8bGludXhAcm9lY2stdXMubmV0Pgo+ID4gLS0tCj4gPiAgQ0hBTkdFUyAgICAgICAgICAg ICAgICAgICAgfCAgMSArCj4gPiAgcHJvZy9kZXRlY3Qvc2Vuc29ycy1kZXRlY3QgfCAxOCArKysr KysrKysrKysrKystLS0KPiA+ICAyIGZpbGVzIGNoYW5nZWQsIDE2IGluc2VydGlvbnMoKyksIDMg ZGVsZXRpb25zKC0pCj4gPiAKPiBbIC4uLiBdCj4gCj4gPiArCQluYW1lID0+ICJUZXhhcyBJbnN0 cnVtZW50cyBUTVA0MzUiLAo+ID4gKwkJZHJpdmVyID0+ICJ0bXA0MDEiLAo+ID4gKwkJaTJjX2Fk ZHJzID0+IFsweDRjXSwKPiAKPiBJIHJlcXVlc3RlZCBzYW1wbGVzIHRvIGZpZ3VyZSBvdXQgaWYg MHg0YyBpcyByZWFsbHkgdGhlIG9ubHkKPiBzdXBwb3J0ZWQgYWRkcmVzcy4KCkkgdmVyeSBtdWNo IGRvdWJ0IHRoYXQgMHg0QyBpcyB0aGUgb25seSBzdXBwb3J0ZWQgYWRkcmVzcy4gVGhlcmUgYXJl CmxpdGVyYWxseSBhIGRvemVuIHBsYWNlcyBpbiB0aGUgZGF0YXNoZWV0IHdoaWNoIGluZGljYXRl cyB0aGF0IHRoZQphZGRyZXNzIGlzIHByb2dyYW1tYWJsZSwgc3RhcnRpbmcgd2l0aCB0aGUgcHJv ZHVjdCBkZXNjcmlwdGlvbiBpdHNlbGY6CiLCsTHCsEMgVEVNUEVSQVRVUkUgU0VOU09SIHdpdGgg KC4uLikgYW5kIFByb2dyYW1tYWJsZSBBZGRyZXNzaW5nIi4gQW5kCnlvdSB3b3VsZG4ndCBwdXQg MiBhZGRyZXNzaW5nIHBpbnMgb24gYSBjaGlwIHdpdGggYSBmaXhlZCBhZGRyZXNzLgoKLS0gCkpl YW4gRGVsdmFyZQpTVVNFIEwzIFN1cHBvcnQKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fCmxtLXNlbnNvcnMgbWFpbGluZyBsaXN0CmxtLXNlbnNvcnNAbG0t c2Vuc29ycy5vcmcKaHR0cDovL2xpc3RzLmxtLXNlbnNvcnMub3JnL21haWxtYW4vbGlzdGluZm8v bG0tc2Vuc29ycw=
Re: [lm-sensors] [PATCH] sensors-detect: Add code to detect TMP435
In reply to Guenter RoeckHi Guenter,
Quoted 58 lines · Guenter Roeck
Also update driver support status for TMP431 and TMP432.
Signed-off-by Guenter Roeck <[email protected]>--- CHANGES | 1 + prog/detect/sensors-detect | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-)CHANGES +1
-0@@ -24,6 +24,7 @@ SVN HEAD Document support for EMC1402, EMC1404, and EMC1424 Detect new revisions of EMC14xx Add detection of EMC1422 + Add detection of TMP435 3.3.5 "Happy Birthday Beddy" (2014-01-22) libsensors: Improve documentation of two functionsprog/detect/sensors-detect +9
-3@@ -1029,15 +1029,20 @@ use vars qw(@i2c_adapter_names); i2c_detect => sub { tmp42x_detect(@_, 2); }, }, { name => "Texas Instruments TMP431", - driver => "to-be-written", # tmp401 + driver => "tmp401", i2c_addrs => [0x4c, 0x4d], i2c_detect => sub { lm90_detect(@_, 16); }, }, { name => "Texas Instruments TMP432", - driver => "to-be-written", # tmp401 + driver => "tmp401", i2c_addrs => [0x4c, 0x4d], i2c_detect => sub { lm90_detect(@_, 17); }, }, { + name => "Texas Instruments TMP435", + driver => "tmp401", + i2c_addrs => [0x4c], + i2c_detect => sub { lm90_detect(@_, 19); }, + }, { name => "Texas Instruments TMP441", driver => "tmp421", i2c_addrs => [0x1c..0x1f, 0x2a, 0x4c..0x4f],@@ -4674,7 +4679,8 @@ sub max6680_95_detect # 8 = W83L771W/G, 9 = TMP401, 10 = TMP411, # 11 = W83L771AWG/ASG, 12 = MAX6690, # 13 = ADT7461A/NCT1008, 14 = SA56004, -# 15 = G781, 16 = TMP431, 17 = TMP432, 18 = TMP451 +# 15 = G781, 16 = TMP431, 17 = TMP432, 18 = TMP451, +# 19 = TMP435 # Registers used: # 0x03: Configuration # 0x04: Conversion rate
prog/detect/sensors-detect sub lm90_detect · line 4820
Quoted 5 lines
prog/detect/sensors-detect +2
-0@@ -4810,6 +4816,12 @@ sub lm90_detect return if $mid != 0x55; # Texas Instruments return 4 if ($cid = 0x00); # TMP451 } + if ($chip = 19) { + return if ($conf & 0x1B) != 0;
Would it make sense to also check configuration register 2 at 0x1a? It has 5 unused bits. We do check configuration register 2 (but at a different address) for other brands already.
prog/detect/sensors-detect sub lm90_detect · line 4826
Quoted 6 lines
prog/detect/sensors-detect +4
-0+ return if $rate > 0x0F; + return if $mid != 0x55; # Texas Instruments + return 6 if ($cid = 0x35); # TMP435 + } return; }
Other than that, and the pending programmable address question, patch looks good.
Signature · 7 lines
Jean Delvare SUSE L3 Support _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH] sensors-detect: Add code to detect TMP435
In reply to Guenter RoeckQuoted 62 lines · Jean Delvare
Hi Guenter,
Quoted 59 lines · Guenter Roeck
Also update driver support status for TMP431 and TMP432.
Signed-off-by Guenter Roeck <[email protected]>--- CHANGES | 1 + prog/detect/sensors-detect | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-)CHANGES +1
-0@@ -24,6 +24,7 @@ SVN HEAD Document support for EMC1402, EMC1404, and EMC1424 Detect new revisions of EMC14xx Add detection of EMC1422 + Add detection of TMP435 3.3.5 "Happy Birthday Beddy" (2014-01-22) libsensors: Improve documentation of two functionsprog/detect/sensors-detect +9
-3@@ -1029,15 +1029,20 @@ use vars qw(@i2c_adapter_names); i2c_detect => sub { tmp42x_detect(@_, 2); }, }, { name => "Texas Instruments TMP431", - driver => "to-be-written", # tmp401 + driver => "tmp401", i2c_addrs => [0x4c, 0x4d], i2c_detect => sub { lm90_detect(@_, 16); }, }, { name => "Texas Instruments TMP432", - driver => "to-be-written", # tmp401 + driver => "tmp401", i2c_addrs => [0x4c, 0x4d], i2c_detect => sub { lm90_detect(@_, 17); }, }, { + name => "Texas Instruments TMP435", + driver => "tmp401", + i2c_addrs => [0x4c], + i2c_detect => sub { lm90_detect(@_, 19); }, + }, { name => "Texas Instruments TMP441", driver => "tmp421", i2c_addrs => [0x1c..0x1f, 0x2a, 0x4c..0x4f],@@ -4674,7 +4679,8 @@ sub max6680_95_detect # 8 = W83L771W/G, 9 = TMP401, 10 = TMP411, # 11 = W83L771AWG/ASG, 12 = MAX6690, # 13 = ADT7461A/NCT1008, 14 = SA56004, -# 15 = G781, 16 = TMP431, 17 = TMP432, 18 = TMP451 +# 15 = G781, 16 = TMP431, 17 = TMP432, 18 = TMP451, +# 19 = TMP435 # Registers used: # 0x03: Configuration # 0x04: Conversion rate@@ -4810,6 +4816,12 @@ sub lm90_detect return if $mid != 0x55; # Texas Instruments
Quoted 9 lines
prog/detect/sensors-detect sub lm90_detect · line 4820
Quoted 4 lines
prog/detect/sensors-detect +2
-0return 4 if ($cid = 0x00); # TMP451 } + if ($chip = 19) { + return if ($conf & 0x1B) != 0;Would it make sense to also check configuration register 2 at
0x1a? It has 5 unused bits. We do check configuration register 2 (but at a different address) for other brands already.
Makes sense. I'll add that.
Quoted 10 lines
prog/detect/sensors-detect sub lm90_detect · line 4826
Quoted 6 lines
prog/detect/sensors-detect +4
-0+ return if $rate > 0x0F; + return if $mid != 0x55; # Texas Instruments + return 6 if ($cid = 0x35); # TMP435 + } return; }Other than that, and the pending programmable address question, patch looks good.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors