Skip to contentSkip to conversation

lm-sensors: Add more chip detection

PATCH RESEND Applied Juerg Haefliger 2 participants 2 messages Jul 14, 2008

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 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>

---
Fixed to include both possible device IDs of the VT1212.

Quoted 60 lines · Jean Delvare
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 45 lines
Quoted 44 lines
Quoted 32 lines · Juerg Haefliger
Quoted 21 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
===================================================================

prog/detect/sensors-detect 2008-07-10 12:28:41.895364000 -0700 renamed from prog/detect/sensors-detect 2008-07-10 12:16:17.709353000 -0700 +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 2008-07-10 12:28:41.895364000 -0700 line 1918

Quoted 6 lines
prog/detect/sensors-detect 2008-07-10 12:28:41.895364000 -0700 renamed from prog/detect/sensors-detect 2008-07-10 12:16:17.709353000 -0700 +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
Quoted 8 lines
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.

--
Jean Delvare

prog/detect/sensors-detect +15 -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,16 @@
 	alias_detect => sub { vt1211_alias_detect(@_); },
       },
       {
+	name => "VIA VT1212 Super IO Lite",   # in 100 pin TQFP package
+	driver => "not-a-sensor",
+	devid => 0x3e,
+      },
+      {
+	name => "VIA VT1212 Super IO Lite",   # in 48 pin LQFP package
+	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

Applied
#1 lore raw

Hi Juerg,

Quoted 6 lines · Juerg Haefliger

Add detection of VIA VT1212 and SMSC EMC2700LPC Super IOs.

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

---
Fixed to include both possible device IDs of the VT1212.

Applied, thanks (although the VT1212 mystery is still to be clarified.)

Signature · 6 lines
Jean Delvare

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