All of lore.kernel.org
 help / color / mirror / Atom feed
From: Helmut Grohne <helmut@subdivi.de>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] serious w83627ehf problem stopping cpu fan
Date: Wed, 12 Mar 2008 13:17:01 +0000	[thread overview]
Message-ID: <20080312131701.GA6772@alf.mars> (raw)
In-Reply-To: <20080312011430.GA20751@alf.mars>

Hi,

> > The only thing I really need now is a stable cpu fan. Can I somehow lock
> > it to maximum speed or something similar? Can I somehow run w83627ehf
> If you disable Q-Fan in the BIOS, that's what should happen.

Ok.

> Did you try without the w83627ehf driver loaded? What makes you believe
> that the w83627ehf driver is responsible for your problem? This might
> as well be an ACPI issue.

I did not try unloading the driver permanently, because this would
effectively prevent me from monitoring temperature and fan speed and
would therefore not notice a temperature increase.

There are two things that made me believe w83627ehf is responsible:
1) It is possible to change the fan behaviour using this driver.
2) This is very unreliable. (see below)

I did not think about this having to do with ACPI, but it sounds
reasonable. Compiling dsdt.dsl again results in tons of errors (below).

> >         echo 255 > pwm2
> Note that the value written to pwm2 has no effect when pwm2_enable = 2,
> so there's nothing you can hope from this step.

Even with pwm2_enable = 1 the setting often does not change
(nondeterministically). That's the reason for doing these echos in a
loop: Hoping that a value will eventually change.

> >         echo 1000 > pwm2_target
> This is setting the target temperature to 1 degree C. That doesn't make
> any sense to me, as there is the way the chip can achieve this. On top
> of that, this setting is only valid fir pwm2_enable = 2, which isn't
> the case at this point.

What makes even less sense is taht pwm2_target only accepts two values:
1000 and 127000. Other values I tried simply do not change the contents
of the file.

Theoretically the fan should stop after the following.
echo 1 > pwm2_enable
echo 0 > pwm2

This works only in very rare occasions. Values written to pwm2 seem to
only sometimes change the value.

Helmut

root@# iasl -tc dsdt.dsl
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20061109 [May 15 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl   410:     Method (\_WAK, 1, NotSerialized)
Warning  1079 -                 ^ Reserved method must return a value (_WAK)

dsdt.dsl   452:             Store (Local0, Local0)
Error    4049 -                         ^ Method local variable is not initialized (Local0)

dsdt.dsl   460:             Store (Local0, Local0)
Error    4049 -                         ^ Method local variable is not initialized (Local0)

dsdt.dsl   786:                 Method (GHTF, 0, NotSerialized)
Warning  1086 -                            ^ Not all control paths return a value (GHTF)

dsdt.dsl  1697:                         Store (Local0, Local0)
Error    4049 -                                     ^ Method local variable is not initialized (Local0)

dsdt.dsl  1702:                         Store (Local0, Local0)
Error    4049 -                                     ^ Method local variable is not initialized (Local0)

dsdt.dsl  1707:                         Store (Local0, Local0)
Error    4049 -                                     ^ Method local variable is not initialized (Local0)

dsdt.dsl  2198:                 Method (STM, 0, Serialized)
Warning  1086 -                           ^ Not all control paths return a value (STM_)

dsdt.dsl  2757:                 Method (STM, 0, Serialized)
Warning  1086 -                           ^ Not all control paths return a value (STM_)

dsdt.dsl  3864:                 Method (RVLT, 1, NotSerialized)
Warning  1086 -                            ^ Not all control paths return a value (RVLT)

dsdt.dsl  3934:                 Method (RTMP, 1, NotSerialized)
Warning  1086 -                            ^ Not all control paths return a value (RTMP)

dsdt.dsl  4111:                     Store (GHTF (), Local1)
Warning  1091 -                               ^ Called method may not always return a value

dsdt.dsl  4156:                 Method (OCOP, 1, NotSerialized)
Warning  1086 -                            ^ Not all control paths return a value (OCOP)

dsdt.dsl  4182:                             Store (GHTF (), Local1)
Warning  1091 -                                       ^ Called method may not always return a value

dsdt.dsl  5963:                 Method (_STA, 0, NotSerialized)
Warning  1086 -                            ^ Not all control paths return a value (_STA)

dsdt.dsl  5963:                 Method (_STA, 0, NotSerialized)
Warning  1079 -                            ^ Reserved method must return a value (_STA)

dsdt.dsl  6035:                 Method (_PRS, 0, NotSerialized)
Warning  1086 -                            ^ Not all control paths return a value (_PRS)

dsdt.dsl  6035:                 Method (_PRS, 0, NotSerialized)
Warning  1079 -                            ^ Reserved method must return a value (_PRS)

dsdt.dsl  6111:                 Method (_STA, 0, NotSerialized)
Warning  1086 -                            ^ Not all control paths return a value (_STA)

dsdt.dsl  6111:                 Method (_STA, 0, NotSerialized)
Warning  1079 -                            ^ Reserved method must return a value (_STA)

dsdt.dsl  6166:                 Method (_PRS, 0, NotSerialized)
Warning  1086 -                            ^ Not all control paths return a value (_PRS)

dsdt.dsl  6166:                 Method (_PRS, 0, NotSerialized)
Warning  1079 -                            ^ Reserved method must return a value (_PRS)

dsdt.dsl  6293:                 Method (_PRS, 0, NotSerialized)
Warning  1086 -                            ^ Not all control paths return a value (_PRS)

dsdt.dsl  6293:                 Method (_PRS, 0, NotSerialized)
Warning  1079 -                            ^ Reserved method must return a value (_PRS)

dsdt.dsl  6429:                 Method (_PRS, 0, NotSerialized)
Warning  1086 -                            ^ Not all control paths return a value (_PRS)

dsdt.dsl  6429:                 Method (_PRS, 0, NotSerialized)
Warning  1079 -                            ^ Reserved method must return a value (_PRS)

dsdt.dsl  6475:                 Method (_CRS, 0, NotSerialized)
Warning  1086 -                            ^ Not all control paths return a value (_CRS)

dsdt.dsl  6475:                 Method (_CRS, 0, NotSerialized)
Warning  1079 -                            ^ Reserved method must return a value (_CRS)

ASL Input:  dsdt.dsl - 8614 lines, 278641 bytes, 3542 keywords
Compilation complete. 5 Errors, 23 Warnings, 0 Remarks, 1099 Optimizations
root@#

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

  parent reply	other threads:[~2008-03-12 13:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-12  1:14 [lm-sensors] serious w83627ehf problem stopping cpu fan Helmut Grohne
2008-03-12  9:15 ` Rudolf Marek
2008-03-12 10:52 ` Helmut Grohne
2008-03-12 11:13 ` Jean Delvare
2008-03-12 12:24 ` Helmut Grohne
2008-03-12 13:00 ` Jean Delvare
2008-03-12 13:17 ` Helmut Grohne [this message]
2008-03-12 13:29 ` Rudolf Marek
2008-03-12 16:09 ` Helmut Grohne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080312131701.GA6772@alf.mars \
    --to=helmut@subdivi.de \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.