public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Mads Paulin <paulin-/w0Os/Ss2Sh/SzgSGea1oA@public.gmane.org>
To: Karol Kozimor <sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [Acpi4asus-user] ASUS M2400N / M3700N / S1300N temperature
Date: 19 Aug 2003 17:27:53 +0200	[thread overview]
Message-ID: <1061306874.2276.3.camel@Home> (raw)
In-Reply-To: <20030819140334.GB4265-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>

Ok - probably I was too optimistic there - sorry :-)

Just a mad idea: What happens if I try to use the ASUS L3800C DSDT on my
M2400N ? Does it blow up ??

Mads


On Tue, 2003-08-19 at 16:03, Karol Kozimor wrote:
> Thus wrote Mads Paulin:
> > I have an ASUS M2400N and is trying to get the fan control right. Karol
> > solved the temperature reading problem, but due to wron thermal trip
> 
> Did I really? From what you said before, I understood it didn't work.
> Let's look at the code:
> #v+
>     Method (_TMP, 0, NotSerialized)
>     {
>         Store (0x05, Local1)
>         While (Local1)
>         {
>             Store (RTMP (), Local0)
>             If (LGreater (Local0, TCRT))
>             {
>                 Decrement (Local1)
>             }
>             Else
>             {
>                 Store (0x00, Local1)
>             }
>         }
> 
>         Return (KELV (Local0))
>     }
> [...]
>     Method (RTMP, 0, NotSerialized)
>     {
>         Store (RBYT (TSAD, 0x01), Local0)
>         If (Not (Local0))
>         {
>             Store (Local0, LTMP)
>         }
> 
>         Return (LTMP)
>     }
> #v-
> 
> This is the original one. If the (RBYT (TSAD, 0x01) is supposed to return
> temperature, it should rather not be zero. Thus, the condition in RTMP
> always fails. Since LTMP is initialized with 0x3c (60d), the _TMP method
> always returns (KELV (60)), and also, since RTMP is also used internally,
> the fan keeps spinning at the same speed. 
> 
> Now, if the aforementioned condition is changed to If (Local0), which looks
> fairly more reasonable, strange things begin to happen (like those trip
> points and temperature being reported as 255 degrees). There is nothing in
> the trip point code that would support such a behaviour, unless the change
> causes some random memory scribbling, or something similarly nasty.
> 
> > By the way, the fan is capable of rotationg at several different rpm's.
> > Have any of you gotten this rigt ? On my laptop, the fan starts at max
> > rpms and then turns completely off. The only way I can get it to rotate
> > at low RPMS is by rebooting the machine when the processor temperature
> > is in the interval giving low rpm's. The bios will then put the fan in
> > low rpm state.
> > 
> > This leads me to think, that the fan is not controlled by acpi at all
> > (possibly due to a buggy DSDT)
> 
> The fan is, and should be, controled by ACPI, though not in the way the
> specification says. The \_TZ.TCHG method compares the actual temperature
> adn stores appropriate values in the fan registers, causing it to change
> its speed. A very similar thermal system exists in ASUS L3800C, where it
> works quite well.
> 
> Could someone take a look in the M2400N DSDT and suggest a way to debug it?
> Best regards,
> 
> -- 
> Karol 'sziwan' Kozimor
> sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org




-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104

  parent reply	other threads:[~2003-08-19 15:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030814025858.GA16098@hell.org.pl>
     [not found] ` <1060944604.1760.1.camel@M2400N>
     [not found]   ` <20030815142258.GA2643@hell.org.pl>
     [not found]     ` <1060959167.2144.19.camel@Home>
     [not found]       ` <20030815205541.GB25102@hell.org.pl>
     [not found]         ` <1061221384.1996.6.camel@M2400N>
     [not found]           ` <1061221384.1996.6.camel-m6aJA0iQrH4@public.gmane.org>
2003-08-19 14:03             ` [Acpi4asus-user] ASUS M2400N / M3700N / S1300N temperature Karol Kozimor
     [not found]               ` <20030819140334.GB4265-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-08-19 14:13                 ` Ducrot Bruno
     [not found]                   ` <20030819141349.GM18032-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-08-23  9:22                     ` Mads Paulin
     [not found]                       ` <1061630529.1927.1.camel-m6aJA0iQrH4@public.gmane.org>
2003-08-25  7:13                         ` Ducrot Bruno
2003-08-19 15:27                 ` Mads Paulin [this message]
2003-08-19 15:55                 ` Mads Paulin
2003-08-26  9:32                 ` Mads Paulin

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=1061306874.2276.3.camel@Home \
    --to=paulin-/w0os/ss2sh/szgsgea1oa@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox