public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Andre Eisenbach <andre-+hZUvIEKc2q1Z/+hSey0Gg@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc: Erik Meitner <usenet-cuDg6iFcrsRAfugRpC6u6w@public.gmane.org>
Subject: Re: Re: DSDT Change (Compaq Presario 2100)
Date: Sat, 29 May 2004 13:45:47 -0700	[thread overview]
Message-ID: <200405291345.51712.andre@eisenbach.com> (raw)
In-Reply-To: <c9am7j$nng$1@sea.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1831 bytes --]

Am Samstag Mai 29 2004 11:53 schrieb Erik Meitner:
> > Well, tonight, while recompiling the DSDT a few times to remove warnings
> > and errors, I stumbled across this (in method SMSL
> >
> > If (0x01)
> > {
> > 	Store (\_SB.PCI0.ISA.EC0.TTDC, TRDC)
> > 	Store ("AC remove! Set Throttle Duty Cycle ---: ", Debug)
> > 	Store (TRDC, Debug)
> > 	Store (0x01, TREN)
> > }
>
> The DSDT for my laptop has the exact same code.

That piece of code is the state cange code (i.e. when you unplug the AC cord). 
There is another place you need to change, which initializes the behaviour 
when you boot with the power cable already unplugged.

The method is _REG. Here is the code

                                Store (0x01, \_SB.PCI0.PMU.CRUN)
                                If (0x01)
                                {
                                    Store (\_SB.PCI0.ISA.EC0.TTDC, TRDC)
                                    Store (0x01, TREN)
                                }

Once again change "If (0x01)" to "If (0x00)".

> > In any case, I changed "If (0x01)" to "If (0x00)" and voila, I am typing
> > this email from KDE with the power cord unplugged - no slowdown at all.
>
> I have verified that this works for my machine also.

Thats great news!

> Am I correct in assuming that TREN is "Throttle Enable"(boolean value)
> and TRDC is "Throttle Duty-cycle"? What other TRDC values might make
> sense other than 0x0 ?

I think you're right about TREN and TRDC. 
That method of throttling the CPU is not a good method apparently. It also 
doesn't save battery (at least for me). Instead, use "PowerNOW" if you have 
an AMD chip. It's built into the 2.6+ kernels (cpufreq) and works like a 
champ for me.  And unlike the DSDT based throtteling, you can control it!

Cheers,
    André

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-05-29 20:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-28 13:21 DSDT Change (Compaq Presario 2100) Andre Eisenbach
     [not found] ` <200405280621.29874.andre-+hZUvIEKc2q1Z/+hSey0Gg@public.gmane.org>
2004-05-29 18:53   ` Erik Meitner
2004-05-29 20:45     ` Andre Eisenbach [this message]
     [not found]       ` <200405291345.51712.andre-+hZUvIEKc2q1Z/+hSey0Gg@public.gmane.org>
2004-06-02 18:46         ` Andrew D. Keyser
2004-06-02 19:45           ` Andre Eisenbach
2004-06-03  9:40           ` Francesco P. Lovergine
2004-06-28 21:34         ` Pavel Machek
     [not found]           ` <20040628213409.GA19468-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-06-29 20:04             ` Erik Meitner
2004-07-02 11:54               ` Pavel Machek
     [not found]                 ` <20040702115454.GA12889-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-07-02 17:33                   ` Andre Eisenbach
     [not found]                     ` <40E59C64.9050603-+hZUvIEKc2q1Z/+hSey0Gg@public.gmane.org>
2004-07-02 19:21                       ` Pavel Machek
     [not found]                         ` <20040702192152.GB10138-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-07-02 22:28                           ` Michael Frank
     [not found]                             ` <opsai7dgaq4evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
2004-07-03  0:37                               ` Pavel Machek
     [not found]                                 ` <20040703003713.GG3889-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-07-03 10:08                                   ` Michael Frank
     [not found]                                     ` <opsaj3snak4evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
2004-07-03 20:26                                       ` Pavel Machek
2004-07-03  1:24                       ` Sérgio Monteiro Basto

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=200405291345.51712.andre@eisenbach.com \
    --to=andre-+hzuviekc2q1z/+hsey0gg@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=usenet-cuDg6iFcrsRAfugRpC6u6w@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