SiS645DX/SiS962

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I've got a ASUS P4S5333 ... My initial attempt to run lm_sensors failed,
but after Making some minor changes to the i2c-sis645 module it works
fine.  At least my computer did't crash, and I do see some reasonable
Values when calling sensors.

I'm using debian 3.0, kernel 2.4.20 ...

First the patch:

### START ### lm_sensors-2.7.0.diff ###
diff -urN lm_sensors-2.7.0.orig/kernel/busses/i2c-sis645.c lm_sensors-2.7.0/kernel/busses/i2c-sis645.c
--- lm_sensors-2.7.0.orig/kernel/busses/i2c-sis645.c	Sun Dec  1 22:02:46 2002
+++ lm_sensors-2.7.0/kernel/busses/i2c-sis645.c	Thu Jan 16 21:01:06 2003
@@ -77,6 +77,12 @@
 #define PCI_DEVICE_ID_SI_961 0x0961
 #endif

+/* SiS962 south bridge */
+#ifndef PCI_DEVICE_ID_SI_962
+#define PCI_DEVICE_ID_SI_962 0x0962
+#endif
+
+
 #define PCI_DEVICE_ID_SI_SMBUS 0x16

 /* base address register in PCI config space */
@@ -261,6 +267,11 @@
 			PCI_DEVICE_ID_SI_961, NULL)) {
 		printk("i2c-sis645.o: Found SiS961 south bridge.\n");
 	}
+
+	else if (SIS645_ISA_dev = pci_find_device(PCI_VENDOR_ID_SI,
+			PCI_DEVICE_ID_SI_962, NULL)) {
+		printk("i2c-sis645.o: Found SiS962 [MuTIOL Media IO].\n");
+        }

 	else if (SIS645_ISA_dev = pci_find_device(PCI_VENDOR_ID_SI,
 			PCI_DEVICE_ID_SI_503, NULL)) {
### END ### lm_sensors-2.7.0.diff ###

### "lspci -v" shows:

00:00.0 Host bridge: Silicon Integrated Systems [SiS] SiS645DX Host & Memory & AGP Controller
	Subsystem: Asustek Computer, Inc.: Unknown device 8081
	Flags: bus master, medium devsel, latency 32
	Memory at f4000000 (32-bit, non-prefetchable) [size=64M]
	Capabilities: [c0] AGP version 2.0

00:01.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0

00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media IO] (rev 04)
	Flags: bus master, medium devsel, latency 0

00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
	Flags: medium devsel
	I/O ports at e600 [size=32]

00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (prog-if 8a [Master SecP PriP])
	Subsystem: Asustek Computer, Inc.: Unknown device 807a
	Flags: bus master, medium devsel, latency 128, IRQ 11
	I/O ports at <ignored>
	I/O ports at <ignored>
	I/O ports at <ignored>
	I/O ports at <ignored>
	I/O ports at b400 [size=16]

00:03.0 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 0f) (prog-if 10 [OHCI])
	Subsystem: Asustek Computer, Inc.: Unknown device 807a
	Flags: bus master, medium devsel, latency 32, IRQ 6
	Memory at f3000000 (32-bit, non-prefetchable) [size=4K]

00:03.1 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 0f) (prog-if 10 [OHCI])
	Subsystem: Asustek Computer, Inc.: Unknown device 807a
	Flags: bus master, medium devsel, latency 32, IRQ 9
	Memory at f2800000 (32-bit, non-prefetchable) [size=4K]

00:03.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 0f) (prog-if 10 [OHCI])
	Subsystem: Asustek Computer, Inc.: Unknown device 807a
	Flags: bus master, medium devsel, latency 32, IRQ 9
	Memory at f2000000 (32-bit, non-prefetchable) [size=4K]

00:03.3 USB Controller: Silicon Integrated Systems [SiS] SiS7002 USB 2.0 (prog-if 20 [EHCI])
	Subsystem: Asustek Computer, Inc.: Unknown device 807a
	Flags: bus master, medium devsel, latency 32, IRQ 9
	Memory at f1800000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [50] Power Management version 2

00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 91)
	Subsystem: Asustek Computer, Inc.: Unknown device 80a7
	Flags: bus master, medium devsel, latency 32, IRQ 5
	I/O ports at 9800 [size=256]
	Memory at f1000000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at febc0000 [disabled] [size=128K]
	Capabilities: [40] Power Management version 2

00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
	Subsystem: Asustek Computer, Inc. CMI8738 6ch-MX
	Flags: bus master, stepping, medium devsel, latency 32, IRQ 10
	I/O ports at 9400 [size=256]
	Capabilities: [c0] Power Management version 2

00:08.0 VGA compatible controller: nVidia Corporation NV5 [Riva TnT2] (rev 15) (prog-if 00 [VGA])
	Subsystem: Elsa AG: Unknown device 0c20
	Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 11
	Memory at f0000000 (32-bit, non-prefetchable) [size=16M]
	Memory at fc000000 (32-bit, prefetchable) [size=32M]
	Expansion ROM at fbff0000 [disabled] [size=64K]
	Capabilities: [60] Power Management version 1

### And "sensors" shows:

as99127f-i2c-0-2d
Adapter: SMBus SiS645 adapter at 0xe600
Algorithm: Non-I2C SMBus adapter
VCore 1:   +1.58 V  (min =  +1.26 V, max =  +1.53 V)       ALARM
VCore 2:   +0.00 V  (min =  +0.00 V, max =  +0.00 V)
+3.3V:     +3.28 V  (min =  +2.97 V, max =  +3.63 V)
+5V:       +5.07 V  (min =  +4.50 V, max =  +5.48 V)
+12V:     +11.48 V  (min = +10.79 V, max = +13.11 V)
-12V:      -0.00 V  (min =  -0.00 V, max =  -0.00 V)
-5V:       -0.00 V  (min =  -0.00 V, max =  -0.00 V)
fan1:     3068 RPM  (min = 3000 RPM, div = 2)
fan2:        0 RPM  (min = 3000 RPM, div = 2)              ALARM
fan3:        0 RPM  (min = 3000 RPM, div = 2)              ALARM
temp1:       +39?C  (limit =  +60?C)
temp2:     +40.0?C  (limit = +120?C, hysteresis = +100?C)
temp3:     +96.0?C  (limit = +120?C, hysteresis = +100?C)
vid:      +1.400 V
alarms:
beep_enable:
          Sound alarm enabled

eeprom-i2c-0-50
Adapter: SMBus SiS645 adapter at 0xe600
Algorithm: Non-I2C SMBus adapter
Memory type:            DDR SDRAM DIMM SPD
Memory size (MB):       256

Regards
  Kianusch
---
  SK-TECH.net
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lm_sensors-2.7.0.diff
Url: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20030116/339124fe/attachment.pl 


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux