[2.5] Help with ICH5 SMBus and W83627THF

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

 



Hi

I have been trying to get the W83627THF chip working on this
board.  It is an Asus P4C800 with Intel 875p chipset and a
W83627THF connected via the SMBus.

There are no data sheet for the W83627THF as far as I can see,
but supposidly it is a W83627HF with advance Fan control, etc.

I have applied attached patches, and tried various other things
to get it to work, but no avail.  The SMBus on the ICH5 seems to
work, and it seems to detect the sensor chip just fine, but it
do not seem to read any values from the W83627THF.

PCI ID:

--------------------------
  Bus  0, device  31, function  3:
    SMBus: PCI device 8086:24d3 (Intel Corp.) (rev 2).
      IRQ 17.
      I/O at 0x400 [0x41f].
--------------------------

Kernel logs when loading drivers:

--------------------------
i2c-i801 version 2.7.0 (20021208)
w83781d:  Found sensor chip W83627HF chip, id 0x72
registering 1-002f
registering 1-0049
registering 1-0048
--------------------------


Sysfs files created:

--------------------------
nosferatu linux # ls /sys/bus/i2c/devices/1-002f
alarms       fan_div3    fan_min2   in_input3  in_input8  in_max4 
in_min0  in_min5  power        sensor2      temp_max1  temp_min3
beep_enable  fan_input1  fan_min3   in_input4  in_max0    in_max5 
in_min1  in_min6  pwm1         sensor3      temp_max2  vid
beep_mask    fan_input2  in_input0  in_input5  in_max1    in_max6 
in_min2  in_min7  pwm2         temp_input1  temp_max3  vrm
fan_div1     fan_input3  in_input1  in_input6  in_max2    in_max7 
in_min3  in_min8  pwm_enable2  temp_input2  temp_min1
fan_div2     fan_min1    in_input2  in_input7  in_max3    in_max8 
in_min4  name     sensor1      temp_input3  temp_min2
nosferatu linux # ls /sys/bus/i2c/devices/1-0048
name  power
nosferatu linux # ls /sys/bus/i2c/devices/1-0049
name  power
nosferatu linux # 
---------------------------

Ask if more is needed.


Thanks,

-- 

Martin Schlemmer



-------------- next part --------------
--- linux-2.5.70-bk13/drivers/i2c/busses/i2c-i801.c	2003-05-27 03:00:40.000000000 +0200
+++ linux-2.5.70-bk12/drivers/i2c/busses/i2c-i801.c	2003-06-08 17:38:26.000000000 +0200
@@ -27,6 +27,7 @@
     82801BA		2443           
     82801CA/CAM		2483           
     82801DB		24C3   (HW PEC supported, 32 byte buffer not supported)
+    82801EB		24D3   (HW PEC supported, 32 byte buffer not supported)
 
     This driver supports several versions of Intel's I/O Controller Hubs (ICH).
     For SMBus support, they are similar to the PIIX4 and are part
@@ -121,7 +122,8 @@
 		return -ENODEV;
 
 	I801_dev = dev;
-	if (dev->device == PCI_DEVICE_ID_INTEL_82801DB_3)
+	if ((dev->device == PCI_DEVICE_ID_INTEL_82801DB_3) ||
+	    (dev->device == PCI_DEVICE_ID_INTEL_82801EB_3))
 		isich4 = 1;
 	else
 		isich4 = 0;
@@ -585,6 +587,12 @@
 		.subvendor =	PCI_ANY_ID,
 		.subdevice =	PCI_ANY_ID,
 	},
+	{
+		.vendor =   PCI_VENDOR_ID_INTEL,
+		.device =   PCI_DEVICE_ID_INTEL_82801EB_3,
+		.subvendor =    PCI_ANY_ID,
+		.subdevice =    PCI_ANY_ID,
+	},
 	{ 0, }
 };
 
-------------- next part --------------
--- 1/drivers/i2c/chips/w83781d.c	2003-06-16 16:40:27.000000000 +0200
+++ 2/drivers/i2c/chips/w83781d.c	2003-06-16 16:40:03.000000000 +0200
@@ -1285,7 +1285,7 @@
 			kind = w83782d;
 		else if (val1 == 0x40 && vendid == winbond && !is_isa)
 			kind = w83783s;
-		else if (val1 == 0x20 && vendid == winbond)
+		else if ((val1 == 0x20 || val1 == 0x72) && vendid == winbond)
 			kind = w83627hf;
 		else if (val1 == 0x30 && vendid == asus && !is_isa)
 			kind = as99127f;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20030616/8a7170e1/attachment.bin 


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

  Powered by Linux