Skip to contentSkip to conversation

[2.5] Help with ICH5 SMBus and W83627THF

DISCUSSION Applied Martin Schlemmer 2 participants 6 messages May 19, 2005

lore
Share & tools
lore
#1 lore raw
Quoted 50 lines · Greg KH
Quoted 36 lines · Martin Schlemmer

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:

Quoted 12 lines

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

Quoted 4 lines

Looks good, what does any of these files say if you cat them?

Why do you think that you are not reading any values?

Yep, but like I said .. it does not seem to read the correct values from the chip. I might be missing something simple though (common in cases where you have been at it for a while =).

---------------------------------------------------
nosferatu root # cat /sys/bus/i2c/devices/0-002f/fan_input[123] 0
0
0
nosferatu root # cat /sys/bus/i2c/devices/0-002f/temp_input[123] 12700
12700
12700
nosferatu root # cat /sys/bus/i2c/devices/0-002f/in_input[0-8] 0
0
112
3120
0
0
0
4080
4080
nosferatu root #
-----------------------------------------------------

Quoted 2 lines

And does the attached patch help any? Or does it not do anything?

I am guessing you forgot the patch ? :)

Regards,

Signature · 11 lines
Martin Schlemmer



-------------- 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/80455c44/attachment.bin
#2 lore raw
In reply to Martin Schlemmer
Quoted 8 lines · Greg KH
Quoted 4 lines · Martin Schlemmer
Quoted 2 lines

And does the attached patch help any? Or does it not do anything?

I am guessing you forgot the patch ? :)

No, just the proper wording :)

Silly me :)

Quoted 3 lines

I ment that the patch you had attached, did it help any? Do you want me to apply it to the main tree?

Well, the i2c-i801-ICH5-support.patch, you can, as nothing between ICH4 and ICH5 smbus that we support have changed.

The i2c-w83781d-w82627thf-support.patch one "works" in the sence that it cause the w83781d driver to "detect" the w83627thf, but as I said ... that is about it for now =)

Regards,

Signature · 11 lines
Martin Schlemmer



-------------- 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/5827d781/attachment.bin
#3 lore raw
In reply to Martin Schlemmer
Quoted 36 lines · Martin Schlemmer

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:

Quoted 12 lines

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

Looks good, what does any of these files say if you cat them?

Why do you think that you are not reading any values?

And does the attached patch help any? Or does it not do anything?

thanks,

greg k-h

#4 lore raw
In reply to Martin Schlemmer
Quoted 4 lines · Martin Schlemmer
Quoted 2 lines

And does the attached patch help any? Or does it not do anything?

I am guessing you forgot the patch ? :)

No, just the proper wording :)

I ment that the patch you had attached, did it help any? Do you want me to apply it to the main tree?

thanks,

greg k-h

Applied
#5 lore raw
In reply to Martin Schlemmer
Quoted 6 lines · Martin Schlemmer

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.

Quoted 7 lines

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.

I've applied your patches, thanks.

greg k-h