Skip to contentSkip to conversation

lm-sensors: Add more chip detection

PATCH Superseded Juerg Haefliger 2 participants 5 messages Jul 10, 2008 – Jul 11, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lm-sensors: Add more chip detection

Add detection of VIA VT1212 and SMSC EMC2700LPC Super IOs.

Signed-off-by Juerg Haefliger <juergh at gmail.com>
prog/detect/sensors-detect +10 -0
Index: lm-sensors-3.0.0/prog/detect/sensors-detect
===================================================================
@@ -1666,6 +1666,11 @@
 	devid => 0x77,
       },
       {
+	name => "SMSC EMC2700LPC Super IO",
+	# no datasheet
+	devid => 0x67,
+      },
+      {
 	name => "SMSC FDC37B72x Super IO",
 	driver => "not-a-sensor",
 	devid => 0x4c,
@@ -1908,6 +1913,11 @@
 	alias_detect => sub { vt1211_alias_detect(@_); },
       },
       {
+	name => "VIA VT1212 Super IO Lite",
+	driver => "not-a-sensor",
+	devid => 0x3f,
+      },
+      {
 	name => "Winbond W83627HF/F/HG/G Super IO Sensors",
 	driver => "w83627hf",
 	devid => 0x52,

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Hi Juerg,

Please set the attachment type to text/plain next time.

Quoted 20 lines · Juerg Haefliger

Add detection of VIA VT1212 and SMSC EMC2700LPC Super IOs.

Signed-off-by Juerg Haefliger <juergh at gmail.com>

Index: lm-sensors-3.0.0/prog/detect/sensors-detect
=================================> --- lm-sensors-3.0.0.orig/prog/detect/sensors-detect 2008-07-10 12:16:17.709353000 -0700
+++ lm-sensors-3.0.0/prog/detect/sensors-detect 2008-07-10 12:28:41.895364000 -0700

prog/detect/sensors-detect +5 -0
@@ -1666,6 +1666,11 @@
 	devid => 0x77,
       },
       {
+	name => "SMSC EMC2700LPC Super IO",
+	# no datasheet
+	devid => 0x67,
+      },
+      {
 	name => "SMSC FDC37B72x Super IO",
 	driver => "not-a-sensor",
 	devid => 0x4c,

prog/detect/sensors-detect line 1918

Quoted 6 lines
prog/detect/sensors-detect +3 -0
@@ -1908,6 +1913,11 @@
 	alias_detect => sub { vt1211_alias_detect(@_); },
       },
       {
+	name => "VIA VT1212 Super IO Lite",
+	driver => "not-a-sensor",
+	devid => 0x3f,

Are you sure? On Wilken's system, which according to the documentation has a VT1212 chip, sensors-detect says:

Found unknown chip with ID 0xfc01

Which would mean a devid value of 0xfc rather then 0x3f.

prog/detect/sensors-detect line 1923

Quoted 5 lines
prog/detect/sensors-detect +2 -0
+      },
+      {
 	name => "Winbond W83627HF/F/HG/G Super IO Sensors",
 	driver => "w83627hf",
 	devid => 0x52,

Thanks,

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to Juerg Haefliger

Hi Jean,

Quoted 3 lines

Hi Juerg,

Please set the attachment type to text/plain next time.

Hmm... Gmail doesn't give me control over this (I think) and I haven't change anything. Weird.

Quoted 31 lines · Juerg Haefliger
Quoted 20 lines

Add detection of VIA VT1212 and SMSC EMC2700LPC Super IOs.

Signed-off-by Juerg Haefliger <juergh at gmail.com>

Index: lm-sensors-3.0.0/prog/detect/sensors-detect
=================================>> --- lm-sensors-3.0.0.orig/prog/detect/sensors-detect 2008-07-10 12:16:17.709353000 -0700
+++ lm-sensors-3.0.0/prog/detect/sensors-detect 2008-07-10 12:28:41.895364000 -0700

prog/detect/sensors-detect +5 -0
@@ -1666,6 +1666,11 @@
      devid => 0x77,
       },
       {
+     name => "SMSC EMC2700LPC Super IO",
+     # no datasheet
+     devid => 0x67,
+      },
+      {
      name => "SMSC FDC37B72x Super IO",
      driver => "not-a-sensor",
      devid => 0x4c,

prog/detect/sensors-detect line 1918

Quoted 6 lines
prog/detect/sensors-detect +3 -0
@@ -1908,6 +1913,11 @@
      alias_detect => sub { vt1211_alias_detect(@_); },
       },
       {
+     name => "VIA VT1212 Super IO Lite",
+     driver => "not-a-sensor",
+     devid => 0x3f,

Are you sure? On Wilken's system, which according to the documentation has a VT1212 chip, sensors-detect says:

Quoted 3 lines

Found unknown chip with ID 0xfc01

Which would mean a devid value of 0xfc rather then 0x3f.

From the datasheet (sorry for the formatting):
7 Configuration Index RW 00

20   Device ID   RO   3F
21   Device Revision   RO   01
22   Power Down Control   RW   00
23   LPC Wait State Select   RW   09
24   GPIO Port 1 Pin Select   RW   00
25   GPIO Port 2 Pin Select   RW   00

...juerg

Quoted 10 lines

prog/detect/sensors-detect line 1923

Quoted 5 lines
prog/detect/sensors-detect +2 -0
+      },
+      {
      name => "Winbond W83627HF/F/HG/G Super IO Sensors",
      driver => "w83627hf",
      devid => 0x52,

Thanks,
--
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to Juerg Haefliger
Quoted 46 lines

Hi Jean,

Quoted 3 lines

Hi Juerg,

Please set the attachment type to text/plain next time.

Hmm... Gmail doesn't give me control over this (I think) and I haven't change anything. Weird.

Quoted 31 lines · Juerg Haefliger
Quoted 20 lines

Add detection of VIA VT1212 and SMSC EMC2700LPC Super IOs.

Signed-off-by Juerg Haefliger <juergh at gmail.com>

Index: lm-sensors-3.0.0/prog/detect/sensors-detect
=================================>>> --- lm-sensors-3.0.0.orig/prog/detect/sensors-detect 2008-07-10 12:16:17.709353000 -0700
+++ lm-sensors-3.0.0/prog/detect/sensors-detect 2008-07-10 12:28:41.895364000 -0700

prog/detect/sensors-detect +5 -0
@@ -1666,6 +1666,11 @@
      devid => 0x77,
       },
       {
+     name => "SMSC EMC2700LPC Super IO",
+     # no datasheet
+     devid => 0x67,
+      },
+      {
      name => "SMSC FDC37B72x Super IO",
      driver => "not-a-sensor",
      devid => 0x4c,

prog/detect/sensors-detect line 1918

Quoted 6 lines
prog/detect/sensors-detect +3 -0
@@ -1908,6 +1913,11 @@
      alias_detect => sub { vt1211_alias_detect(@_); },
       },
       {
+     name => "VIA VT1212 Super IO Lite",
+     driver => "not-a-sensor",
+     devid => 0x3f,

Are you sure? On Wilken's system, which according to the documentation has a VT1212 chip, sensors-detect says:

Quoted 3 lines

Found unknown chip with ID 0xfc01

Which would mean a devid value of 0xfc rather then 0x3f.

Quoted 8 lines

From the datasheet (sorry for the formatting):
7 Configuration Index RW 00

20   Device ID   RO   3F
21   Device Revision   RO   01
22   Power Down Control   RW   00
23   LPC Wait State Select   RW   09
24   GPIO Port 1 Pin Select   RW   00
25   GPIO Port 2 Pin Select   RW   00

I just realized that there's two different device IDs for the two packaging options, 3F/3E. I'll respin the patch.

...juerg

Quoted 15 lines

...juerg

Quoted 10 lines

prog/detect/sensors-detect line 1923

Quoted 5 lines
prog/detect/sensors-detect +2 -0
+      },
+      {
      name => "Winbond W83627HF/F/HG/G Super IO Sensors",
      driver => "w83627hf",
      devid => 0x52,

Thanks,
--
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#4 lore raw
In reply to Juerg Haefliger
Quoted 9 lines · Juerg Haefliger
Quoted 9 lines

Hi Jean,

Quoted 3 lines

Hi Juerg,

Please set the attachment type to text/plain next time.

Hmm... Gmail doesn't give me control over this (I think) and I haven't change anything. Weird.

You may try adding .txt at the end of the file name to hint gmail at giving it type text/plain. Or complain to the gmail admins until they map .patch to type text/plain.

Quoted 44 lines
Quoted 35 lines
Quoted 31 lines · Juerg Haefliger
Quoted 20 lines

Add detection of VIA VT1212 and SMSC EMC2700LPC Super IOs.

Signed-off-by Juerg Haefliger <juergh at gmail.com>

Index: lm-sensors-3.0.0/prog/detect/sensors-detect
=================================> >>> --- lm-sensors-3.0.0.orig/prog/detect/sensors-detect 2008-07-10 12:16:17.709353000 -0700
+++ lm-sensors-3.0.0/prog/detect/sensors-detect 2008-07-10 12:28:41.895364000 -0700

prog/detect/sensors-detect +5 -0
@@ -1666,6 +1666,11 @@
      devid => 0x77,
       },
       {
+     name => "SMSC EMC2700LPC Super IO",
+     # no datasheet
+     devid => 0x67,
+      },
+      {
      name => "SMSC FDC37B72x Super IO",
      driver => "not-a-sensor",
      devid => 0x4c,

prog/detect/sensors-detect line 1918

Quoted 6 lines
prog/detect/sensors-detect +3 -0
@@ -1908,6 +1913,11 @@
      alias_detect => sub { vt1211_alias_detect(@_); },
       },
       {
+     name => "VIA VT1212 Super IO Lite",
+     driver => "not-a-sensor",
+     devid => 0x3f,

Are you sure? On Wilken's system, which according to the documentation has a VT1212 chip, sensors-detect says:

Quoted 3 lines

Found unknown chip with ID 0xfc01

Which would mean a devid value of 0xfc rather then 0x3f.

Quoted 8 lines

From the datasheet (sorry for the formatting):
7 Configuration Index RW 00

20   Device ID   RO   3F
21   Device Revision   RO   01
22   Power Down Control   RW   00
23   LPC Wait State Select   RW   09
24   GPIO Port 1 Pin Select   RW   00
25   GPIO Port 2 Pin Select   RW   00
Quoted 2 lines

I just realized that there's two different device IDs for the two packaging options, 3F/3E. I'll respin the patch.

None of which matches what Wilken's system has... Very strange.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors