mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Corentin Chary <corentin.chary@gmail.com>
To: Fabio Comolli <fabio.comolli@gmail.com>
Cc: ACPI mailing list <linux-acpi@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Len Brown <lenb@kernel.org>
Subject: Re: Possible bug in eeepc-laptop.c - EeePC 900
Date: Tue, 16 Mar 2010 07:54:17 +0100	[thread overview]
Message-ID: <71cd59b01003152354h64d18c0fq2083f60e399313c8@mail.gmail.com> (raw)
In-Reply-To: <b637ec0b1003130450n3293ee78wc58e08a9bbcefe17@mail.gmail.com>

On Sat, Mar 13, 2010 at 1:50 PM, Fabio Comolli <fabio.comolli@gmail.com> wrote:
> Well, I'm confused.
>
> I rebooted with the "vanilla" eeepc-laptop.c and I'm sorry to say that
> the situation it's not like the one I described in the post I wrote 2
> days ago. Actually the situation with the patch reverted is the same I
> have with the patch applied.
>
> What I mean is that if I boot on AC power /proc/cpuinfo always reports
> 900MHz and 1800 bogomips. It I boot on battery /proc/cpuinfo always
> reports 630MHz and 1260 bogomips. Plugging / unplugging the AC does
> not change the situation. Only reboot does.
>
> But the cpufv interface does indeed seem to work, as glxgears and
> stellarium show the frame rate change accordingly to the powersave /
> performance selection.
>
> So my question is: what does really the cpufv interface do? Is it
> supposed to change the processor frequency? Or does it change
> something else?
>
> And if the answer to the latest question is affirmative, why
> /proc/cpuinfo seems to ignore it?
>
> Sorry for the confusion.
> Regards,
> Fabio
>

Here is what I can read in your DSDT:

When INIT or _Q31 is called, the bios check the the battery is
present, and call FSBA(0) or FSBA(1).
_Q31 seems to be called by an hotkey, could you run "acpi_listen" and
search the hotkey that generate 0x50 or 0x51 ?

FSBA is the method called by CFVS. When you do "echo 1 > cpufv" it
calls CFVS(1), then FSBA(1).
FSBA got 2 presets on 900.

Using these presets, is write some bytes to the EC and to something
wich sounds like clock (RCLK, WCKB, WLCK)
By the name it seems that it set the FSB, it may also surely change
the CPU Clock.

Now, I don't know why cpuinfo always show the same value, maybe
because the cpu clock is not changed
by a cpufreq driver.

-- 
Corentin Chary
http://xf.iksaif.net

  reply	other threads:[~2010-03-16  6:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-11 21:28 Fabio Comolli
2010-03-12  8:49 ` Corentin Chary
2010-03-12 20:07   ` Fabio Comolli
2010-03-13  9:16     ` Corentin Chary
2010-03-13 12:50       ` Fabio Comolli
2010-03-16  6:54         ` Corentin Chary [this message]
2010-03-16 20:31           ` Fabio Comolli
2010-03-17  8:22             ` Corentin Chary
2010-03-17 22:55               ` Fabio Comolli
2010-03-17 14:49         ` Alan Jenkins
2010-03-17 15:40           ` Fabio Comolli
  -- strict thread matches above, loose matches on Subject: below --
2010-03-09 22:58 Fabio Comolli
2010-03-10 13:07 ` Corentin Chary
2010-03-10 13:46   ` Fabio Comolli
2010-03-10 22:09     ` Fabio Comolli
2010-03-10 22:19       ` Fabio Comolli

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=71cd59b01003152354h64d18c0fq2083f60e399313c8@mail.gmail.com \
    --to=corentin.chary@gmail.com \
    --cc=fabio.comolli@gmail.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®