Possible support for the SMSC SCH5317? (found on HP
Hello,
We're trying to work out how we monitor temperatures in HP dc7700 machines, and we've been looking for possibly interesting chips on the motherboard.
We've found an SMSC SCH5317, which we suspect is related to the SMSC SCH5017 SuperIO and thermal diode monitoring chip, but we can't find documentation for it on the web (it's not mentioned on SMSC's web site). We've tried the dme1737 driver mentioned on the wiki, together with all drivers in mainline 2.6.21, but none of them pick it up.
Has anyone else encountered one of these chips? If so, have you been able to get lm-sensors to read temperatures out of it?
Signature · 9 lines
Thanks in advance for any help, Simon Farnsworth _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] Possible support for the SMSC SCH5317? (found on
Simon,
Could you run sensors-detect and post the output?
Thanks
...juerg
Quoted 17 lines · Simon Farnsworth
Hello,
We're trying to work out how we monitor temperatures in HP dc7700 machines, and we've been looking for possibly interesting chips on the motherboard.
We've found an SMSC SCH5317, which we suspect is related to the SMSC SCH5017 SuperIO and thermal diode monitoring chip, but we can't find documentation for it on the web (it's not mentioned on SMSC's web site). We've tried the dme1737 driver mentioned on the wiki, together with all drivers in mainline 2.6.21, but none of them pick it up.
Has anyone else encountered one of these chips? If so, have you been able to get lm-sensors to read temperatures out of it?
--
Thanks in advance for any help,
Quoted 8 lines
Simon Farnsworth
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] Possible support for the SMSC SCH5317? (found on
In reply to Simon FarnsworthQuoted 4 lines · Juerg Haefliger
Simon,
Could you run sensors-detect and post the output?
Here you go:
# sensors-detect # sensors-detect revision 4348 (2007-03-18 02:45:21 -0700)
This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.
We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no): YES
Probing for PCI bus adapters...
Sorry, no known PCI bus adapters found.
We will now try to load each adapter module in turn.
If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.
To continue, we need module i2c-dev' to be loaded. Do you want to load i2c-dev' now? (YES/no): YES Module loaded successfully.
We are now going to do the I2C/SMBus adapter probings. Some chips may be double detected; we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed.
Next adapter: saa7133[0] (i2c-0)
Do you want to scan it? (YES/no/selectively): YES
Client found at address 0x4b
Handled by driver tuner' (already loaded), chip type tda8290+75a'
(note: this is probably NOT a sensor chip!)
Client found at address 0x50
Probing for `Analog Devices ADM1033'... No Probing for `Analog Devices ADM1034'... No Probing for `SPD EEPROM'... No Probing for `EDID EEPROM'... No Probing for `Maxim MAX6900'... No
Some chips are also accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (YES/no): YES
Probing for `National Semiconductor LM78' at 0x290... No Probing for `National Semiconductor LM78-J' at 0x290... No Probing for `National Semiconductor LM79' at 0x290... No Probing for `Winbond W83781D' at 0x290... No Probing for `Winbond W83782D' at 0x290... No Probing for `Silicon Integrated Systems SIS5595'... No Probing for `VIA VT82C686 Integrated Sensors'... No Probing for `VIA VT8231 Integrated Sensors'... No Probing for `IPMI BMC KCS' at 0xca0... No Probing for `IPMI BMC SMIC' at 0xca8... No
Some Super I/O chips may also contain sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no): YES Probing for Super-I/O at 0x2e/0x2f
Trying family `ITE'... Yes
Found unknown chip with ID 0x8502
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found unknown chip with ID 0x8502
Trying family `VIA/Winbond/Fintek'... No
Probing for Super-I/O at 0x4e/0x4f
Trying family `ITE'... No Trying family `National Semiconductor'... No Trying family `SMSC'... Yes
Found unknown chip with ID 0x0b00
Trying family `VIA/Winbond/Fintek'... No
Some CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no): YES
AMD K8 thermal sensors... No Intel Core family thermal sensor... No Intel AMB FB-DIMM thermal sensor... No
Sorry, no sensors were detected.
Either your sensors are not supported, or they are connected to an I2C or SMBus adapter that is not supported. See doc/FAQ, doc/lm_sensors-FAQ.html or http://www.lm-sensors.org/wiki/FAQ
(FAQ #4.24.3) for further information.
If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.
Note that I suspect I've got an SMSC 5137 Super-I/O chip, but I can't find information on it.
Signature · 9 lines
Hope this helps, Simon Farnsworth _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] Possible support for the SMSC SCH5317? (found on
In reply to Simon FarnsworthSimon,
If you feel adventurous, you can add device ID 0x85 to the smsc47b397 driver which also supports the sch5037 chip. You'd have to modify it as follows:
static int __init smsc47b397_find(unsigned short *addr)
{
u8 id, rev;
superio_enter();
id = superio_inb(SUPERIO_REG_DEVID);- if ((id != 0x6f) && (id != 0x81)) {
+ if ((id != 0x6f) && (id != 0x81) && (id != 0x85)) {
superio_exit();
return -ENODEV;
}In the meantime, I'll try to get some data on the sch5137.
...juerg
Quoted 91 lines · Simon Farnsworth
Quoted 4 lines · Juerg Haefliger
Simon,
Could you run sensors-detect and post the output?
Here you go:
# sensors-detect # sensors-detect revision 4348 (2007-03-18 02:45:21 -0700)This program will help you determine which kernel modules you need to load to use
lm_sensorsmost effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no): YES
Probing for PCI bus adapters...
Sorry, no known PCI bus adapters found.We will now try to load each adapter module in turn.
If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.To continue, we need module
i2c-dev' to be loaded. Do you want to loadi2c-dev' now? (YES/no): YES Module loaded successfully.We are now going to do the I2C/SMBus adapter probings. Some chips may be double detected; we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed.Next adapter: saa7133[0] (i2c-0)
Do you want to scan it? (YES/no/selectively): YES
Client found at address0x4b
Handled by drivertuner' (already loaded), chip typetda8290+75a'
(note: this is probably NOT a sensor chip!)
Client found at address0x50Probing for `Analog Devices ADM1033'... No Probing for `Analog Devices ADM1034'... No Probing for `SPD EEPROM'... No Probing for `EDID EEPROM'... No Probing for `Maxim MAX6900'... NoSome chips are also accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (YES/no): YES
Probing for `National Semiconductor LM78' at 0x290... No Probing for `National Semiconductor LM78-J' at 0x290... No Probing for `National Semiconductor LM79' at 0x290... No Probing for `Winbond W83781D' at 0x290... No Probing for `Winbond W83782D' at 0x290... No Probing for `Silicon Integrated Systems SIS5595'... No Probing for `VIA VT82C686 Integrated Sensors'... No Probing for `VIA VT8231 Integrated Sensors'... No Probing for `IPMI BMC KCS' at 0xca0... No Probing for `IPMI BMC SMIC' at 0xca8... NoSome Super I/O chips may also contain sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no): YES Probing for Super-I/O at 0x2e/0x2f
Trying family `ITE'... Yes
Found unknown chip with ID0x8502
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found unknown chip with ID0x8502
Trying family `VIA/Winbond/Fintek'... No
Probing for Super-I/O at 0x4e/0x4fTrying family `ITE'... No Trying family `National Semiconductor'... No Trying family `SMSC'... YesFound unknown chip with ID
0x0b00
Trying family `VIA/Winbond/Fintek'... NoSome CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no): YES
AMD K8 thermal sensors... No Intel Core family thermal sensor... No Intel AMB FB-DIMM thermal sensor... NoSorry, no sensors were detected.
Either your sensors are not supported, or they are connected to an I2C or SMBus adapter that is not supported. See doc/FAQ, doc/lm_sensors-FAQ.html or http://www.lm-sensors.org/wiki/FAQ
(FAQ #4.24.3) for further information.
If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.
Quoted 8 lines
Note that I suspect I've got an SMSC 5137 Super-I/O chip, but I can't find information on it.
--
Hope this helps,Simon Farnsworth
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] Possible support for the SMSC SCH5317? (found on
In reply to Simon FarnsworthQuoted 14 lines · Juerg Haefliger
Simon,
If you feel adventurous, you can add device ID
0x85to the smsc47b397 driver which also supports the sch5037 chip. You'd have to modify it as follows:static int
__initsmsc47b397_find(unsigned short *addr){ u8 id, rev; superio_enter(); id = superio_inb(SUPERIO_REG_DEVID);
Review
Quoted 5 lines
(quoted diff) +1
-1- if ((id != 0x6f) && (id != 0x81)) { + if ((id != 0x6f) && (id != 0x81) && (id != 0x85)) { superio_exit(); return -ENODEV; }
Did this, and the chip is found, but the numbers I get back look wrong:
dmesg output from the module:
smsc47b397: found SMSC LPC47B397-NC (base address 0x0480, revision 2)
sensors output:
# sensors smsc47b397-isa-0480 Adapter: ISA adapter temp1: +44°C temp2: +53°C temp3: +26°C temp4: -128°C fan1: 2011 RPM fan2: 82 RPM fan3: 1262 RPM fan4: 1095 RPM
temp1 and temp2 both look likely for CPU, while temp3 might well be system temperature. temp4 is completely out, and I'm not sure how I'd relate the fan speeds to the fans in the system (I have a fan in the front, a CPU fan, and a fan in the PSU.
Signature · 9 lines
Thanks for the help, Simon Farnsworth _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] Possible support for the SMSC SCH5317? (found on
In reply to Simon FarnsworthQuoted 27 lines · Simon Farnsworth
Quoted 14 lines · Juerg Haefliger
Simon,
If you feel adventurous, you can add device ID
0x85to the smsc47b397 driver which also supports the sch5037 chip. You'd have to modify it as follows:static int
__initsmsc47b397_find(unsigned short *addr){ u8 id, rev; superio_enter(); id = superio_inb(SUPERIO_REG_DEVID);Review
Quoted 5 lines
(quoted diff) +1
-1- if ((id != 0x6f) && (id != 0x81)) { + if ((id != 0x6f) && (id != 0x81) && (id != 0x85)) { superio_exit(); return -ENODEV; }Did this, and the chip is found, but the numbers I get back look wrong:
dmesg output from the module:
smsc47b397: found SMSC LPC47B397-NC (base address0x0480, revision 2)sensors output:
Quoted 11 lines
# sensors smsc47b397-isa-0480 Adapter: ISA adapter temp1: +44°C temp2: +53°C temp3: +26°C temp4: -128°C fan1: 2011 RPM fan2: 82 RPM fan3: 1262 RPM fan4: 1095 RPM
Well I think that looks pretty good.
Quoted 4 lines
temp1 and temp2 both look likely for CPU, while temp3 might well be system temperature. temp4 is completely out, and I'm not sure how I'd relate the fan speeds to the fans in the system (I have a fan in the front, a CPU fan, and a fan in the PSU.
Run some stress tests like 'stress' or 'cpuburn-in' to correlate temps to CPUs. Are the fans automatically adjusted? If yes, this should also tell you which one is the CPU fan, assuming it spins up under load. Alternatively, you can unplug one fan at a time to correlate the physical reality to the readings.
...juerg
Quoted 6 lines
--
Thanks for the help,Simon Farnsworth
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] Possible support for the SMSC SCH5317? (found on
In reply to Simon FarnsworthHi Juerg, hi Simon,
Quoted 40 lines · Juerg Haefliger
Quoted 27 lines · Simon Farnsworth
Quoted 14 lines · Juerg Haefliger
Simon,
If you feel adventurous, you can add device ID
0x85to the smsc47b397 driver which also supports the sch5037 chip. You'd have to modify it as follows:static int
__initsmsc47b397_find(unsigned short *addr){ u8 id, rev; superio_enter(); id = superio_inb(SUPERIO_REG_DEVID);Review
Quoted 5 lines
(quoted diff) +1
-1- if ((id != 0x6f) && (id != 0x81)) { + if ((id != 0x6f) && (id != 0x81) && (id != 0x85)) { superio_exit(); return -ENODEV; }Did this, and the chip is found, but the numbers I get back look wrong:
dmesg output from the module:
smsc47b397: found SMSC LPC47B397-NC (base address0x0480, revision 2)sensors output:
Quoted 11 lines
# sensors smsc47b397-isa-0480 Adapter: ISA adapter temp1: +44°C temp2: +53°C temp3: +26°C temp4: -128°C fan1: 2011 RPM fan2: 82 RPM fan3: 1262 RPM fan4: 1095 RPM
Quoted 1 line
Well I think that looks pretty good.
I agree it looks quite good. temp4 and fan2 are probably not connected, thus the wrong values, but the 6 other values look just fine.
Quoted 10 lines
Quoted 4 lines
temp1 and temp2 both look likely for CPU, while temp3 might well be system temperature. temp4 is completely out, and I'm not sure how I'd relate the fan speeds to the fans in the system (I have a fan in the front, a CPU fan, and a fan in the PSU.
Run some stress tests like 'stress' or 'cpuburn-in' to correlate temps to CPUs. Are the fans automatically adjusted? If yes, this should also tell you which one is the CPU fan, assuming it spins up under load. Alternatively, you can unplug one fan at a time to correlate the physical reality to the readings.
So it looks like we could easily add support for this chip. Juerg, can you please take care of it? Pick list:
* patch for sensors-detect
* patch for the smsc47b397 driver
* update Devices in the wiki
Thanks,
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] Possible support for the SMSC SCH5317? (found on
In reply to Simon FarnsworthQuoted 59 lines · Jean Delvare
Hi Juerg, hi Simon,
Quoted 40 lines · Juerg Haefliger
Quoted 27 lines · Simon Farnsworth
Quoted 14 lines · Juerg Haefliger
Simon,
If you feel adventurous, you can add device ID
0x85to the smsc47b397 driver which also supports the sch5037 chip. You'd have to modify it as follows:static int
__initsmsc47b397_find(unsigned short *addr){ u8 id, rev; superio_enter(); id = superio_inb(SUPERIO_REG_DEVID);Review
Quoted 5 lines
(quoted diff) +1
-1- if ((id != 0x6f) && (id != 0x81)) { + if ((id != 0x6f) && (id != 0x81) && (id != 0x85)) { superio_exit(); return -ENODEV; }Did this, and the chip is found, but the numbers I get back look wrong:
dmesg output from the module:
smsc47b397: found SMSC LPC47B397-NC (base address0x0480, revision 2)sensors output:
Quoted 11 lines
# sensors smsc47b397-isa-0480 Adapter: ISA adapter temp1: +44°C temp2: +53°C temp3: +26°C temp4: -128°C fan1: 2011 RPM fan2: 82 RPM fan3: 1262 RPM fan4: 1095 RPMQuoted 1 line
Well I think that looks pretty good.
I agree it looks quite good. temp4 and fan2 are probably not connected, thus the wrong values, but the 6 other values look just fine.
Quoted 10 lines
Quoted 4 lines
temp1 and temp2 both look likely for CPU, while temp3 might well be system temperature. temp4 is completely out, and I'm not sure how I'd relate the fan speeds to the fans in the system (I have a fan in the front, a CPU fan, and a fan in the PSU.
Run some stress tests like 'stress' or 'cpuburn-in' to correlate temps to CPUs. Are the fans automatically adjusted? If yes, this should also tell you which one is the CPU fan, assuming it spins up under load. Alternatively, you can unplug one fan at a time to correlate the physical reality to the readings.
Quoted 6 lines
So it looks like we could easily add support for this chip. Juerg, can you please take care of it? Pick list:
* patch for sensors-detect
* patch for the smsc47b397 driver
* update Devices in the wiki
Will do.
...juerg
Quoted 4 lines
Thanks,
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] Possible support for the SMSC SCH5317? (found on
In reply to Simon FarnsworthQuoted 14 lines · Simon Farnsworth
sensors output:
# sensors smsc47b397-isa-0480 Adapter: ISA adapter temp1: +44°C temp2: +53°C temp3: +26°C temp4: -128°C fan1: 2011 RPM fan2: 82 RPM fan3: 1262 RPM fan4: 1095 RPM
Quoted 4 lines
temp1 and temp2 both look likely for CPU, while temp3 might well be system temperature. temp4 is completely out, and I'm not sure how I'd relate the fan speeds to the fans in the system (I have a fan in the front, a CPU fan, and a fan in the PSU.
I've now experimented with cpuburn and stopping fans. It looks like 82 RPM is the lowest speed this chip reports, as stopping a fan briefly caused it to report 82 RPM.
I've determined that on my HP dc7700, temp1 is CPU temperature, temp2 appears to be chipset temperature, and temp3 is system temperature.
fan1 is CPU, fan3 is PSU fan, and fan4 is the chassis fan on the front of the box. fan2 and temp4 appear to be disconnected.
Signature · 9 lines
Hope this is of interest to someone, Simon Farnsworth _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] Possible support for the SMSC SCH5317? (found on
In reply to Simon FarnsworthHi Simon,
Quoted 24 lines · Simon Farnsworth
Quoted 14 lines · Simon Farnsworth
sensors output:
# sensors smsc47b397-isa-0480 Adapter: ISA adapter temp1: +44°C temp2: +53°C temp3: +26°C temp4: -128°C fan1: 2011 RPM fan2: 82 RPM fan3: 1262 RPM fan4: 1095 RPMQuoted 4 lines
temp1 and temp2 both look likely for CPU, while temp3 might well be system temperature. temp4 is completely out, and I'm not sure how I'd relate the fan speeds to the fans in the system (I have a fan in the front, a CPU fan, and a fan in the PSU.
I've now experimented with cpuburn and stopping fans. It looks like 82 RPM is the lowest speed this chip reports, as stopping a fan briefly caused it to report 82 RPM.
Quoted 7 lines
I've determined that on my HP dc7700, temp1 is CPU temperature, temp2 appears to be chipset temperature, and temp3 is system temperature.
fan1 is CPU, fan3 is PSU fan, and fan4 is the chassis fan on the front of the box. fan2 and temp4 appear to be disconnected.
--
Hope this is of interest to someone,
If you have a sensors.conf for your system, please post it and I'll put it in the Wiki.
Thanks
...juerg
Quoted 3 lines
Simon Farnsworth
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] Possible support for the SMSC SCH5317? (found on
In reply to Simon FarnsworthQuoted 6 lines · Juerg Haefliger
If you have a sensors.conf for your system, please post it and I'll put it in the Wiki.
Thanks
...juerg
I'm just using the following, as I don't need to track all the fans or temperatures:
chip "smsc47b397-*"
label fan1 "CPU Fan"
label fan4 "Sys Fan"
label temp1 "CPU Temp"
label temp3 "Sys Temp"
I think I could add:
label temp2 "M/B Temp"
label fan3 "PSU Fan"
to get all the fans and temperatures on the HP dc7700 labelled properly.
Signature · 7 lines
Simon Farnsworth _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors