All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem
@ 2012-10-21 18:18 camden lindsay
  2012-10-21 20:09 ` Guenter Roeck
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: camden lindsay @ 2012-10-21 18:18 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 4746 bytes --]

Hello-
I've had this motherboard since January 2011 had never gotten fan control
to work.  It seems to be either a driver or hardware implementation issue.
 It doesn't appear to have the atk0110 acpi methods of hardware control.
 When i try to echo any numbers into pwm_{1..3} they do not actually write
to the ?file?/?register?

I hadn't looked too deeply into it, so as to understand the ACPI/ATK0110 vs
legacy W83667HG-B  control until recently.  About as far as i had gotten
previously was to read http://www.lm-sensors.org/wiki/AsusFormulaHacking.
Recently started looking further into it for a variety of reasons;  I am
now sure that my board does not have any ATK0110 devices on it:


Details:
Kernel information
Linux BigBox 3.4.9-gentoo #1 SMP Sat Oct 20 21:41:06 PDT 2012 x86_64
Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz GenuineIntel GNU/Linux

Modprobe of atk shows nothing in dmesg
BigBox w83627ehf.656 # modprobe asus-atk0110

dylan@BigBox ~/My_Utils/acpi $ lsmod | grep asus
asus_atk0110            8614  0

BigBox w83627ehf.656 # dmesg | tail -3
[   51.000276] w83627ehf: Found W83667HG-B chip at 0x290
[   57.806564] eth0: no IPv6 routers present
[   69.009033] netlink: 12 bytes leftover after parsing attributes.


dsdt.dsl does not have any of the 'key' atk stuff in it from the above
mentioned webpage:
dylan@BigBox ~/My_Utils/acpi $ grep -i -e asoc -e vbuf -e v500 -e v12v
dsdt.dsl
dylan@BigBox ~/My_Utils/acpi $


I don't have no-apci on my kernel command line, there are no conflicts
listed for acpi in dmesg, and the drivers for the sensor chip load happily
dylan@BigBox ~/My_Utils/acpi $ cat /proc/cmdline
root=/dev/md3

dylan@BigBox ~/My_Utils/acpi $ dmesg | grep w83627ehf
[   51.000276] w83627ehf: Found W83667HG-B chip at 0x290
dylan@BigBox ~/My_Utils/acpi $

dylan@BigBox ~/My_Utils/acpi $ dmesg | grep conflict
dylan@BigBox ~/My_Utils/acpi $


dylan@BigBox ~/My_Utils/acpi $ sensors w83667hg-isa-0290
w83667hg-isa-0290
Adapter: ISA adapter
Vcore:         +0.89 V  (min =  +0.60 V, max =  +1.50 V)
in1:           +1.73 V  (min =  +1.50 V, max =  +1.88 V)
AVCC:          +3.38 V  (min =  +2.98 V, max =  +3.63 V)
+3.3V:         +3.38 V  (min =  +2.98 V, max =  +3.63 V)
in4:           +1.67 V  (min =  +1.50 V, max =  +1.83 V)
in5:           +1.69 V  (min =  +1.76 V, max =  +2.04 V)  ALARM
in6:           +1.49 V  (min =  +1.34 V, max =  +1.65 V)
3VSB:          +3.38 V  (min =  +2.98 V, max =  +3.63 V)
Vbat:          +3.31 V  (min =  +2.70 V, max =  +3.30 V)  ALARM
Rear_Fan:     3590 RPM  (min =  888 RPM, div = 8)
CPU_Fan:      1854 RPM  (min = 2678 RPM, div = 8)  ALARM
HD_Fan0:      3590 RPM  (min = 1298 RPM, div = 8)
HD_Fan1:      3668 RPM  (min =  865 RPM, div = 8)
fan5:            0 RPM  (min = 10546 RPM, div = 128)  ALARM
PECI Agent 1:   +6.0°C  (high = +60.0°C, hyst = +58.0°C)  sensor = Intel
PECI
PECI Agent 1:   +6.0°C  (high = +89.0°C, hyst = +88.0°C)  sensor = Intel
PECI
SYSTIN:        +22.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor =
thermistor
CPUTIN:        -54.0°C
cpu0_vid:     +0.000 V
intrusion0:   OK


In Bios the fans are set to 'no control / full speed' (i've tried in other
modes too)

Now, as root.. i can change the settings in  pwm_enable (following doc for
kernel driver for values)
BigBox w83627ehf.656 # head *_enable
==> pwm1_enable <==
1
==> pwm2_enable <==
1
==> pwm3_enable <==
1
BigBox w83627ehf.656 # for i in $(seq 3); do echo 2 >pwm${i}_enable; done
BigBox w83627ehf.656 # head *_enable
==> pwm1_enable <==
2
==> pwm2_enable <==
2
==> pwm3_enable <==
2

As root I can also change the values for pwm_mode
BigBox w83627ehf.656 # head *_mode
==> pwm1_mode <==
1
==> pwm2_mode <==
1
==> pwm3_mode <==
1
BigBox w83627ehf.656 # for i in $(seq 3); do echo 0 >pwm${i}_mode; done
BigBox w83627ehf.656 # head *_mode
==> pwm1_mode <==
0
==> pwm2_mode <==
0
==> pwm3_mode <==
0


But i cannot change the pwm{1..3} values themselves..
BigBox w83627ehf.656 # head pwm{1..3}
==> pwm1 <==
255
==> pwm2 <==
255
==> pwm3 <==
255
BigBox w83627ehf.656 # for i in $(seq 3); do echo 0 >pwm${i}; done
BigBox w83627ehf.656 # head pwm{1..3}
==> pwm1 <==
255
==> pwm2 <==
255
==> pwm3 <==
255


There don't appear to be any errors, etc.

According to some threads in a bug on speedfan, there are some major
problem with the W83667HG-B datasheet -- but i can't figure out how to
contact/ask for what the bugs were...
http://www.bugtrack.almico.com/view.php?id=1528#c5586

I saw some other bug with lm-sensors developers helping debug a similar
issue with isadump.  Is that a possibility in this situation?

Help or thoughts or suggestions?
Thanks!!

[-- Attachment #1.2: Type: text/html, Size: 6516 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem
  2012-10-21 18:18 [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem camden lindsay
@ 2012-10-21 20:09 ` Guenter Roeck
  2012-10-21 20:41 ` camden lindsay
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Guenter Roeck @ 2012-10-21 20:09 UTC (permalink / raw)
  To: lm-sensors

On Sun, Oct 21, 2012 at 11:18:56AM -0700, camden lindsay wrote:
> Hello-
> I've had this motherboard since January 2011 had never gotten fan control
> to work.  It seems to be either a driver or hardware implementation issue.
>  It doesn't appear to have the atk0110 acpi methods of hardware control.
>  When i try to echo any numbers into pwm_{1..3} they do not actually write
> to the ?file?/?register?
> 
> I hadn't looked too deeply into it, so as to understand the ACPI/ATK0110 vs
> legacy W83667HG-B  control until recently.  About as far as i had gotten
> previously was to read http://www.lm-sensors.org/wiki/AsusFormulaHacking.
> Recently started looking further into it for a variety of reasons;  I am
> now sure that my board does not have any ATK0110 devices on it:
> 
> 
> Details:
> Kernel information
> Linux BigBox 3.4.9-gentoo #1 SMP Sat Oct 20 21:41:06 PDT 2012 x86_64
> Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz GenuineIntel GNU/Linux
> 
> Modprobe of atk shows nothing in dmesg
> BigBox w83627ehf.656 # modprobe asus-atk0110
> 
> dylan@BigBox ~/My_Utils/acpi $ lsmod | grep asus
> asus_atk0110            8614  0
> 
> BigBox w83627ehf.656 # dmesg | tail -3
> [   51.000276] w83627ehf: Found W83667HG-B chip at 0x290
> [   57.806564] eth0: no IPv6 routers present
> [   69.009033] netlink: 12 bytes leftover after parsing attributes.
> 
> 
> dsdt.dsl does not have any of the 'key' atk stuff in it from the above
> mentioned webpage:
> dylan@BigBox ~/My_Utils/acpi $ grep -i -e asoc -e vbuf -e v500 -e v12v
> dsdt.dsl
> dylan@BigBox ~/My_Utils/acpi $
> 
> 
> I don't have no-apci on my kernel command line, there are no conflicts
> listed for acpi in dmesg, and the drivers for the sensor chip load happily
> dylan@BigBox ~/My_Utils/acpi $ cat /proc/cmdline
> root=/dev/md3
> 
> dylan@BigBox ~/My_Utils/acpi $ dmesg | grep w83627ehf
> [   51.000276] w83627ehf: Found W83667HG-B chip at 0x290
> dylan@BigBox ~/My_Utils/acpi $
> 
> dylan@BigBox ~/My_Utils/acpi $ dmesg | grep conflict
> dylan@BigBox ~/My_Utils/acpi $
> 
> 
> dylan@BigBox ~/My_Utils/acpi $ sensors w83667hg-isa-0290
> w83667hg-isa-0290
> Adapter: ISA adapter
> Vcore:         +0.89 V  (min =  +0.60 V, max =  +1.50 V)
> in1:           +1.73 V  (min =  +1.50 V, max =  +1.88 V)
> AVCC:          +3.38 V  (min =  +2.98 V, max =  +3.63 V)
> +3.3V:         +3.38 V  (min =  +2.98 V, max =  +3.63 V)
> in4:           +1.67 V  (min =  +1.50 V, max =  +1.83 V)
> in5:           +1.69 V  (min =  +1.76 V, max =  +2.04 V)  ALARM
> in6:           +1.49 V  (min =  +1.34 V, max =  +1.65 V)
> 3VSB:          +3.38 V  (min =  +2.98 V, max =  +3.63 V)
> Vbat:          +3.31 V  (min =  +2.70 V, max =  +3.30 V)  ALARM
> Rear_Fan:     3590 RPM  (min =  888 RPM, div = 8)
> CPU_Fan:      1854 RPM  (min = 2678 RPM, div = 8)  ALARM
> HD_Fan0:      3590 RPM  (min = 1298 RPM, div = 8)
> HD_Fan1:      3668 RPM  (min =  865 RPM, div = 8)
> fan5:            0 RPM  (min = 10546 RPM, div = 128)  ALARM
> PECI Agent 1:   +6.0°C  (high = +60.0°C, hyst = +58.0°C)  sensor = Intel
> PECI
> PECI Agent 1:   +6.0°C  (high = +89.0°C, hyst = +88.0°C)  sensor = Intel
> PECI
> SYSTIN:        +22.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor =
> thermistor
> CPUTIN:        -54.0°C
> cpu0_vid:     +0.000 V
> intrusion0:   OK
> 
> 
> In Bios the fans are set to 'no control / full speed' (i've tried in other
> modes too)
> 
> Now, as root.. i can change the settings in  pwm_enable (following doc for
> kernel driver for values)
> BigBox w83627ehf.656 # head *_enable
> ==> pwm1_enable <==
> 1
> ==> pwm2_enable <==
> 1
> ==> pwm3_enable <==
> 1
> BigBox w83627ehf.656 # for i in $(seq 3); do echo 2 >pwm${i}_enable; done
> BigBox w83627ehf.656 # head *_enable
> ==> pwm1_enable <==
> 2
> ==> pwm2_enable <==
> 2
> ==> pwm3_enable <==
> 2
> 
Should be 1 for manual mode. Supposedly this is the only mode where you can
write into the pwm attribute.

> As root I can also change the values for pwm_mode
> BigBox w83627ehf.656 # head *_mode
> ==> pwm1_mode <==
> 1
> ==> pwm2_mode <==
> 1
> ==> pwm3_mode <==
> 1
> BigBox w83627ehf.656 # for i in $(seq 3); do echo 0 >pwm${i}_mode; done
> BigBox w83627ehf.656 # head *_mode
> ==> pwm1_mode <==
> 0
> ==> pwm2_mode <==
> 0
> ==> pwm3_mode <==
> 0
> 
In general you don't want to change pwmX_mode, since it changes the mode from
pwm output (1) to DC output (0).

> 
> But i cannot change the pwm{1..3} values themselves..
> BigBox w83627ehf.656 # head pwm{1..3}
> ==> pwm1 <==
> 255
> ==> pwm2 <==
> 255
> ==> pwm3 <==
> 255
> BigBox w83627ehf.656 # for i in $(seq 3); do echo 0 >pwm${i}; done
> BigBox w83627ehf.656 # head pwm{1..3}
> ==> pwm1 <==
> 255
> ==> pwm2 <==
> 255
> ==> pwm3 <==
> 255
> 
> 
> There don't appear to be any errors, etc.
> 
> According to some threads in a bug on speedfan, there are some major
> problem with the W83667HG-B datasheet -- but i can't figure out how to
> contact/ask for what the bugs were...
> http://www.bugtrack.almico.com/view.php?id=1528#c5586
> 
Unfortunately, the datasheet problem is not explained in detail.

Guenter

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem
  2012-10-21 18:18 [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem camden lindsay
  2012-10-21 20:09 ` Guenter Roeck
@ 2012-10-21 20:41 ` camden lindsay
  2012-10-24  5:04 ` Guenter Roeck
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: camden lindsay @ 2012-10-21 20:41 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 7153 bytes --]

Thanks for the reply, Guenter--
Does not work in 1, either. I had tested before, I was simply showing that
i could write to all of those locations.  Just in case, let me re-do tho to
double check and provide more information.

In BIOS the available fan control options are
"Full speed mode"
"High Density Mode"
"Generic Mode"
"Whisper Mode"

I have them set to 'Full speed mode"
Here is what the pwm info looks like by default after changing to this
setting (from whatever to "Full speed mode"
BigBox device # for i in pwm1 pwm2 pwm3; do echo $i; cat ${i} ${i}_enable
${i}_mode; done
pwm1
255
1
0
pwm2
255
2
1
pwm3
255
1
1


I change them to be 1:
BigBox device # for i in $(seq 3); do echo 1 >pwm${i}_enable; done
BigBox device # for i in $(seq 3); do echo 1 >pwm${i}_mode; done

BigBox device # for i in pwm1 pwm2 pwm3; do echo $i; cat ${i} ${i}_enable
${i}_mode; done
pwm1
255
1
1
pwm2
255
1
1
pwm3
255
1
1


I try to echo 200 into pwm1:
BigBox device # echo 200 >pwm1

But it doesn't stick..
BigBox device # cat pwm1
255


Additionally, all of these settings get wiped across reboot.
(reboot)
BigBox device # for i in pwm1 pwm2 pwm3; do echo $i; cat ${i} ${i}_enable
${i}_mode; done
pwm1
255
1
0
pwm2
255
2
1
pwm3
255
1
1


I assume that bios sets them at boot time, and there is not 'off' for the
fan control settings for bios :(.
I figure i could set up a startup script to fix the _enable and _mode to
begin with if only pwm{1..3} worked.

take care..





On Sun, Oct 21, 2012 at 1:09 PM, Guenter Roeck <linux@roeck-us.net> wrote:

> On Sun, Oct 21, 2012 at 11:18:56AM -0700, camden lindsay wrote:
> > Hello-
> > I've had this motherboard since January 2011 had never gotten fan control
> > to work.  It seems to be either a driver or hardware implementation
> issue.
> >  It doesn't appear to have the atk0110 acpi methods of hardware control.
> >  When i try to echo any numbers into pwm_{1..3} they do not actually
> write
> > to the ?file?/?register?
> >
> > I hadn't looked too deeply into it, so as to understand the ACPI/ATK0110
> vs
> > legacy W83667HG-B  control until recently.  About as far as i had gotten
> > previously was to read http://www.lm-sensors.org/wiki/AsusFormulaHacking
> .
> > Recently started looking further into it for a variety of reasons;  I am
> > now sure that my board does not have any ATK0110 devices on it:
> >
> >
> > Details:
> > Kernel information
> > Linux BigBox 3.4.9-gentoo #1 SMP Sat Oct 20 21:41:06 PDT 2012 x86_64
> > Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz GenuineIntel GNU/Linux
> >
> > Modprobe of atk shows nothing in dmesg
> > BigBox w83627ehf.656 # modprobe asus-atk0110
> >
> > dylan@BigBox ~/My_Utils/acpi $ lsmod | grep asus
> > asus_atk0110            8614  0
> >
> > BigBox w83627ehf.656 # dmesg | tail -3
> > [   51.000276] w83627ehf: Found W83667HG-B chip at 0x290
> > [   57.806564] eth0: no IPv6 routers present
> > [   69.009033] netlink: 12 bytes leftover after parsing attributes.
> >
> >
> > dsdt.dsl does not have any of the 'key' atk stuff in it from the above
> > mentioned webpage:
> > dylan@BigBox ~/My_Utils/acpi $ grep -i -e asoc -e vbuf -e v500 -e v12v
> > dsdt.dsl
> > dylan@BigBox ~/My_Utils/acpi $
> >
> >
> > I don't have no-apci on my kernel command line, there are no conflicts
> > listed for acpi in dmesg, and the drivers for the sensor chip load
> happily
> > dylan@BigBox ~/My_Utils/acpi $ cat /proc/cmdline
> > root=/dev/md3
> >
> > dylan@BigBox ~/My_Utils/acpi $ dmesg | grep w83627ehf
> > [   51.000276] w83627ehf: Found W83667HG-B chip at 0x290
> > dylan@BigBox ~/My_Utils/acpi $
> >
> > dylan@BigBox ~/My_Utils/acpi $ dmesg | grep conflict
> > dylan@BigBox ~/My_Utils/acpi $
> >
> >
> > dylan@BigBox ~/My_Utils/acpi $ sensors w83667hg-isa-0290
> > w83667hg-isa-0290
> > Adapter: ISA adapter
> > Vcore:         +0.89 V  (min =  +0.60 V, max =  +1.50 V)
> > in1:           +1.73 V  (min =  +1.50 V, max =  +1.88 V)
> > AVCC:          +3.38 V  (min =  +2.98 V, max =  +3.63 V)
> > +3.3V:         +3.38 V  (min =  +2.98 V, max =  +3.63 V)
> > in4:           +1.67 V  (min =  +1.50 V, max =  +1.83 V)
> > in5:           +1.69 V  (min =  +1.76 V, max =  +2.04 V)  ALARM
> > in6:           +1.49 V  (min =  +1.34 V, max =  +1.65 V)
> > 3VSB:          +3.38 V  (min =  +2.98 V, max =  +3.63 V)
> > Vbat:          +3.31 V  (min =  +2.70 V, max =  +3.30 V)  ALARM
> > Rear_Fan:     3590 RPM  (min =  888 RPM, div = 8)
> > CPU_Fan:      1854 RPM  (min = 2678 RPM, div = 8)  ALARM
> > HD_Fan0:      3590 RPM  (min = 1298 RPM, div = 8)
> > HD_Fan1:      3668 RPM  (min =  865 RPM, div = 8)
> > fan5:            0 RPM  (min = 10546 RPM, div = 128)  ALARM
> > PECI Agent 1:   +6.0°C  (high = +60.0°C, hyst = +58.0°C)  sensor = Intel
> > PECI
> > PECI Agent 1:   +6.0°C  (high = +89.0°C, hyst = +88.0°C)  sensor = Intel
> > PECI
> > SYSTIN:        +22.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor =
> > thermistor
> > CPUTIN:        -54.0°C
> > cpu0_vid:     +0.000 V
> > intrusion0:   OK
> >
> >
> > In Bios the fans are set to 'no control / full speed' (i've tried in
> other
> > modes too)
> >
> > Now, as root.. i can change the settings in  pwm_enable (following doc
> for
> > kernel driver for values)
> > BigBox w83627ehf.656 # head *_enable
> > ==> pwm1_enable <==
> > 1
> > ==> pwm2_enable <==
> > 1
> > ==> pwm3_enable <==
> > 1
> > BigBox w83627ehf.656 # for i in $(seq 3); do echo 2 >pwm${i}_enable; done
> > BigBox w83627ehf.656 # head *_enable
> > ==> pwm1_enable <==
> > 2
> > ==> pwm2_enable <==
> > 2
> > ==> pwm3_enable <==
> > 2
> >
> Should be 1 for manual mode. Supposedly this is the only mode where you can
> write into the pwm attribute.
>
> > As root I can also change the values for pwm_mode
> > BigBox w83627ehf.656 # head *_mode
> > ==> pwm1_mode <==
> > 1
> > ==> pwm2_mode <==
> > 1
> > ==> pwm3_mode <==
> > 1
> > BigBox w83627ehf.656 # for i in $(seq 3); do echo 0 >pwm${i}_mode; done
> > BigBox w83627ehf.656 # head *_mode
> > ==> pwm1_mode <==
> > 0
> > ==> pwm2_mode <==
> > 0
> > ==> pwm3_mode <==
> > 0
> >
> In general you don't want to change pwmX_mode, since it changes the mode
> from
> pwm output (1) to DC output (0).
>
> >
> > But i cannot change the pwm{1..3} values themselves..
> > BigBox w83627ehf.656 # head pwm{1..3}
> > ==> pwm1 <==
> > 255
> > ==> pwm2 <==
> > 255
> > ==> pwm3 <==
> > 255
> > BigBox w83627ehf.656 # for i in $(seq 3); do echo 0 >pwm${i}; done
> > BigBox w83627ehf.656 # head pwm{1..3}
> > ==> pwm1 <==
> > 255
> > ==> pwm2 <==
> > 255
> > ==> pwm3 <==
> > 255
> >
> >
> > There don't appear to be any errors, etc.
> >
> > According to some threads in a bug on speedfan, there are some major
> > problem with the W83667HG-B datasheet -- but i can't figure out how to
> > contact/ask for what the bugs were...
> > http://www.bugtrack.almico.com/view.php?id=1528#c5586
> >
> Unfortunately, the datasheet problem is not explained in detail.
>
> Guenter
>

[-- Attachment #1.2: Type: text/html, Size: 9461 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem
  2012-10-21 18:18 [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem camden lindsay
  2012-10-21 20:09 ` Guenter Roeck
  2012-10-21 20:41 ` camden lindsay
@ 2012-10-24  5:04 ` Guenter Roeck
  2012-10-25  1:40 ` camden lindsay
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Guenter Roeck @ 2012-10-24  5:04 UTC (permalink / raw)
  To: lm-sensors

On Sun, Oct 21, 2012 at 01:41:26PM -0700, camden lindsay wrote:
> Thanks for the reply, Guenter--
> Does not work in 1, either. I had tested before, I was simply showing that
> i could write to all of those locations.  Just in case, let me re-do tho to
> double check and provide more information.
> 
> In BIOS the available fan control options are
> "Full speed mode"
> "High Density Mode"
> "Generic Mode"
> "Whisper Mode"
> 
Hi,

Please don't top-post.

If you set anything but full speed mode, do you see different pwm values ?

Also, please provide the output of

	sudo isadump -y 0x295 0x296 0
	sudo isadump -y 0x295 0x296 8
	sudo isadump -y 0x295 0x296 9
	sudo isadump -y 0x295 0x296 10
	sudo isadump -y 0x295 0x296 11

Thanks,
Guenter

> I have them set to 'Full speed mode"
> Here is what the pwm info looks like by default after changing to this
> setting (from whatever to "Full speed mode"
> BigBox device # for i in pwm1 pwm2 pwm3; do echo $i; cat ${i} ${i}_enable
> ${i}_mode; done
> pwm1
> 255
> 1
> 0
> pwm2
> 255
> 2
> 1
> pwm3
> 255
> 1
> 1
> 
> 
> I change them to be 1:
> BigBox device # for i in $(seq 3); do echo 1 >pwm${i}_enable; done
> BigBox device # for i in $(seq 3); do echo 1 >pwm${i}_mode; done
> 
> BigBox device # for i in pwm1 pwm2 pwm3; do echo $i; cat ${i} ${i}_enable
> ${i}_mode; done
> pwm1
> 255
> 1
> 1
> pwm2
> 255
> 1
> 1
> pwm3
> 255
> 1
> 1
> 
> 
> I try to echo 200 into pwm1:
> BigBox device # echo 200 >pwm1
> 
> But it doesn't stick..
> BigBox device # cat pwm1
> 255
> 
> 
> Additionally, all of these settings get wiped across reboot.
> (reboot)
> BigBox device # for i in pwm1 pwm2 pwm3; do echo $i; cat ${i} ${i}_enable
> ${i}_mode; done
> pwm1
> 255
> 1
> 0
> pwm2
> 255
> 2
> 1
> pwm3
> 255
> 1
> 1
> 
> 
> I assume that bios sets them at boot time, and there is not 'off' for the
> fan control settings for bios :(.
> I figure i could set up a startup script to fix the _enable and _mode to
> begin with if only pwm{1..3} worked.
> 
> take care..
> 
> 
> 
> 
> 
> On Sun, Oct 21, 2012 at 1:09 PM, Guenter Roeck <linux@roeck-us.net> wrote:
> 
> > On Sun, Oct 21, 2012 at 11:18:56AM -0700, camden lindsay wrote:
> > > Hello-
> > > I've had this motherboard since January 2011 had never gotten fan control
> > > to work.  It seems to be either a driver or hardware implementation
> > issue.
> > >  It doesn't appear to have the atk0110 acpi methods of hardware control.
> > >  When i try to echo any numbers into pwm_{1..3} they do not actually
> > write
> > > to the ?file?/?register?
> > >
> > > I hadn't looked too deeply into it, so as to understand the ACPI/ATK0110
> > vs
> > > legacy W83667HG-B  control until recently.  About as far as i had gotten
> > > previously was to read http://www.lm-sensors.org/wiki/AsusFormulaHacking
> > .
> > > Recently started looking further into it for a variety of reasons;  I am
> > > now sure that my board does not have any ATK0110 devices on it:
> > >
> > >
> > > Details:
> > > Kernel information
> > > Linux BigBox 3.4.9-gentoo #1 SMP Sat Oct 20 21:41:06 PDT 2012 x86_64
> > > Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz GenuineIntel GNU/Linux
> > >
> > > Modprobe of atk shows nothing in dmesg
> > > BigBox w83627ehf.656 # modprobe asus-atk0110
> > >
> > > dylan@BigBox ~/My_Utils/acpi $ lsmod | grep asus
> > > asus_atk0110            8614  0
> > >
> > > BigBox w83627ehf.656 # dmesg | tail -3
> > > [   51.000276] w83627ehf: Found W83667HG-B chip at 0x290
> > > [   57.806564] eth0: no IPv6 routers present
> > > [   69.009033] netlink: 12 bytes leftover after parsing attributes.
> > >
> > >
> > > dsdt.dsl does not have any of the 'key' atk stuff in it from the above
> > > mentioned webpage:
> > > dylan@BigBox ~/My_Utils/acpi $ grep -i -e asoc -e vbuf -e v500 -e v12v
> > > dsdt.dsl
> > > dylan@BigBox ~/My_Utils/acpi $
> > >
> > >
> > > I don't have no-apci on my kernel command line, there are no conflicts
> > > listed for acpi in dmesg, and the drivers for the sensor chip load
> > happily
> > > dylan@BigBox ~/My_Utils/acpi $ cat /proc/cmdline
> > > root=/dev/md3
> > >
> > > dylan@BigBox ~/My_Utils/acpi $ dmesg | grep w83627ehf
> > > [   51.000276] w83627ehf: Found W83667HG-B chip at 0x290
> > > dylan@BigBox ~/My_Utils/acpi $
> > >
> > > dylan@BigBox ~/My_Utils/acpi $ dmesg | grep conflict
> > > dylan@BigBox ~/My_Utils/acpi $
> > >
> > >
> > > dylan@BigBox ~/My_Utils/acpi $ sensors w83667hg-isa-0290
> > > w83667hg-isa-0290
> > > Adapter: ISA adapter
> > > Vcore:         +0.89 V  (min =  +0.60 V, max =  +1.50 V)
> > > in1:           +1.73 V  (min =  +1.50 V, max =  +1.88 V)
> > > AVCC:          +3.38 V  (min =  +2.98 V, max =  +3.63 V)
> > > +3.3V:         +3.38 V  (min =  +2.98 V, max =  +3.63 V)
> > > in4:           +1.67 V  (min =  +1.50 V, max =  +1.83 V)
> > > in5:           +1.69 V  (min =  +1.76 V, max =  +2.04 V)  ALARM
> > > in6:           +1.49 V  (min =  +1.34 V, max =  +1.65 V)
> > > 3VSB:          +3.38 V  (min =  +2.98 V, max =  +3.63 V)
> > > Vbat:          +3.31 V  (min =  +2.70 V, max =  +3.30 V)  ALARM
> > > Rear_Fan:     3590 RPM  (min =  888 RPM, div = 8)
> > > CPU_Fan:      1854 RPM  (min = 2678 RPM, div = 8)  ALARM
> > > HD_Fan0:      3590 RPM  (min = 1298 RPM, div = 8)
> > > HD_Fan1:      3668 RPM  (min =  865 RPM, div = 8)
> > > fan5:            0 RPM  (min = 10546 RPM, div = 128)  ALARM
> > > PECI Agent 1:   +6.0°C  (high = +60.0°C, hyst = +58.0°C)  sensor = Intel
> > > PECI
> > > PECI Agent 1:   +6.0°C  (high = +89.0°C, hyst = +88.0°C)  sensor = Intel
> > > PECI
> > > SYSTIN:        +22.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor =
> > > thermistor
> > > CPUTIN:        -54.0°C
> > > cpu0_vid:     +0.000 V
> > > intrusion0:   OK
> > >
> > >
> > > In Bios the fans are set to 'no control / full speed' (i've tried in
> > other
> > > modes too)
> > >
> > > Now, as root.. i can change the settings in  pwm_enable (following doc
> > for
> > > kernel driver for values)
> > > BigBox w83627ehf.656 # head *_enable
> > > ==> pwm1_enable <==
> > > 1
> > > ==> pwm2_enable <==
> > > 1
> > > ==> pwm3_enable <==
> > > 1
> > > BigBox w83627ehf.656 # for i in $(seq 3); do echo 2 >pwm${i}_enable; done
> > > BigBox w83627ehf.656 # head *_enable
> > > ==> pwm1_enable <==
> > > 2
> > > ==> pwm2_enable <==
> > > 2
> > > ==> pwm3_enable <==
> > > 2
> > >
> > Should be 1 for manual mode. Supposedly this is the only mode where you can
> > write into the pwm attribute.
> >
> > > As root I can also change the values for pwm_mode
> > > BigBox w83627ehf.656 # head *_mode
> > > ==> pwm1_mode <==
> > > 1
> > > ==> pwm2_mode <==
> > > 1
> > > ==> pwm3_mode <==
> > > 1
> > > BigBox w83627ehf.656 # for i in $(seq 3); do echo 0 >pwm${i}_mode; done
> > > BigBox w83627ehf.656 # head *_mode
> > > ==> pwm1_mode <==
> > > 0
> > > ==> pwm2_mode <==
> > > 0
> > > ==> pwm3_mode <==
> > > 0
> > >
> > In general you don't want to change pwmX_mode, since it changes the mode
> > from
> > pwm output (1) to DC output (0).
> >
> > >
> > > But i cannot change the pwm{1..3} values themselves..
> > > BigBox w83627ehf.656 # head pwm{1..3}
> > > ==> pwm1 <==
> > > 255
> > > ==> pwm2 <==
> > > 255
> > > ==> pwm3 <==
> > > 255
> > > BigBox w83627ehf.656 # for i in $(seq 3); do echo 0 >pwm${i}; done
> > > BigBox w83627ehf.656 # head pwm{1..3}
> > > ==> pwm1 <==
> > > 255
> > > ==> pwm2 <==
> > > 255
> > > ==> pwm3 <==
> > > 255
> > >
> > >
> > > There don't appear to be any errors, etc.
> > >
> > > According to some threads in a bug on speedfan, there are some major
> > > problem with the W83667HG-B datasheet -- but i can't figure out how to
> > > contact/ask for what the bugs were...
> > > http://www.bugtrack.almico.com/view.php?id=1528#c5586
> > >
> > Unfortunately, the datasheet problem is not explained in detail.
> >
> > Guenter
> >

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem
  2012-10-21 18:18 [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem camden lindsay
                   ` (2 preceding siblings ...)
  2012-10-24  5:04 ` Guenter Roeck
@ 2012-10-25  1:40 ` camden lindsay
  2012-10-25 13:48 ` Guenter Roeck
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: camden lindsay @ 2012-10-25  1:40 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 22300 bytes --]

>
> Hi,
>
> Please don't top-post.
>
> If you set anything but full speed mode, do you see different pwm values ?
>
> Also, please provide the output of
>
>         sudo isadump -y 0x295 0x296 0
>         sudo isadump -y 0x295 0x296 8
>         sudo isadump -y 0x295 0x296 9
>         sudo isadump -y 0x295 0x296 10
>         sudo isadump -y 0x295 0x296 11
>
> Thanks,
> Guenter
>
>
Sorry about the top-post, its a habit from working for years in gmail and
never really taking part in mailing lists;  I really don't know the correct
mannerisms.

Yes, pwm{1..3} change depending on the fan mode set in bios.
Out of curiosity, is there a datasheet for the chip floating around?  It
seems the manufacturer makes it on-request-only.  I couldn't find it online
anywhere particularly easily... lots of bad results in a search.


Hopefully this isn't too much to parse, but i've provided the
/sys/bus/hwmon and the isadump  output for each of the fan settings  in bios

Thanks!
Camden

"Full speed mode"--------------------------------------------------
pwm1    255
pwm1_enable    1
pwm1_max_output    255
pwm1_mode    0
pwm1_start_output    1
pwm1_step_output    1
pwm1_stop_output    1
pwm1_stop_time    24000
pwm1_target    0
pwm1_tolerance    0

pwm2    255
pwm2_enable    2
pwm2_max_output    255
pwm2_mode    1
pwm2_start_output    1
pwm2_step_output    1
pwm2_stop_output    128
pwm2_stop_time    6000
pwm2_target    0
pwm2_tolerance    2000

pwm3    255
pwm3_enable    1
pwm3_max_output    255
pwm3_mode    1
pwm3_start_output    1
pwm3_step_output    1
pwm3_stop_output    1
pwm3_stop_time    6000
pwm3_target    0
pwm3_tolerance    4000

0x295 0x296 0 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 ff 04 ff 11 00 00 20 01 80 01 01 3c 3c 01 01
10: 04 ff 10 00 04 01 01 3c 03 07 00 00 1d ff ff c4
20: 74 d8 d3 d3 d2 d3 ba 06 2f 5b 30 bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 2f
40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 00 a3
50: ff ff 00 ff ff ff 00 00 c1 c7 ff ff 01 01 00 05
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00
80: 04 ff 04 ff 11 00 00 20 01 80 01 01 3c 3c 01 01
90: 04 ff 10 00 04 01 01 3c 03 07 00 00 1d ff ff c6
a0: 74 d8 d3 d3 d2 d3 ba 06 2f 5b 30 bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 2f
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 00 a3
d0: ff ff 00 ff ff ff 00 00 c1 c7 ff ff 01 01 00 05
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00

 0x295 0x296 8 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 ff 04 ff 11 00 00 20 01 80 01 01 3c 3c 01 01
10: 04 ff 10 00 04 01 01 3c 03 07 00 00 1d ff ff c6
20: 74 d8 d3 d3 d2 d3 ba 06 2f 5b 30 bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 2f
40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 08 a3
50: 00 ff ff ff 00 10 02 c8 ff 06 ff ff 08 ff ff 14
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00
80: 04 ff 04 ff 11 00 00 20 01 80 01 01 3c 3c 01 01
90: 04 ff 10 00 04 01 01 3c 03 07 00 00 1d ff ff c6
a0: 74 d8 d3 d3 d2 d3 ba 06 2f 5b 30 bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 2f
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 08 a3
d0: 00 ff ff ff 00 10 02 c8 ff 06 ff ff 08 ff ff 14
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00

 0x295 0x296 9 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 ff 04 ff 11 00 00 20 01 80 01 01 3c 3c 01 01
10: 04 ff 10 00 04 01 01 3c 03 07 00 00 1d ff ff c6
20: 74 d8 d3 d3 d2 d3 ba 06 2f 5b 30 bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 2f
40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 09 a3
50: 01 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ff
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00
80: 04 ff 04 ff 11 00 00 20 01 80 01 01 3c 3c 01 01
90: 04 ff 10 00 04 01 01 3c 03 07 00 00 1d ff ff c6
a0: 74 d8 d3 d3 d2 d3 ba 06 2f 5b 30 bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 2f
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 09 a3
d0: 01 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ff
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00

 0x295 0x296 10 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 ff 04 ff 11 00 00 20 01 80 01 01 3c 3c 01 01
10: 04 ff 10 00 04 01 01 3c 03 07 00 00 1d ff ff c6
20: 74 d8 d3 d3 d2 d3 ba 06 2f 5b 30 bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 2f
40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 0a a3
50: 01 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ff
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00
80: 04 ff 04 ff 11 00 00 20 01 80 01 01 3c 3c 01 01
90: 04 ff 10 00 04 01 01 3c 03 07 00 00 1d ff ff c6
a0: 74 d8 d3 d3 d2 d3 ba 06 2f 5b 30 bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 2f
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 0a a3
d0: 01 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ff
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00

 0x295 0x296 11 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 ff 04 ff 11 00 00 20 01 80 01 01 3c 3c 01 01
10: 04 ff 10 00 04 01 01 3c 03 07 00 00 1d ff ff c6
20: 74 d8 d3 d3 d2 d3 ba 06 2f 5b 30 bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 2f
40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 0b a3
50: 01 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ff
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00
80: 04 ff 04 ff 11 00 00 20 01 80 01 01 3c 3c 01 01
90: 04 ff 10 00 04 01 01 3c 03 07 00 00 1d ff ff c8
a0: 74 d8 d3 d3 d2 d3 ba 06 2f 5b 30 bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 2f
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 0b a3
d0: 01 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ff
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00



"High Density Mode"--------------------------------------------------
pwm1    63
pwm1_enable    1
pwm1_max_output    255
pwm1_mode    0
pwm1_start_output    1
pwm1_step_output    1
pwm1_stop_output    1
pwm1_stop_time    24000
pwm1_target    30000
pwm1_tolerance    0

pwm2    63
pwm2_enable    2
pwm2_max_output    255
pwm2_mode    1
pwm2_start_output    1
pwm2_step_output    1
pwm2_stop_output    128
pwm2_stop_time    6000
pwm2_target    127000
pwm2_tolerance    2000

pwm3    63
pwm3_enable    1
pwm3_max_output    255
pwm3_mode    1
pwm3_start_output    1
pwm3_step_output    1
pwm3_stop_output    1
pwm3_stop_time    6000
pwm3_target    30000
pwm3_tolerance    4000

0x295 0x296 0 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 3f 04 3f 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 3f 10 1e 04 01 01 3c 03 07 00 00 1e ff ff c6
20: 72 d9 d3 d3 d2 d3 ba 05 5b 98 5b bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 5b
40: 01 00 00 ff ff 38 3f f5 2d 04 80 c0 10 95 00 a3
50: ff ff 00 ff ff ff 00 00 c1 cf ff ff 01 01 00 05
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00
80: 04 3f 04 3f 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 3f 10 1e 04 01 01 3c 03 07 00 00 1e ff ff c6
a0: 72 d9 d3 d3 d2 d3 ba 05 5b 98 5b bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 5b
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 00 a3
d0: ff ff 00 ff ff ff 00 00 c1 cf ff ff 01 01 00 05
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00

 0x295 0x296 8 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 3f 04 3f 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 3f 10 1e 04 01 01 3c 03 07 00 00 1e ff ff c6
20: 72 d9 d3 d3 d2 d3 ba 05 5b 98 5b bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 5b
40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 08 a3
50: 00 ff ff ff 00 10 02 c8 3f 05 80 3f 06 ff 3f 16
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00
80: 04 3f 04 3f 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 3f 10 1e 04 01 01 3c 03 07 00 00 1e ff ff c6
a0: 72 d9 d3 d3 d2 d3 ba 05 5b 98 5b bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 5b
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 08 a3
d0: 00 ff ff ff 00 10 02 c8 3f 05 80 3f 06 ff 3f 16
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00

 0x295 0x296 9 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 3f 04 3f 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 3f 10 1e 04 01 01 3c 03 07 00 00 1e ff ff c8
20: 72 d9 d3 d3 d2 d3 ba 05 5b 98 5b bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 5b
40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 09 a3
50: 01 1e 3c 4c ff ff ff 3f ff ff ff ff ff 3f 3f 3f
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00
80: 04 3f 04 3f 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 3f 10 1e 04 01 01 3c 03 07 00 00 1e ff ff c8
a0: 72 d9 d3 d3 d2 d3 ba 05 5b 98 5b bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 5b
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 09 a3
d0: 01 1e 3c 4c ff ff ff 3f ff ff ff ff ff 3f 3f 3f
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00

 0x295 0x296 10 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 3f 04 3f 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 3f 10 1e 04 01 01 3c 03 07 00 00 1e ff ff c8
20: 72 d9 d3 d3 d2 d3 ba 05 5b 98 5b bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 5b
40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 0a a3
50: 01 1e 3c 4c ff ff ff 3f ff ff ff ff ff ff ff ff
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00
80: 04 3f 04 3f 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 3f 10 1e 04 01 01 3c 03 07 00 00 1e ff ff c8
a0: 72 d9 d3 d3 d2 d3 ba 05 5b 98 5b bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 5b
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 0a a3
d0: 01 1e 3c 4c ff ff ff 3f ff ff ff ff ff ff ff ff
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00

 0x295 0x296 11 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 3f 04 3f 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 3f 10 1e 04 01 01 3c 03 07 00 00 1e ff ff c8
20: 72 d9 d3 d3 d2 d3 ba 05 5b 98 5b bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 5b
40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 0b a3
50: 01 1e 3c 4c ff ff ff 3f ff ff ff ff ff 3f 3f 3f
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00
80: 04 3f 04 3f 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 3f 10 1e 04 01 01 3c 03 07 00 00 1e ff ff c8
a0: 72 d9 d3 d3 d2 d3 ba 05 5b 98 5b bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 5b
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 0b a3
d0: 01 1e 3c 4c ff ff ff 3f ff ff ff ff ff 3f 3f 3f
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00



"Generic Mode"--------------------------------------------------
pwm1    51
pwm1_enable    1
pwm1_max_output    255
pwm1_mode    0
pwm1_start_output    1
pwm1_step_output    1
pwm1_stop_output    1
pwm1_stop_time    24000
pwm1_target    30000
pwm1_tolerance    0

pwm2    51
pwm2_enable    2
pwm2_max_output    255
pwm2_mode    1
pwm2_start_output    1
pwm2_step_output    1
pwm2_stop_output    128
pwm2_stop_time    6000
pwm2_target    127000
pwm2_tolerance    2000

pwm3    51
pwm3_enable    1
pwm3_max_output    255
pwm3_mode    1
pwm3_start_output    1
pwm3_step_output    1
pwm3_stop_output    1
pwm3_stop_time    6000
pwm3_target    30000
pwm3_tolerance    4000

0x295 0x296 0 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 33 04 33 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 33 10 1e 04 01 01 3c 03 07 00 00 1f ff ff dc
20: 6f d8 d3 d3 d1 d3 ba 06 61 9a 60 bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 62
40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 00 a3
50: ff ff 00 ff ff ff 00 00 c1 cf ff ff 01 01 00 05
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00
80: 04 33 04 33 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 33 10 1e 04 01 01 3c 03 07 00 00 1f ff ff dc
a0: 6f d8 d3 d3 d1 d3 ba 06 61 9a 60 bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 62
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 00 a3
d0: ff ff 00 ff ff ff 00 00 c1 cf ff ff 01 01 00 05
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00

 0x295 0x296 8 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 33 04 33 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 33 10 1e 04 01 01 3c 03 07 00 00 1f ff ff dc
20: 6f d8 d3 d3 d1 d3 ba 06 61 9a 60 bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 62
40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 08 a3
50: 00 ff ff ff 00 10 02 c8 33 06 7f 33 08 ff 33 16
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00
80: 04 33 04 33 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 33 10 1e 04 01 01 3c 03 07 00 00 1f ff ff dc
a0: 6f d8 d3 d3 d1 d3 ba 06 61 9a 60 bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 62
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 08 a3
d0: 00 ff ff ff 00 10 02 c8 33 06 7f 33 08 ff 33 16
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00

 0x295 0x296 9 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 33 04 33 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 33 10 1e 04 01 01 3c 03 07 00 00 1f ff ff c0
20: 6f d8 d3 d3 d1 d3 ba 06 61 9a 60 bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 62
40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 09 a3
50: 01 1e 3c 4c ff ff ff 33 80 ff ff ff ff 33 33 33
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00
80: 04 33 04 33 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 33 10 1e 04 01 01 3c 03 07 00 00 1f ff ff c0
a0: 6f d8 d3 d3 d1 d3 ba 06 61 9a 60 bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 62
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 09 a3
d0: 01 1e 3c 4c ff ff ff 33 80 ff ff ff ff 33 33 33
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00

 0x295 0x296 10 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 33 04 33 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 33 10 1e 04 01 01 3c 03 07 00 00 1f ff ff c0
20: 6f d8 d3 d3 d1 d3 ba 06 61 9a 60 bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 62
40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 0a a3
50: 01 1e 3c 4c ff ff ff 33 80 ff ff ff ff ff ff ff
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00
80: 04 33 04 33 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 33 10 1e 04 01 01 3c 03 07 00 00 1f ff ff c0
a0: 6f d8 d3 d3 d1 d3 ba 06 61 9a 60 bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 62
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 0a a3
d0: 01 1e 3c 4c ff ff ff 33 80 ff ff ff ff ff ff ff
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00

 0x295 0x296 11 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 33 04 33 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 33 10 1e 04 01 01 3c 03 07 00 00 1f ff ff c0
20: 6f d8 d3 d3 d1 d3 ba 06 61 9a 60 bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 62
40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 0b a3
50: 01 1e 3c 4c ff ff ff 33 80 ff ff ff ff 33 33 33
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00
80: 04 33 04 33 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 33 10 1e 04 01 01 3c 03 07 00 00 1f ff ff c0
a0: 6f d8 d3 d3 d1 d3 ba 06 61 9a 60 bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 62
c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 0b a3
d0: 01 1e 3c 4c ff ff ff 33 80 ff ff ff ff 33 33 33
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00



"Whisper Mode"--------------------------------------------------
pwm1    0
pwm1_enable    1
pwm1_max_output    255
pwm1_mode    0
pwm1_start_output    1
pwm1_step_output    1
pwm1_stop_output    1
pwm1_stop_time    24000
pwm1_target    30000
pwm1_tolerance    0

pwm2    0
pwm2_enable    2
pwm2_max_output    255
pwm2_mode    1
pwm2_start_output    1
pwm2_step_output    1
pwm2_stop_output    128
pwm2_stop_time    6000
pwm2_target    127000
pwm2_tolerance    2000

pwm3    63
pwm3_enable    1
pwm3_max_output    255
pwm3_mode    1
pwm3_start_output    1
pwm3_step_output    1
pwm3_stop_output    1
pwm3_stop_time    6000
pwm3_target    30000
pwm3_tolerance    4000

0x295 0x296 0 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 00 04 00 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 3f 10 1e 04 01 01 3c 03 07 00 00 21 ff ff d8
20: 6f d8 d3 d3 d1 d3 ba 09 ff 9d ff bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a 5b 3f 41 60 ff
40: 01 40 00 ff ff 00 3f c5 2d 04 80 00 90 95 00 a3
50: ff ff 00 ff ff ff 00 00 c1 c0 ff ff 01 a1 00 05
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00
80: 04 00 04 00 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 3f 10 1e 04 01 01 3c 03 07 00 00 21 ff ff d8
a0: 6f d8 d3 d3 d1 d3 ba 09 ff 9d ff bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a 5b 3f 41 60 ff
c0: 01 00 00 ff ff 00 3f c5 2d 04 80 00 90 95 00 a3
d0: ff ff 00 ff ff ff 00 00 c1 c0 ff ff 01 a1 00 05
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00

 0x295 0x296 8 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 00 04 00 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 3f 10 1e 04 01 01 3c 03 07 00 00 21 ff ff d8
20: 6f d8 d3 d3 d1 d3 ba 09 ff 9d ff bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a 5b 3f 41 60 ff
40: 01 00 00 ff ff 00 3f c5 2d 04 80 00 90 95 08 a3
50: 00 ff ff ff 00 10 02 c8 00 09 7f 00 0a ff 3f 16
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00
80: 04 00 04 00 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 3f 10 1e 04 01 01 3c 03 07 00 00 21 ff ff d8
a0: 6f d8 d3 d3 d1 d3 ba 09 ff 9d ff bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a 5b 3f 41 60 ff
c0: 01 00 00 ff ff 00 3f c5 2d 04 80 00 90 95 08 a3
d0: 00 ff ff ff 00 10 02 c8 00 09 7f 00 0a ff 3f 16
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00

 0x295 0x296 9 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 00 04 00 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 3f 10 1e 04 01 01 3c 03 07 00 00 21 ff ff d8
20: 6f d8 d3 d3 d1 d3 ba 09 ff 9d ff bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a 5b 3f 41 60 ff
40: 01 00 00 ff ff 00 3f c5 2d 04 80 00 90 95 09 a3
50: 01 1e 3c 4c ff ff ff 00 19 ff ff ff ff 00 00 3f
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00
80: 04 00 04 00 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 3f 10 1e 04 01 01 3c 03 07 00 00 21 ff ff da
a0: 6f d8 d3 d3 d1 d3 ba 09 ff 9d ff bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a 5b 3f 41 60 ff
c0: 01 00 00 ff ff 00 3f c5 2d 04 80 00 90 95 09 a3
d0: 01 1e 3c 4c ff ff ff 00 19 ff ff ff ff 00 00 3f
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00

 0x295 0x296 10 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 00 04 00 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 3f 10 1e 04 01 01 3c 03 07 00 00 21 ff ff da
20: 6f d8 d3 d3 d1 d3 ba 09 ff 9d ff bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a 5b 3f 41 60 ff
40: 01 00 00 ff ff 00 3f c5 2d 04 80 00 90 95 0a a3
50: 01 1e 3c 4c ff ff ff 00 19 ff ff ff ff ff ff ff
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00
80: 04 00 04 00 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 3f 10 1e 04 01 01 3c 03 07 00 00 21 ff ff da
a0: 6f d8 d3 d3 d1 d3 ba 09 ff 9d ff bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a 5b 3f 41 60 ff
c0: 01 00 00 ff ff 00 3f c5 2d 04 80 00 90 95 0a a3
d0: 01 1e 3c 4c ff ff ff 00 19 ff ff ff ff ff ff ff
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00

 0x295 0x296 11 _______________________________
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 00 04 00 11 1e ff 20 01 80 01 01 3c 3c 01 01
10: 04 3f 10 1e 04 01 01 3c 03 07 00 00 21 ff ff da
20: 6f d8 d3 d3 d1 d3 ba 09 ff 9d ff bb 4b eb bb e3
30: ba e3 ba e5 bb ff dc ce a8 3c 3a 5b 3f 41 60 ff
40: 01 00 00 ff ff 00 3f c5 2d 04 80 00 90 95 0b a3
50: 01 1e 3c 4c ff ff ff 00 19 ff ff ff ff 00 00 3f
60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00
80: 04 00 04 00 11 1e ff 20 01 80 01 01 3c 3c 01 01
90: 04 3f 10 1e 04 01 01 3c 03 07 00 00 21 ff ff da
a0: 6f d8 d3 d3 d1 d3 ba 09 ff 9d ff bb 4b eb bb e3
b0: ba e3 ba e5 bb ff dc ce a8 3c 3a 5b 3f 41 60 ff
c0: 01 00 00 ff ff 00 3f c5 2d 04 80 00 90 95 0b a3
d0: 01 1e 3c 4c ff ff ff 00 19 ff ff ff ff 00 00 3f
e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 00 01 ca 00

[-- Attachment #1.2: Type: text/html, Size: 28942 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem
  2012-10-21 18:18 [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem camden lindsay
                   ` (3 preceding siblings ...)
  2012-10-25  1:40 ` camden lindsay
@ 2012-10-25 13:48 ` Guenter Roeck
  2012-10-25 15:24 ` Guenter Roeck
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Guenter Roeck @ 2012-10-25 13:48 UTC (permalink / raw)
  To: lm-sensors

On Wed, Oct 24, 2012 at 06:40:33PM -0700, camden lindsay wrote:
> >
> > Hi,
> >
> > Please don't top-post.
> >
> > If you set anything but full speed mode, do you see different pwm values ?
> >
> > Also, please provide the output of
> >
> >         sudo isadump -y 0x295 0x296 0
> >         sudo isadump -y 0x295 0x296 8
> >         sudo isadump -y 0x295 0x296 9
> >         sudo isadump -y 0x295 0x296 10
> >         sudo isadump -y 0x295 0x296 11
> >
> > Thanks,
> > Guenter
> >
> >
> Sorry about the top-post, its a habit from working for years in gmail and
> never really taking part in mailing lists;  I really don't know the correct
> mannerisms.
> 
> Yes, pwm{1..3} change depending on the fan mode set in bios.
> Out of curiosity, is there a datasheet for the chip floating around?  It
> seems the manufacturer makes it on-request-only.  I couldn't find it online
> anywhere particularly easily... lots of bad results in a search.
> 
> 
> Hopefully this isn't too much to parse, but i've provided the
> /sys/bus/hwmon and the isadump  output for each of the fan settings  in bios
> 
> Thanks!
> Camden
> 
> "Full speed mode"--------------------------------------------------
> pwm1    255
> pwm1_enable    1
> pwm1_max_output    255
> pwm1_mode    0
> pwm1_start_output    1
> pwm1_step_output    1
> pwm1_stop_output    1
> pwm1_stop_time    24000
> pwm1_target    0
> pwm1_tolerance    0
> 
> pwm2    255
> pwm2_enable    2
> pwm2_max_output    255
> pwm2_mode    1
> pwm2_start_output    1
> pwm2_step_output    1
> pwm2_stop_output    128
> pwm2_stop_time    6000
> pwm2_target    0
> pwm2_tolerance    2000
> 
> pwm3    255
> pwm3_enable    1
> pwm3_max_output    255
> pwm3_mode    1
> pwm3_start_output    1
> pwm3_step_output    1
> pwm3_stop_output    1
> pwm3_stop_time    6000
> pwm3_target    0
> pwm3_tolerance    4000
> 
> 0x295 0x296 0 _______________________________
>      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
> 00: 04 ff 04 ff 11 00 00 20 01 80 01 01 3c 3c 01 01
> 10: 04 ff 10 00 04 01 01 3c 03 07 00 00 1d ff ff c4
> 20: 74 d8 d3 d3 d2 d3 ba 06 2f 5b 30 bb 4b eb bb e3
> 30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 2f
> 40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 00 a3
> 50: ff ff 00 ff ff ff 00 00 c1 c7 ff ff 01 01 00 05
> 60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
> 70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00
> 80: 04 ff 04 ff 11 00 00 20 01 80 01 01 3c 3c 01 01
> 90: 04 ff 10 00 04 01 01 3c 03 07 00 00 1d ff ff c6
> a0: 74 d8 d3 d3 d2 d3 ba 06 2f 5b 30 bb 4b eb bb e3
> b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 2f
> c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 00 a3
> d0: ff ff 00 ff ff ff 00 00 c1 c7 ff ff 01 01 00 05
> e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
> f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00
> 
>  0x295 0x296 8 _______________________________
>      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
> 00: 04 ff 04 ff 11 00 00 20 01 80 01 01 3c 3c 01 01
> 10: 04 ff 10 00 04 01 01 3c 03 07 00 00 1d ff ff c6
> 20: 74 d8 d3 d3 d2 d3 ba 06 2f 5b 30 bb 4b eb bb e3
> 30: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 2f
> 40: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 08 a3
> 50: 00 ff ff ff 00 10 02 c8 ff 06 ff ff 08 ff ff 14
> 60: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
> 70: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00
> 80: 04 ff 04 ff 11 00 00 20 01 80 01 01 3c 3c 01 01
> 90: 04 ff 10 00 04 01 01 3c 03 07 00 00 1d ff ff c6
> a0: 74 d8 d3 d3 d2 d3 ba 06 2f 5b 30 bb 4b eb bb e3
> b0: ba e3 ba e5 bb ff dc ce a8 3c 3a b6 3f 82 c1 2f
> c0: 01 00 00 ff ff 00 3f f5 2d 04 80 c0 10 95 08 a3
> d0: 00 ff ff ff 00 10 02 c8 ff 06 ff ff 08 ff ff 14
> e0: ff ff 40 ff ff ff ff ff 01 ff 01 ff 01 ff ff ff
> f0: 01 01 04 01 00 4b 4b 4b ff ff ff 1f 80 01 ca 00
> 
Guess that didn't work - it always prints the same data. I'll look into it
anyway - maybe there is some bit setting on this page that helps.

Another question. When you select the low noise modes, does the fan speed (pwm
value) change with CPU load ?

Thanks,
Guenter

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem
  2012-10-21 18:18 [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem camden lindsay
                   ` (4 preceding siblings ...)
  2012-10-25 13:48 ` Guenter Roeck
@ 2012-10-25 15:24 ` Guenter Roeck
  2012-10-27  5:48 ` camden lindsay
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Guenter Roeck @ 2012-10-25 15:24 UTC (permalink / raw)
  To: lm-sensors

On Wed, Oct 24, 2012 at 06:40:33PM -0700, camden lindsay wrote:
> >
> > Hi,
> >
> > Please don't top-post.
> >
> > If you set anything but full speed mode, do you see different pwm values ?
> >
> > Also, please provide the output of
> >
> >         sudo isadump -y 0x295 0x296 0
> >         sudo isadump -y 0x295 0x296 8
> >         sudo isadump -y 0x295 0x296 9
> >         sudo isadump -y 0x295 0x296 10
> >         sudo isadump -y 0x295 0x296 11
> >
> > Thanks,
> > Guenter
> >
> >
> Sorry about the top-post, its a habit from working for years in gmail and
> never really taking part in mailing lists;  I really don't know the correct
> mannerisms.
> 
> Yes, pwm{1..3} change depending on the fan mode set in bios.
> Out of curiosity, is there a datasheet for the chip floating around?  It
> seems the manufacturer makes it on-request-only.  I couldn't find it online
> anywhere particularly easily... lots of bad results in a search.
> 
> 
> Hopefully this isn't too much to parse, but i've provided the
> /sys/bus/hwmon and the isadump  output for each of the fan settings  in bios
> 
Please download and install the driver from https://github.com/groeck/w83627ehf.
This is an experimental version which adds a couple of new features and,
specifically for you chip, a missing fan control mode. If we are lucky that
might solve your problem.

Thanks,
Guenter

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem
  2012-10-21 18:18 [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem camden lindsay
                   ` (5 preceding siblings ...)
  2012-10-25 15:24 ` Guenter Roeck
@ 2012-10-27  5:48 ` camden lindsay
  2012-10-27  6:27 ` camden lindsay
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: camden lindsay @ 2012-10-27  5:48 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 3480 bytes --]

>
> Please download and install the driver from
> https://github.com/groeck/w83627ehf.
> This is an experimental version which adds a couple of new features and,
> specifically for you chip, a missing fan control mode. If we are lucky that
> might solve your problem.
>
> Thanks,
> Guenter
>


Thank you, Guenter.
No the fans never seemed to change speed with load or cpu use, or for that
matter temperature- although i'm in a pretty cold environment and don't
ever really see more than 30c on the chips.

The newer driver does indeed allow _some_ control of the fans! - albeit
with slightly odd results;
All case fans and CPU fans seem to hang off of one output, but the cpu fan
does not stop when 0 is entered, while the other fans do.

pwm1 and pwm3 have control of none of the fans plugged into the board

pwm2 at 255 has all fans at full speed:
BigBox w83627ehf.656 # for i in pwm1 pwm2 pwm3; do echo $i; cat ${i}
${i}_enable ${i}_mode; done
pwm1
0
1
1
pwm2
255
1
1
pwm3
0
1
1
Rear_Fan:     3515 RPM  (min =  958 RPM, div = 128)
CPU_Fan:      1795 RPM  (min = 2678 RPM, div = 8)  ALARM
HD_Fan0:      3515 RPM  (min = 1318 RPM, div = 128)
HD_Fan1:      3515 RPM  (min =  878 RPM, div = 128)


pwm2 at 0 has all case fans stopped and cpu fan at partial speed.
BigBox w83627ehf.656 # for i in pwm1 pwm2 pwm3; do echo $i; cat ${i}
${i}_enable ${i}_mode; done
pwm1
0
1
1
pwm2
0
1
1
pwm3
0
1
1
BigBox w83627ehf.656 # sensors | grep Fan
Rear_Fan:        0 RPM  (min =  958 RPM, div = 128)  ALARM
CPU_Fan:      1048 RPM  (min = 2678 RPM, div = 8)  ALARM
HD_Fan0:         0 RPM  (min = 1318 RPM, div = 128)  ALARM
HD_Fan1:         0 RPM  (min =  878 RPM, div = 128)  ALARM
Take care--


P.S. Here are all of the pwm related values:

dylan@BigBox /usr/src/linux/drivers/hwmon $ head
/sys/class/hwmon/hwmon2/device/pwm*
==> /sys/class/hwmon/hwmon2/device/pwm1 <==
0
==> /sys/class/hwmon/hwmon2/device/pwm1_enable <==
1
==> /sys/class/hwmon/hwmon2/device/pwm1_max_output <==
255
==> /sys/class/hwmon/hwmon2/device/pwm1_mode <==
1
==> /sys/class/hwmon/hwmon2/device/pwm1_start_output <==
1
==> /sys/class/hwmon/hwmon2/device/pwm1_step_output <==
1
==> /sys/class/hwmon/hwmon2/device/pwm1_stop_output <==
1
==> /sys/class/hwmon/hwmon2/device/pwm1_stop_time <==
6000
==> /sys/class/hwmon/hwmon2/device/pwm1_target <==
0
==> /sys/class/hwmon/hwmon2/device/pwm1_tolerance <==
0
==> /sys/class/hwmon/hwmon2/device/pwm2 <==
255
==> /sys/class/hwmon/hwmon2/device/pwm2_enable <==
1
==> /sys/class/hwmon/hwmon2/device/pwm2_max_output <==
255
==> /sys/class/hwmon/hwmon2/device/pwm2_mode <==
1
==> /sys/class/hwmon/hwmon2/device/pwm2_start_output <==
1
==> /sys/class/hwmon/hwmon2/device/pwm2_step_output <==
1
==> /sys/class/hwmon/hwmon2/device/pwm2_stop_output <==
128
==> /sys/class/hwmon/hwmon2/device/pwm2_stop_time <==
6000
==> /sys/class/hwmon/hwmon2/device/pwm2_target <==
0
==> /sys/class/hwmon/hwmon2/device/pwm2_tolerance <==
2000
==> /sys/class/hwmon/hwmon2/device/pwm3 <==
0
==> /sys/class/hwmon/hwmon2/device/pwm3_enable <==
1
==> /sys/class/hwmon/hwmon2/device/pwm3_max_output <==
255
==> /sys/class/hwmon/hwmon2/device/pwm3_mode <==
1
==> /sys/class/hwmon/hwmon2/device/pwm3_start_output <==
1
==> /sys/class/hwmon/hwmon2/device/pwm3_step_output <==
1
==> /sys/class/hwmon/hwmon2/device/pwm3_stop_output <==
1
==> /sys/class/hwmon/hwmon2/device/pwm3_stop_time <==
6000
==> /sys/class/hwmon/hwmon2/device/pwm3_target <==
0
==> /sys/class/hwmon/hwmon2/device/pwm3_tolerance <==
4000

[-- Attachment #1.2: Type: text/html, Size: 5206 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem
  2012-10-21 18:18 [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem camden lindsay
                   ` (6 preceding siblings ...)
  2012-10-27  5:48 ` camden lindsay
@ 2012-10-27  6:27 ` camden lindsay
  2012-10-27 15:57 ` Guenter Roeck
  2012-10-27 18:56 ` camden lindsay
  9 siblings, 0 replies; 11+ messages in thread
From: camden lindsay @ 2012-10-27  6:27 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 820 bytes --]

Hm--
Not sure if it matters, but the chip is being identified by the driver as
[   30.548982] w83627ehf: Found W83667HG-B chip at 0x290
but i found the chip on the board, and it has markings on it that is
W83557HG-A as seen here:
https://plus.google.com/photos/118091037272972387274/albums/5803871629918378497?authkey=CPXGsI3ql-i0KA


Also interesting:
-- when booting up, we see this:
BigBox w83627ehf.656 # for i in pwm1 pwm2 pwm3; do echo $i; cat ${i}
${i}_enable ${i}_mode; done
pwm1
255
5
0
pwm2
255
5
1
pwm3
255
5
1

When enabling PWM, it automatically changes the PWM2 setting to 127, and
the other two off
BigBox w83627ehf.656 # for i in $(seq 3); do echo 1 >pwm${i}_enable; done
BigBox w83627ehf.656 # for i in pwm1 pwm2 pwm3; do echo $i; cat ${i}
${i}_enable ${i}_mode; done
pwm1
0
1
0
pwm2
127
1
1
pwm3
0
1
1

[-- Attachment #1.2: Type: text/html, Size: 1433 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem
  2012-10-21 18:18 [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem camden lindsay
                   ` (7 preceding siblings ...)
  2012-10-27  6:27 ` camden lindsay
@ 2012-10-27 15:57 ` Guenter Roeck
  2012-10-27 18:56 ` camden lindsay
  9 siblings, 0 replies; 11+ messages in thread
From: Guenter Roeck @ 2012-10-27 15:57 UTC (permalink / raw)
  To: lm-sensors

On Fri, Oct 26, 2012 at 10:48:09PM -0700, camden lindsay wrote:
> >
> > Please download and install the driver from
> > https://github.com/groeck/w83627ehf.
> > This is an experimental version which adds a couple of new features and,
> > specifically for you chip, a missing fan control mode. If we are lucky that
> > might solve your problem.
> >
> > Thanks,
> > Guenter
> >
> 
> 
> Thank you, Guenter.
> No the fans never seemed to change speed with load or cpu use, or for that
> matter temperature- although i'm in a pretty cold environment and don't
> ever really see more than 30c on the chips.
> 
You woud have to bring the load up to 100% for some time, and the CPU
temperature as well, to see the fan speeds change. At 30c nothing is going to
happen with the fans.

> The newer driver does indeed allow _some_ control of the fans! - albeit
> with slightly odd results;
> All case fans and CPU fans seem to hang off of one output, but the cpu fan
> does not stop when 0 is entered, while the other fans do.
> 
That the CPU fan does not stop is quite normal. Apparently many CPU fans operate
that way.

> pwm1 and pwm3 have control of none of the fans plugged into the board
> 
It appears that the board designers connected all fans to the same pwm output.
Odd, but there is really no other explanation (or I don't have one).

The initial pwm_enable value if "5" means that the fan control system is in
"SmartFan IV" mode, meaning it performs automatic fan control. That mode is
controlled with a separate register and overrides all other settings, meaning
the earlier code never really changed the fan control mode at all. Which
explains why you could not set the pwm values.

Apparently, in SmartFan IV mode, you can not read the current pwm value
with that chip.

Overall I would recommend not to touch the fan control at all and leave pwmX_enable
at 5. This lets the chip handle fan control, which is better than you can ever do
manually.

One other question: Can you change pwmX_enable back to 5, and do the fan speeds
revert to the original speed if you do that ?

Thanks,
Guenter

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem
  2012-10-21 18:18 [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem camden lindsay
                   ` (8 preceding siblings ...)
  2012-10-27 15:57 ` Guenter Roeck
@ 2012-10-27 18:56 ` camden lindsay
  9 siblings, 0 replies; 11+ messages in thread
From: camden lindsay @ 2012-10-27 18:56 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 2063 bytes --]

>
> It appears that the board designers connected all fans to the same pwm
> output.
> Odd, but there is really no other explanation (or I don't have one).
>
> The initial pwm_enable value if "5" means that the fan control system is in
> "SmartFan IV" mode, meaning it performs automatic fan control. That mode is
> controlled with a separate register and overrides all other settings,
> meaning
> the earlier code never really changed the fan control mode at all. Which
> explains why you could not set the pwm values.
>
> Apparently, in SmartFan IV mode, you can not read the current pwm value
> with that chip.
>
> Overall I would recommend not to touch the fan control at all and leave
> pwmX_enable
> at 5. This lets the chip handle fan control, which is better than you can
> ever do
> manually.
>
> One other question: Can you change pwmX_enable back to 5, and do the fan
> speeds
> revert to the original speed if you do that ?
>
> Thanks,
> Guenter
>


Thank you, Guenter-
you are correct.  I verified the CPU fan runs when driven off of a header
with 0 PWM  (case fan header that has stopped).
Odd indeed since i bought this board because it had 4 case fan headers.

In smartfan IV mode, i can read the PWM -- i just cannot write to it.
dylan@BigBox /sys/class/hwmon/hwmon2/device $ cat pwm2 pwm2_enable pwm2_mode
11
5
1

I realize that the best way for the board and CPU would be to leave
pwmX_enable at 5, however I would also like a quiet computer, and the board
does not take into consideration the temperature of the hard drive cages.
 If i use 'whisper mode', all fans turn off but the CPU fan (by fan
hardware design, as you pointed out) and  the drives slowly start cooking.

I will have to use the 'Generic mode', which is what i was using before.

And for the final question: Yes.
If i start in 'Whisper' mode, all fans are off (exept CPU based on fan
hardware)
If i echo 1 >pwm2_enable, all fans turn on and the pwm2 sets itself to 127
If i echo 5 >pwm2_enable all fans shut back off.


Thank you very much for your time and patience.
Camden

[-- Attachment #1.2: Type: text/html, Size: 2614 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-10-27 18:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-21 18:18 [lm-sensors] Asus P7F-X w/ W83667HG-B pwm control problem camden lindsay
2012-10-21 20:09 ` Guenter Roeck
2012-10-21 20:41 ` camden lindsay
2012-10-24  5:04 ` Guenter Roeck
2012-10-25  1:40 ` camden lindsay
2012-10-25 13:48 ` Guenter Roeck
2012-10-25 15:24 ` Guenter Roeck
2012-10-27  5:48 ` camden lindsay
2012-10-27  6:27 ` camden lindsay
2012-10-27 15:57 ` Guenter Roeck
2012-10-27 18:56 ` camden lindsay

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.