Skip to contentSkip to conversation

MSI K9N4 SLI-F setting fan divisor

lm-sensors Curt Blank 2 participants 4 messages Mar 21, 2007

lore
Share & tools
lore

Curt Blank

author
#0 lore raw

Motherboard: MSI K9N4 SLI-F
Chipset: nVidia nForce 500 SLI SuSE Linux 10.1
Kernel: 2.6.16.27-0.9
Driver: w83627ehf

How do I set the fan divisor? I have this in my sensors.conf file:

   set fan3_div    8
   set fan4_div    8
   set fan5_div    8

in the proper place. I get this when I do a sensors -s:

Error: Line 2476: Failed to set feature
Error: Line 2477: Failed to set feature
Error: Line 2478: Failed to set feature
w83627dhg-isa-0a10: At least one "set" statement failed

Those 3 "Error: Line"s are those 3 set div commands.

The set fanN_min statements work.

-Curt Blank

author
#1 lore raw
Quoted 23 lines · Curt Blank

Motherboard: MSI K9N4 SLI-F
Chipset: nVidia nForce 500 SLI SuSE Linux 10.1
Kernel: 2.6.16.27-0.9
Driver: w83627ehf

How do I set the fan divisor? I have this in my sensors.conf file:

   set fan3_div    8
   set fan4_div    8
   set fan5_div    8

in the proper place. I get this when I do a sensors -s:

Error: Line 2476: Failed to set feature
Error: Line 2477: Failed to set feature
Error: Line 2478: Failed to set feature
w83627dhg-isa-0a10: At least one "set" statement failed

Those 3 "Error: Line"s are those 3 set div commands.

The set fanN_min statements work.

Quoted 8 lines

-Curt Blank

_______________________________________________
lm-sensors mailing list lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

I've noticed that the fanN_div files in /sys are created with a 444 protection whereas the fanN_min files are created with a 644 protection. So that explains why they can't be modified. What controls the protection they are created with?

-Curt

#2 lore raw
In reply to Curt Blank

Hi Curt,

Quoted 25 lines · Curt Blank
Quoted 24 lines

Motherboard: MSI K9N4 SLI-F
Chipset: nVidia nForce 500 SLI SuSE Linux 10.1
Kernel: 2.6.16.27-0.9
Driver: w83627ehf

How do I set the fan divisor? I have this in my sensors.conf file:

   set fan3_div    8
   set fan4_div    8
   set fan5_div    8

in the proper place. I get this when I do a sensors -s:

Error: Line 2476: Failed to set feature
Error: Line 2477: Failed to set feature
Error: Line 2478: Failed to set feature
w83627dhg-isa-0a10: At least one "set" statement failed

Those 3 "Error: Line"s are those 3 set div commands.

The set fanN_min statements work.

Quoted 8 lines
Quoted 1 line

-Curt Blank

I've noticed that the fanN_div files in /sys are created with a 444 protection whereas the fanN_min files are created with a 644 protection. So that explains why they can't be modified. What controls the protection they are created with?

-Curt

The driver declares them as read-only attributes. The fan divisors *can* be programmed in software, but the driver keeps them readonly because the fan RPM can be used to automatically select the appropriate fan divisor. You won't need to set it. If you are getting unreasonable RPM values (only 0, for example) you can check the divisor to make sure it's also maxed out (at 128). Then you know that the RPM reading is truly 0.

Hope that helps,
David

author
#3 lore raw
In reply to Curt Blank
Quoted 44 lines · David Hubbard

Hi Curt,

Quoted 25 lines · Curt Blank
Quoted 24 lines

Motherboard: MSI K9N4 SLI-F
Chipset: nVidia nForce 500 SLI SuSE Linux 10.1
Kernel: 2.6.16.27-0.9
Driver: w83627ehf

How do I set the fan divisor? I have this in my sensors.conf file:

   set fan3_div    8
   set fan4_div    8
   set fan5_div    8

in the proper place. I get this when I do a sensors -s:

Error: Line 2476: Failed to set feature
Error: Line 2477: Failed to set feature
Error: Line 2478: Failed to set feature
w83627dhg-isa-0a10: At least one "set" statement failed

Those 3 "Error: Line"s are those 3 set div commands.

The set fanN_min statements work.

Quoted 8 lines
Quoted 1 line

-Curt Blank

I've noticed that the fanN_div files in /sys are created with a 444 protection whereas the fanN_min files are created with a 644 protection. So that explains why they can't be modified. What controls the protection they are created with?

-Curt

The driver declares them as read-only attributes. The fan divisors *can* be programmed in software, but the driver keeps them readonly because the fan RPM can be used to automatically select the appropriate fan divisor. You won't need to set it. If you are getting unreasonable RPM values (only 0, for example) you can check the divisor to make sure it's also maxed out (at 128). Then you know that the RPM reading is truly 0.

Quoted 4 lines

Hope that helps,
David

Hi David,

Yep Thanks. I had read the code and saw it step through divisors attempting to get a valid fan speed so when I saw the divisor set to 128 and the speed 0 I pretty much assumed there was no fan connected. You just confirmed that and Jan's help did too.

When sensors -s failed and I couldn't write the the fan?_div files and I saw the 444 protection and I read the code I figured something was up. This is new, just used to being able to write the divisors like in the past.

And my speeds are reporting fine, they match the BIOS report. I was just trying to tweak the divisor to see if a fan was connected and I could get a reading because in the past I knew the wrong divisor would cause a 0 reading. But Jan confirmed the 0 is due to no fans connected.

Thanks,

-Curt