Skip to contentSkip to conversation

testing w83627hf treiber?

lm-sensors Jean Delvare 2 participants 5 messages Dec 4, 2006

lore
Share & tools
lore
#0 lore raw

Hi Thomas,

(Huh, please don't use URLs as post subjects.)

Quoted 11 lines · Thomas Dohl

I've found a strange bug or what ever in the Module. :) I'll try to explain it.
If I boot Linux with the module "w83627hf", everything is ok. But if I load the module with the workaround, like "modprobe w83627hf reset=1" I get a 23?C higher temperature of the second sensor.

At boottime:
temp1: 34?C
temp2: 33?C

Quoted 8 lines

after modprobe with reset=1
temp1: 34?C
temp2: 56?C (23?C more than it is)

This doesn't change after rmmod w83627hf, modprobe w83627hf. Only after reboot, the values return to normal.

What could that be?

Easy. The W83627*F chips have temperature offset registers. The BIOS must write an offset for the temp2 (CPU?) temperature sensor, to account for a different thermal diode model for example, or just to make it look cooler to the user... When the w83627hf driver resets the chip, the offset is reset to 0 as well, so you get the "raw" reading again.

See, this is exactly the reason why we don't reset the chip by default:
to preserve BIOS settings.

Signature · 1 line
Jean Delvare
#1 lore raw
Quoted 2 lines · Jean Delvare

See, this is exactly the reason why we don't reset the chip by default:
to preserve BIOS settings.

In that case Thomas really has a problem:

Either his fans won't work or the temperature will be off. (in my situation it looks like it is just the fans)

So how can we fix this?

Udo

#2 lore raw
In reply to Jean Delvare

(Huh, please don't use URLs as post subjects.)

Quoted 8 lines · Udo van den Heuvel

So we might have the same problem.
In my situation I have a VIA EK8000 which has the fans running during a boot until the kernel loads/starts. Then the fans stop. So is it a Linux issue?
When the w83627hf module is loaded with the reset=1 parameter the fans start again. Fancontrol is functional (although I do not use it).

What can we do to find out more?

I guess the BIOS is enabling the automatic fan speed control, with parameters such that the fan is stopped by default. I suspect the fan would start spinning after some time when the temperature is high enough. Check your BIOS settings for "Smart Fan" or something similar.

Using reset=1 is no good as you lose all the BIOS settings. This should only be used as a last resort. So look in the BIOS if you can disable the automatic fan speed control. Or just live with it, it should work after all.

The w83627hf driver should be updated to let the user disable the automatic fan speed control at runtime. I think there was a patch doing that floating around some times ago, but it never got merged.

Signature · 1 line
Jean Delvare
#3 lore raw
In reply to Jean Delvare
Quoted 10 lines · Udo van den Heuvel
Quoted 2 lines · Jean Delvare

See, this is exactly the reason why we don't reset the chip by default:
to preserve BIOS settings.

In that case Thomas really has a problem:

Either his fans won't work or the temperature will be off. (in my situation it looks like it is just the fans)

So how can we fix this?

As I said already: look into the BIOS menu for options to adjust or disable the automatic fan speed control.

Signature · 1 line
Jean Delvare
#4 lore raw
In reply to Jean Delvare
Quoted 6 lines · Jean Delvare
Quoted 5 lines · Udo van den Heuvel
Quoted 2 lines · Jean Delvare

See, this is exactly the reason why we don't reset the chip by default:
to preserve BIOS settings.

In that case Thomas really has a problem:

Quoted 7 lines
Quoted 4 lines

Either his fans won't work or the temperature will be off. (in my situation it looks like it is just the fans)

So how can we fix this?

As I said already: look into the BIOS menu for options to adjust or disable the automatic fan speed control.

Will try this later this week, since the Ek8000 having this issue is my only firewall.
I will find a moment to investigate. Maybe I can check the manual for such an option as well.

What system does Thmas run?

Udo