lm-sensors: detect more SMSC chips
PATCH 1/1 lm-sensors: detect more SMSC chips
This patch adds more known SMSC Super IO chips to sensors-detect.
prog/detect/sensors-detect +70 -0
@@ -1770,6 +1770,76 @@ use vars qw(@chip_kern24_ids @chip_kern2 driver => "via-smbus-only", devid => 0x77, }, + { + name => "SMSC FDC37B72x Super IO", + driver => "not-a-sensor", + devid => 0x4c, + }, + { + name => "SMSC FDC37B78x Super IO", + driver => "not-a-sensor", + devid => 0x44, + }, + { + name => "SMSC FDC37C672 Super IO", + driver => "not-a-sensor", + devid => 0x40, + }, + { + name => "SMSC FDC37M707 Super IO", + driver => "not-a-sensor", + devid => 0x42, + }, + { + name => "SMSC FDC37M81x Super IO", + driver => "not-a-sensor", + devid => 0x4d, + }, + { + name => "SMSC LPC47B34x Super IO", + driver => "not-a-sensor", + devid => 0x56, + }, + { + name => "SMSC LPC47B357 Super IO", + # no datasheet + devid => 0x5d, + }, + { + name => "SMSC LPC47B37x Super IO", + driver => "to-be-written", + devid => 0x52, + }, + { + name => "SMSC LPC47N252 Super IO", + driver => "to-be-written", + devid => 0x0e, + }, + { + name => "SMSC LPC47U33x Super IO", + driver => "to-be-written", + devid => 0x54, + }, + { + name => "SMSC SCH3112 Super IO", + driver => "dme1737", + devid => 0x7c, + }, + { + name => "SMSC SCH3114 Super IO", + driver => "dme1737", + devid => 0x7d, + }, + { + name => "SMSC SCH3116 Super IO", + driver => "dme1737", + devid => 0x7f, + }, + { + name => "SMSC SCH4307 Super IO", + driver => "to-be-written", + devid => 0x90, + }, ], # Non-standard SMSC detection callback and chip list. These chips differ # from the standard ones listed above in that the device ID register
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Juerg,
Quoted 1 line · Juerg Haefliger
This patch adds more known SMSC Super IO chips to sensors-detect.
Wow, this is a long list. I'm curious where you got it.
Quoted 21 lines
prog/detect/sensors-detect +15
-0@@ -1770,6 +1770,76 @@ use vars qw(@chip_kern24_ids @chip_kern2 driver => "via-smbus-only", devid => 0x77, }, + { + name => "SMSC FDC37B72x Super IO", + driver => "not-a-sensor", + devid => 0x4c, + }, + { + name => "SMSC FDC37B78x Super IO", + driver => "not-a-sensor", + devid => 0x44, + }, + { + name => "SMSC FDC37C672 Super IO", + driver => "not-a-sensor", + devid => 0x40, + },
prog/detect/sensors-detect use vars qw(@chip_kern24_ids @chip_kern2 · line 1797
Quoted 10 lines
prog/detect/sensors-detect +10
-0+ { + name => "SMSC FDC37M707 Super IO", + driver => "not-a-sensor", + devid => 0x42, + }, + { + name => "SMSC FDC37M81x Super IO", + driver => "not-a-sensor", + devid => 0x4d, + },
Are you sure these use the standard register map? All the other SMSC FDC* chips use the flat SMSC-specific mapping.
Quoted 4 lines
prog/detect/sensors-detect +4
-0+ { + name => "SMSC LPC47B34x Super IO", + driver => "not-a-sensor", + devid => 0x56,
prog/detect/sensors-detect use vars qw(@chip_kern24_ids @chip_kern2 · line 1811
Quoted 10 lines
prog/detect/sensors-detect +10
-0+ }, + { + name => "SMSC LPC47B357 Super IO", + # no datasheet + devid => 0x5d, + }, + { + name => "SMSC LPC47B37x Super IO", + driver => "to-be-written", + devid => 0x52,
That's not OK. For "to-be-written", you need to give the logical device number for the hardware monitoring function. BTW, we usually append "Sensors" (or "Fan Sensors", etc...) to the name for Super-I/O chips with sensors functions.
Quoted 24 lines
prog/detect/sensors-detect +24
-0+ }, + { + name => "SMSC LPC47N252 Super IO", + driver => "to-be-written", + devid => 0x0e, + }, + { + name => "SMSC LPC47U33x Super IO", + driver => "to-be-written", + devid => 0x54, + }, + { + name => "SMSC SCH3112 Super IO", + driver => "dme1737", + devid => 0x7c, + }, + { + name => "SMSC SCH3114 Super IO", + driver => "dme1737", + devid => 0x7d, + }, + { + name => "SMSC SCH3116 Super IO", + driver => "dme1737",
prog/detect/sensors-detect use vars qw(@chip_kern24_ids @chip_kern2 · line 1845
Quoted 10 lines
prog/detect/sensors-detect +7
-0+ devid => 0x7f, + }, + { + name => "SMSC SCH4307 Super IO", + driver => "to-be-written", + devid => 0x90, + }, ], # Non-standard SMSC detection callback and chip list. These chips differ # from the standard ones listed above in that the device ID register
I am also worried that the SMSC chip list starts being quite long and it's easy to add duplicates without noticing. It would be better if the list was consistently sorted by either name or devid.
Thanks,
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Jean,
Quoted 6 lines · Jean Delvare
Hi Juerg,
Quoted 1 line · Juerg Haefliger
This patch adds more known SMSC Super IO chips to sensors-detect.
Wow, this is a long list. I'm curious where you got it.
By collecting datasheets from the web and running sensors-detect and opening up computers at work :-)
Quoted 26 lines
Quoted 26 lines
prog/detect/sensors-detect 2007-07-05 09:15:28.194801000 -0700 renamed from prog/detect/sensors-detect 2007-07-05 08:07:30.332663000 -0700 +20
-0@@ -1770,6 +1770,76 @@ use vars qw(@chip_kern24_ids @chip_kern2 driver => "via-smbus-only", devid => 0x77, }, + { + name => "SMSC FDC37B72x Super IO", + driver => "not-a-sensor", + devid => 0x4c, + }, + { + name => "SMSC FDC37B78x Super IO", + driver => "not-a-sensor", + devid => 0x44, + }, + { + name => "SMSC FDC37C672 Super IO", + driver => "not-a-sensor", + devid => 0x40, + }, + { + name => "SMSC FDC37M707 Super IO", + driver => "not-a-sensor", + devid => 0x42, + },
Quoted 8 lines
prog/detect/sensors-detect 2007-07-05 09:15:28.194801000 -0700 use vars qw(@chip_kern24_ids @chip_kern2 · line 1797
Quoted 5 lines
prog/detect/sensors-detect 2007-07-05 09:15:28.194801000 -0700 renamed from prog/detect/sensors-detect 2007-07-05 08:07:30.332663000 -0700 +5
-0+ { + name => "SMSC FDC37M81x Super IO", + driver => "not-a-sensor", + devid => 0x4d, + },Are you sure these use the standard register map? All the other SMSC FDC* chips use the flat SMSC-specific mapping.
I'm pretty sure that's correct. Not all of the FDC chips use the flat mapping but I'll double-check.
Quoted 15 lines
Quoted 4 lines
prog/detect/sensors-detect 2007-07-05 09:15:28.194801000 -0700 renamed from prog/detect/sensors-detect 2007-07-05 08:07:30.332663000 -0700 +4
-0+ { + name => "SMSC LPC47B34x Super IO", + driver => "not-a-sensor", + devid => 0x56,prog/detect/sensors-detect 2007-07-05 09:15:28.194801000 -0700 use vars qw(@chip_kern24_ids @chip_kern2 · line 1811
Quoted 10 lines
prog/detect/sensors-detect 2007-07-05 09:15:28.194801000 -0700 renamed from prog/detect/sensors-detect 2007-07-05 08:07:30.332663000 -0700 +10
-0+ }, + { + name => "SMSC LPC47B357 Super IO", + # no datasheet + devid => 0x5d, + }, + { + name => "SMSC LPC47B37x Super IO", + driver => "to-be-written", + devid => 0x52,
Quoted 2 lines
That's not OK. For "to-be-written", you need to give the logical device number for the hardware monitoring function.
Oh, right. I was under the impression it defaults back to 0xa if not specified.
Quoted 3 lines
BTW, we usually append
"Sensors" (or "Fan Sensors", etc...) to the name for Super-I/O chips with sensors functions.
OK, will do.
Quoted 35 lines
Quoted 24 lines
prog/detect/sensors-detect 2007-07-05 09:15:28.194801000 -0700 renamed from prog/detect/sensors-detect 2007-07-05 08:07:30.332663000 -0700 +24
-0+ }, + { + name => "SMSC LPC47N252 Super IO", + driver => "to-be-written", + devid => 0x0e, + }, + { + name => "SMSC LPC47U33x Super IO", + driver => "to-be-written", + devid => 0x54, + }, + { + name => "SMSC SCH3112 Super IO", + driver => "dme1737", + devid => 0x7c, + }, + { + name => "SMSC SCH3114 Super IO", + driver => "dme1737", + devid => 0x7d, + }, + { + name => "SMSC SCH3116 Super IO", + driver => "dme1737",prog/detect/sensors-detect 2007-07-05 09:15:28.194801000 -0700 use vars qw(@chip_kern24_ids @chip_kern2 · line 1845
Quoted 10 lines
prog/detect/sensors-detect 2007-07-05 09:15:28.194801000 -0700 renamed from prog/detect/sensors-detect 2007-07-05 08:07:30.332663000 -0700 +7
-0+ devid => 0x7f, + }, + { + name => "SMSC SCH4307 Super IO", + driver => "to-be-written", + devid => 0x90, + }, ], # Non-standard SMSC detection callback and chip list. These chips differ # from the standard ones listed above in that the device ID register
Quoted 3 lines
I am also worried that the SMSC chip list starts being quite long and it's easy to add duplicates without noticing. It would be better if the list was consistently sorted by either name or devid.
True, I'll sort the list by chip name.
...juerg
Quoted 4 lines
Thanks,
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors