* [lm-sensors] [PATCH] lm-sensors: add sch5027 support
@ 2008-02-01 6:42 Juerg Haefliger
2008-02-03 21:12 ` Jean Delvare
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Juerg Haefliger @ 2008-02-01 6:42 UTC (permalink / raw)
To: lm-sensors
[-- Attachment #1: Type: text/plain, Size: 128 bytes --]
This patch adds detection of the SMSC SCH5027 Super-IO to sensors-detect.
Signed-Off-By: Juerg Haefliger <juergh at gmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: add-support-for-sch5027.patch --]
[-- Type: text/x-patch; name=add-support-for-sch5027.patch, Size: 3133 bytes --]
Index: lm-sensors-3/prog/detect/sensors-detect
===================================================================
--- lm-sensors-3.orig/prog/detect/sensors-detect 2008-01-31 22:39:29.000000000 -0800
+++ lm-sensors-3/prog/detect/sensors-detect 2008-01-31 22:39:38.000000000 -0800
@@ -1411,7 +1411,13 @@
name => "SMSC DME1737",
driver => "dme1737",
i2c_addrs => [0x2c..0x2e],
- i2c_detect => sub { dme1737_detect(@_); },
+ i2c_detect => sub { dme1737_detect(1, @_); },
+ },
+ {
+ name => "SMSC SCH5027D-NW",
+ driver => "dme1737",
+ i2c_addrs => [0x2c..0x2e],
+ i2c_detect => sub { dme1737_detect(2, @_); },
},
{
name => "Fintek F75111R/RG/N (GPIO)",
@@ -1896,6 +1902,12 @@
logdev => 0x08,
},
{
+ name => "SMSC SCH5027D-NW Super IO",
+ # Hardware monitoring features are accessed on the SMBus
+ driver => "via-smbus-only",
+ devid => 0x89,
+ },
+ {
name => "SMSC SCH5307-NS Super IO",
driver => "smsc47b397",
devid => 0x81,
@@ -4342,7 +4354,9 @@
{
my ($vendor,$file,$addr) = @_;
return if (i2c_smbus_read_byte_data($file,0x3e)) != $vendor ;
- return if (i2c_smbus_read_byte_data($file,0x3f) & 0xf0) != 0x60;
+
+ my $verstep = i2c_smbus_read_byte_data($file,0x3f);
+ return if ($verstep & 0xf0) != 0x60;
if ($vendor == 0x41) # Analog Devices
{
@@ -4350,6 +4364,13 @@
return (8);
}
+ if ($vendor == 0x5c) # SMSC
+ {
+ # Return undef if this is a SCH5027
+ return if $verstep >= 0x69 and
+ i2c_smbus_read_byte_data($file, 0xba) == 0x0f;
+ }
+
return (7);
}
@@ -5166,21 +5187,34 @@
return ($addr == 0x2d ? 6 : 5);
}
-# $_[0]: A reference to the file descriptor to access this chip.
-# $_[1]: Address
+# $_[0]: Chip to detect
+# (1 = DME1737, 2 = SCH5027)
+# $_[1]: A reference to the file descriptor to access this chip.
+# $_[2]: Address
# Returns: undef if not detected, 5 or 6 if detected.
# Registers used:
# 0x3E: Manufacturer ID
# 0x3F: Version/Stepping
# 0x73: Read-only test register (4 test bits)
# 0x8A: Read-only test register (7 test bits)
+# 0xBA: Read-only test register (8 test bits)
sub dme1737_detect
{
- my ($file, $addr) = @_;
- return unless i2c_smbus_read_byte_data($file, 0x3E) == 0x5c
- and (i2c_smbus_read_byte_data($file, 0x3F) & 0xF8) == 0x88
- and (i2c_smbus_read_byte_data($file, 0x73) & 0x0F) == 0x09
- and (i2c_smbus_read_byte_data($file, 0x8A) & 0x7F) == 0x4D;
+ my ($chip, $file, $addr) = @_;
+ my $vendor = i2c_smbus_read_byte_data($file, 0x3E);
+ my $verstep = i2c_smbus_read_byte_data($file, 0x3F);
+
+ return unless $vendor == 0x5C; # SMSC
+
+ if ($chip == 1) { # DME1737
+ return unless ($verstep & 0xF8) == 0x88 and
+ (i2c_smbus_read_byte_data($file, 0x73) & 0x0F) == 0x09 and
+ (i2c_smbus_read_byte_data($file, 0x8A) & 0x7F) == 0x4D;
+ } elsif ($chip == 2) { # SCH5027
+ return unless $verstep >= 0x69 and $verstep <= 0x6F and
+ i2c_smbus_read_byte_data($file, 0xBA) == 0x0F;
+ }
+
return ($addr == 0x2e ? 6 : 5);
}
[-- Attachment #3: Type: text/plain, Size: 153 bytes --]
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [lm-sensors] [PATCH] lm-sensors: add sch5027 support
2008-02-01 6:42 [lm-sensors] [PATCH] lm-sensors: add sch5027 support Juerg Haefliger
@ 2008-02-03 21:12 ` Jean Delvare
2008-02-06 12:41 ` Rudolf Marek
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2008-02-03 21:12 UTC (permalink / raw)
To: lm-sensors
On Thu, 31 Jan 2008 22:42:48 -0800, Juerg Haefliger wrote:
> This patch adds detection of the SMSC SCH5027 Super-IO to sensors-detect.
>
> Signed-Off-By: Juerg Haefliger <juergh at gmail.com>
Applied, thanks.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [lm-sensors] [PATCH] lm-sensors: add sch5027 support
2008-02-01 6:42 [lm-sensors] [PATCH] lm-sensors: add sch5027 support Juerg Haefliger
2008-02-03 21:12 ` Jean Delvare
@ 2008-02-06 12:41 ` Rudolf Marek
2008-02-06 13:30 ` Michal Medvecký
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Rudolf Marek @ 2008-02-06 12:41 UTC (permalink / raw)
To: lm-sensors
Hi all,
My friend Michal has this chip. It detects the chip, but it still tells to load
the lm85 driver.
Michal, please can you post the full output of sensors-detect script as
attachment (txt/plain)? Thanks.
Here is the snip, he used latest SVN version already.
[13:31] *misko* jo to je ta deska
[13:31] *misko* Trying family `SMSC'... Yes
[13:31] *misko* Found `SMSC SCH5027D-NW Super IO'
[13:31] *misko* (hardware monitoring capabilities accessible via SMBus only)
...
[13:32] *misko* Driver `lm85' (should be inserted):
[13:32] *misko* Detects correctly:
[13:32] *misko* * Bus `SMBus I801 adapter at 3000'
[13:32] *misko* Busdriver `i2c-i801', I2C address 0x2e
[13:32] *misko* Chip `lm85' (confidence: 6)
[13:32] *misko* Driver `coretemp' (should be inserted):
[13:32] *misko* Detects correctly:
[13:32] *misko* * Chip `Intel Core family thermal sensor' (confidence: 9)
Thank you,
Rudolf
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [lm-sensors] [PATCH] lm-sensors: add sch5027 support
2008-02-01 6:42 [lm-sensors] [PATCH] lm-sensors: add sch5027 support Juerg Haefliger
2008-02-03 21:12 ` Jean Delvare
2008-02-06 12:41 ` Rudolf Marek
@ 2008-02-06 13:30 ` Michal Medvecký
2008-02-06 13:33 ` Juerg Haefliger
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Michal Medvecký @ 2008-02-06 13:30 UTC (permalink / raw)
To: lm-sensors
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
Ehlo,
here it comes
[-- Attachment #2: bla.txt --]
[-- Type: text/plain, Size: 4785 bytes --]
# sensors-detect revision $Revision$
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): Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7
We will now try to load each adapter module in turn.
Module `i2c-i801' already loaded.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.
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: SMBus I801 adapter at 3000 (i2c-0)
Do you want to scan it? (YES/no/selectively): Client found at address 0x2e
Handled by driver `lm85' (already loaded), chip type `lm85'
Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50
Handled by driver `eeprom' (already loaded), chip type `eeprom'
(note: this is probably NOT a sensor chip!)
Client found at address 0x52
Handled by driver `eeprom' (already loaded), chip type `eeprom'
(note: this is probably NOT a sensor chip!)
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): 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): Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... No
Trying family `ITE'... No
Some CPUs or memory controllers may also contain embedded sensors.
Do you want to scan for them? (YES/no): AMD K8 thermal sensors... No
AMD K10 thermal sensors... No
Intel Core family thermal sensor... Success!
(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `lm85' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 3000'
Busdriver `i2c-i801', I2C address 0x2e
Chip `lm85' (confidence: 6)
Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)
Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO): To load everything that is needed, add this to one of the system
initialization scripts (e.g. /etc/rc.d/rc.local):
#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe lm85
# Warning: the required module coretemp is not currently installed
# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe coretemp
/usr/bin/sensors -s
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones! You really
should try these commands right now to make sure everything is
working properly. Monitoring programs won't work until the needed
modules are loaded.
[-- Attachment #3: Type: text/plain, Size: 153 bytes --]
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [lm-sensors] [PATCH] lm-sensors: add sch5027 support
2008-02-01 6:42 [lm-sensors] [PATCH] lm-sensors: add sch5027 support Juerg Haefliger
` (2 preceding siblings ...)
2008-02-06 13:30 ` Michal Medvecký
@ 2008-02-06 13:33 ` Juerg Haefliger
2008-02-06 13:43 ` Michal Medvecký
2008-02-06 13:46 ` Juerg Haefliger
5 siblings, 0 replies; 7+ messages in thread
From: Juerg Haefliger @ 2008-02-06 13:33 UTC (permalink / raw)
To: lm-sensors
Michal,
Can you unload the lm85 driver before running sensors-detect?
...juerg
On Feb 6, 2008 5:30 AM, Michal Medvecký <michal@medvecky.net> wrote:
> Ehlo,
>
> here it comes
>
>
> # sensors-detect revision $Revision$
>
> 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): Probing for PCI bus adapters...
> Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7
>
> We will now try to load each adapter module in turn.
> Module `i2c-i801' already loaded.
> If you have undetectable or unsupported adapters, you can have them
> scanned by manually loading the modules before running this script.
>
> 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: SMBus I801 adapter at 3000 (i2c-0)
> Do you want to scan it? (YES/no/selectively): Client found at address 0x2e
> Handled by driver `lm85' (already loaded), chip type `lm85'
> Client found at address 0x44
> Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
> Client found at address 0x50
> Handled by driver `eeprom' (already loaded), chip type `eeprom'
> (note: this is probably NOT a sensor chip!)
> Client found at address 0x52
> Handled by driver `eeprom' (already loaded), chip type `eeprom'
> (note: this is probably NOT a sensor chip!)
>
> 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): 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): Probing for Super-I/O at 0x2e/0x2f
> Trying family `National Semiconductor'... No
> Trying family `SMSC'... Yes
> Found `SMSC SCH5027D-NW Super IO'
> (hardware monitoring capabilities accessible via SMBus only)
> Probing for Super-I/O at 0x4e/0x4f
> Trying family `National Semiconductor'... No
> Trying family `SMSC'... No
> Trying family `VIA/Winbond/Fintek'... No
> Trying family `ITE'... No
>
> Some CPUs or memory controllers may also contain embedded sensors.
> Do you want to scan for them? (YES/no): AMD K8 thermal sensors... No
> AMD K10 thermal sensors... No
> Intel Core family thermal sensor... Success!
> (driver `coretemp')
> Intel AMB FB-DIMM thermal sensor... No
>
> Now follows a summary of the probes I have just done.
> Just press ENTER to continue:
> Driver `lm85' (should be inserted):
> Detects correctly:
> * Bus `SMBus I801 adapter at 3000'
> Busdriver `i2c-i801', I2C address 0x2e
> Chip `lm85' (confidence: 6)
>
> Driver `coretemp' (should be inserted):
> Detects correctly:
> * Chip `Intel Core family thermal sensor' (confidence: 9)
>
> Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO): To load everything that is needed, add this to one of the system
> initialization scripts (e.g. /etc/rc.d/rc.local):
>
> #----cut here----
> # I2C adapter drivers
> modprobe i2c-i801
> # Chip drivers
> modprobe lm85
> # Warning: the required module coretemp is not currently installed
> # on your system. For status of 2.6 kernel ports check
> # http://www.lm-sensors.org/wiki/Devices. If driver is built
> # into the kernel, or unavailable, comment out the following line.
> modprobe coretemp
> /usr/bin/sensors -s
> #----cut here----
>
> If you have some drivers built into your kernel, the list above will
> contain too many modules. Skip the appropriate ones! You really
> should try these commands right now to make sure everything is
> working properly. Monitoring programs won't work until the needed
> modules are loaded.
>
>
>
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [lm-sensors] [PATCH] lm-sensors: add sch5027 support
2008-02-01 6:42 [lm-sensors] [PATCH] lm-sensors: add sch5027 support Juerg Haefliger
` (3 preceding siblings ...)
2008-02-06 13:33 ` Juerg Haefliger
@ 2008-02-06 13:43 ` Michal Medvecký
2008-02-06 13:46 ` Juerg Haefliger
5 siblings, 0 replies; 7+ messages in thread
From: Michal Medvecký @ 2008-02-06 13:43 UTC (permalink / raw)
To: lm-sensors
[-- Attachment #1: Type: text/plain, Size: 110 bytes --]
Juerg Haefliger napsal(a):
> Can you unload the lm85 driver before running sensors-detect?
>
here it comes
[-- Attachment #2: bla2.txt --]
[-- Type: text/plain, Size: 8185 bytes --]
# sensors-detect revision $Revision$
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): Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7
We will now try to load each adapter module in turn.
Module `i2c-i801' already loaded.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.
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: SMBus I801 adapter at 3000 (i2c-0)
Do you want to scan it? (YES/no/selectively): Client found at address 0x2e
Probing for `Myson MTP008'... No
Probing for `National Semiconductor LM78'... No
Probing for `National Semiconductor LM78-J'... No
Probing for `National Semiconductor LM79'... No
Probing for `National Semiconductor LM80'... No
Probing for `National Semiconductor LM85 or LM96000'... No
Probing for `Analog Devices ADM1027, ADT7460 or ADT7463'... No
Probing for `SMSC EMC6D100, EMC6D101 or EMC6D102'... No
Probing for `Analog Devices ADT7462'... No
Probing for `Analog Devices ADT7467 or ADT7468'... No
Probing for `Analog Devices ADT7470'... No
Probing for `Analog Devices ADT7473'... No
Probing for `Analog Devices ADT7475'... No
Probing for `Analog Devices ADT7476'... No
Probing for `Andigilog aSC7611'... No
Probing for `Andigilog aSC7621'... No
Probing for `National Semiconductor LM87'... No
Probing for `National Semiconductor LM93'... No
Probing for `Winbond W83781D'... No
Probing for `Winbond W83782D'... No
Probing for `Winbond W83792D'... No
Probing for `Winbond W83793R/G'... No
Probing for `Winbond W83791SD'... No
Probing for `Winbond W83627HF'... No
Probing for `Winbond W83627EHF'... No
Probing for `Winbond W83627DHG'... No
Probing for `Asus AS99127F (rev.1)'... No
Probing for `Asus AS99127F (rev.2)'... No
Probing for `Asus ASB100 Bach'... No
Probing for `Winbond W83L786NR/NG/R/G'... No
Probing for `Winbond W83L785TS-S'... No
Probing for `Analog Devices ADM9240'... No
Probing for `Dallas Semiconductor DS1780'... No
Probing for `National Semiconductor LM81'... No
Probing for `Analog Devices ADM1026'... No
Probing for `Analog Devices ADM1025'... No
Probing for `Analog Devices ADM1029'... No
Probing for `Analog Devices ADM1030'... No
Probing for `Analog Devices ADM1031'... No
Probing for `Analog Devices ADM1022'... No
Probing for `Texas Instruments THMC50'... No
Probing for `Analog Devices ADM1028'... No
Probing for `ITE IT8712F'... No
Probing for `SMSC DME1737'... No
Probing for `SMSC SCH5027D-NW'... Success!
(confidence 6, driver `dme1737')
Probing for `Fintek F75373S/SG'... No
Probing for `Fintek F75375S/SP'... No
Probing for `Fintek F75387SG/RG'... No
Probing for `Analog Devices ADM1024'... No
Probing for `Winbond W83791D'... No
Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50
Handled by driver `eeprom' (already loaded), chip type `eeprom'
(note: this is probably NOT a sensor chip!)
Client found at address 0x52
Handled by driver `eeprom' (already loaded), chip type `eeprom'
(note: this is probably NOT a sensor chip!)
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): 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): Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... No
Trying family `ITE'... No
Some CPUs or memory controllers may also contain embedded sensors.
Do you want to scan for them? (YES/no): AMD K8 thermal sensors... No
AMD K10 thermal sensors... No
Intel Core family thermal sensor... Success!
(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `dme1737' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 3000'
Busdriver `i2c-i801', I2C address 0x2e
Chip `SMSC SCH5027D-NW' (confidence: 6)
Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)
Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO): To load everything that is needed, add this to one of the system
initialization scripts (e.g. /etc/rc.d/rc.local):
#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
# Warning: the required module dme1737 is not currently installed
# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe dme1737
# Warning: the required module coretemp is not currently installed
# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe coretemp
/usr/bin/sensors -s
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones! You really
should try these commands right now to make sure everything is
working properly. Monitoring programs won't work until the needed
modules are loaded.
[-- Attachment #3: Type: text/plain, Size: 153 bytes --]
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [lm-sensors] [PATCH] lm-sensors: add sch5027 support
2008-02-01 6:42 [lm-sensors] [PATCH] lm-sensors: add sch5027 support Juerg Haefliger
` (4 preceding siblings ...)
2008-02-06 13:43 ` Michal Medvecký
@ 2008-02-06 13:46 ` Juerg Haefliger
5 siblings, 0 replies; 7+ messages in thread
From: Juerg Haefliger @ 2008-02-06 13:46 UTC (permalink / raw)
To: lm-sensors
Hi Michal,
On Feb 6, 2008 5:43 AM, Michal Medvecký <michal@medvecky.net> wrote:
> Juerg Haefliger napsal(a):
> > Can you unload the lm85 driver before running sensors-detect?
> >
> here it comes
>
> # sensors-detect revision $Revision$
>
> 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): Probing for PCI bus adapters...
> Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7
>
> We will now try to load each adapter module in turn.
> Module `i2c-i801' already loaded.
> If you have undetectable or unsupported adapters, you can have them
> scanned by manually loading the modules before running this script.
>
> 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: SMBus I801 adapter at 3000 (i2c-0)
> Do you want to scan it? (YES/no/selectively): Client found at address 0x2e
> Probing for `Myson MTP008'... No
> Probing for `National Semiconductor LM78'... No
> Probing for `National Semiconductor LM78-J'... No
> Probing for `National Semiconductor LM79'... No
> Probing for `National Semiconductor LM80'... No
> Probing for `National Semiconductor LM85 or LM96000'... No
> Probing for `Analog Devices ADM1027, ADT7460 or ADT7463'... No
> Probing for `SMSC EMC6D100, EMC6D101 or EMC6D102'... No
> Probing for `Analog Devices ADT7462'... No
> Probing for `Analog Devices ADT7467 or ADT7468'... No
> Probing for `Analog Devices ADT7470'... No
> Probing for `Analog Devices ADT7473'... No
> Probing for `Analog Devices ADT7475'... No
> Probing for `Analog Devices ADT7476'... No
> Probing for `Andigilog aSC7611'... No
> Probing for `Andigilog aSC7621'... No
> Probing for `National Semiconductor LM87'... No
> Probing for `National Semiconductor LM93'... No
> Probing for `Winbond W83781D'... No
> Probing for `Winbond W83782D'... No
> Probing for `Winbond W83792D'... No
> Probing for `Winbond W83793R/G'... No
> Probing for `Winbond W83791SD'... No
> Probing for `Winbond W83627HF'... No
> Probing for `Winbond W83627EHF'... No
> Probing for `Winbond W83627DHG'... No
> Probing for `Asus AS99127F (rev.1)'... No
> Probing for `Asus AS99127F (rev.2)'... No
> Probing for `Asus ASB100 Bach'... No
> Probing for `Winbond W83L786NR/NG/R/G'... No
> Probing for `Winbond W83L785TS-S'... No
> Probing for `Analog Devices ADM9240'... No
> Probing for `Dallas Semiconductor DS1780'... No
> Probing for `National Semiconductor LM81'... No
> Probing for `Analog Devices ADM1026'... No
> Probing for `Analog Devices ADM1025'... No
> Probing for `Analog Devices ADM1029'... No
> Probing for `Analog Devices ADM1030'... No
> Probing for `Analog Devices ADM1031'... No
> Probing for `Analog Devices ADM1022'... No
> Probing for `Texas Instruments THMC50'... No
> Probing for `Analog Devices ADM1028'... No
> Probing for `ITE IT8712F'... No
> Probing for `SMSC DME1737'... No
> Probing for `SMSC SCH5027D-NW'... Success!
> (confidence 6, driver `dme1737')
Works as advertised. The problem was that the lm85 driver was loaded
prior to running sensors-detect.
...juerg
> Probing for `Fintek F75373S/SG'... No
> Probing for `Fintek F75375S/SP'... No
> Probing for `Fintek F75387SG/RG'... No
> Probing for `Analog Devices ADM1024'... No
> Probing for `Winbond W83791D'... No
> Client found at address 0x44
> Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
> Client found at address 0x50
> Handled by driver `eeprom' (already loaded), chip type `eeprom'
> (note: this is probably NOT a sensor chip!)
> Client found at address 0x52
> Handled by driver `eeprom' (already loaded), chip type `eeprom'
> (note: this is probably NOT a sensor chip!)
>
> 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): 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): Probing for Super-I/O at 0x2e/0x2f
> Trying family `National Semiconductor'... No
> Trying family `SMSC'... Yes
> Found `SMSC SCH5027D-NW Super IO'
> (hardware monitoring capabilities accessible via SMBus only)
> Probing for Super-I/O at 0x4e/0x4f
> Trying family `National Semiconductor'... No
> Trying family `SMSC'... No
> Trying family `VIA/Winbond/Fintek'... No
> Trying family `ITE'... No
>
> Some CPUs or memory controllers may also contain embedded sensors.
> Do you want to scan for them? (YES/no): AMD K8 thermal sensors... No
> AMD K10 thermal sensors... No
> Intel Core family thermal sensor... Success!
> (driver `coretemp')
> Intel AMB FB-DIMM thermal sensor... No
>
> Now follows a summary of the probes I have just done.
> Just press ENTER to continue:
> Driver `dme1737' (should be inserted):
> Detects correctly:
> * Bus `SMBus I801 adapter at 3000'
> Busdriver `i2c-i801', I2C address 0x2e
> Chip `SMSC SCH5027D-NW' (confidence: 6)
>
> Driver `coretemp' (should be inserted):
> Detects correctly:
> * Chip `Intel Core family thermal sensor' (confidence: 9)
>
> Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO): To load everything that is needed, add this to one of the system
> initialization scripts (e.g. /etc/rc.d/rc.local):
>
> #----cut here----
> # I2C adapter drivers
> modprobe i2c-i801
> # Chip drivers
> # Warning: the required module dme1737 is not currently installed
> # on your system. For status of 2.6 kernel ports check
> # http://www.lm-sensors.org/wiki/Devices. If driver is built
> # into the kernel, or unavailable, comment out the following line.
> modprobe dme1737
> # Warning: the required module coretemp is not currently installed
> # on your system. For status of 2.6 kernel ports check
> # http://www.lm-sensors.org/wiki/Devices. If driver is built
> # into the kernel, or unavailable, comment out the following line.
> modprobe coretemp
> /usr/bin/sensors -s
> #----cut here----
>
> If you have some drivers built into your kernel, the list above will
> contain too many modules. Skip the appropriate ones! You really
> should try these commands right now to make sure everything is
> working properly. Monitoring programs won't work until the needed
> modules are loaded.
>
>
>
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-02-06 13:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-01 6:42 [lm-sensors] [PATCH] lm-sensors: add sch5027 support Juerg Haefliger
2008-02-03 21:12 ` Jean Delvare
2008-02-06 12:41 ` Rudolf Marek
2008-02-06 13:30 ` Michal Medvecký
2008-02-06 13:33 ` Juerg Haefliger
2008-02-06 13:43 ` Michal Medvecký
2008-02-06 13:46 ` Juerg Haefliger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.