From: Thomas Renninger <trenn@suse.de>
To: Peter Clifton <pcjc2@cam.ac.uk>
Cc: "Lincoln Baxter, III" <lincolnbaxter@gmail.com>,
linux-acpi@vger.kernel.org
Subject: Re: HP nc6400 v.03 or v.05 laptop ACPI fails after reboot, works again after booting windows
Date: Fri, 05 Jan 2007 15:18:27 +0100 [thread overview]
Message-ID: <1168006707.17171.59.camel@d36.suse.de> (raw)
In-Reply-To: <1166740851.5576.5.camel@pcjc2lap>
On Thu, 2006-12-21 at 22:40 +0000, Peter Clifton wrote:
> On Thu, 2006-12-21 at 16:44 -0500, Lincoln Baxter, III wrote:
> [snip]
> > Can someone point me to the code that determines the voltage / amperage
> > pairings for CPUs in power saving mode? Is this handled by the ACPI bios
> > (bios function call), or does the kernel directly affect the power setting?
> >
> > I'd like to take a look and see what's going on.
>
> I can't recall where in the code this is, but it is the bios which
> provides the voltage/frequency pairings. The speed-step drivers for
> older processors actually have them hard-coded as a table.
>
> If you're not seeing the highest frequency - I don't know what the
> problem is. Mine re-appeared after the rmmod psmouse trick I posted
> earlier. The CPU specs are in a separate SSDT on my laptop, which only
> shows up when the appropriate bios setting for speedstep is ticked, and
> the bios is "happy" (psmouse removed before shutdown).
Can you try patch from comment #180 from bug:
http://bugzilla.kernel.org/show_bug.cgi?id=5534
and also apply this one (didn't find any reference url, so it's copy and
pasted, this one comes from the cpufreq list posted by Bruno Ducrot on
21.Nov.06). Be careful that you get into the "correct" firmware state
before by booting windows (or unplug AC and battery for some minutes
should also help, but not sure). Is this enough to get the machine to
work correctly and stable with ACPI (cpufreq and ACPI info, pls try
without suspend to disk, there are other issues with these machines)?:
processor_perflib.c::acpi_processor_ppc_notifier() check if the value
returned by the processor's _PPC method is 0 and return failed if so.
This is wrong since 0 indicate that the bios think the processor can go
to the highest frequency. This patch for example fix the HP NX 6125 to
allow its highest frequency to be available.
Signed-off-by: Bruno Ducrot <ducrot@poupinou.org>
--- linux-2.6.19-rc6/drivers/acpi/processor_perflib.c 2006/11/21
10:18:39 1.1
+++ linux-2.6.19-rc6/drivers/acpi/processor_perflib.c 2006/11/21
10:18:55
@@ -83,8 +83,6 @@ static int acpi_processor_ppc_notifier(s
goto out;
ppc = (unsigned int)pr->performance_platform_limit;
- if (!ppc)
- goto out;
if (ppc > pr->performance->state_count)
goto out;
Thanks,
Thomas
next prev parent reply other threads:[~2007-01-05 14:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-12 23:14 HP nc6400 v.03 or v.05 laptop ACPI fails after reboot, works again after booting windows Lincoln Baxter, III
2006-12-12 23:42 ` Peter Clifton
2006-12-13 7:54 ` Lincoln Baxter, III
2006-12-13 12:25 ` Peter Clifton
2006-12-15 13:41 ` Lincoln Baxter, III
2006-12-15 14:10 ` Peter Clifton
2006-12-15 14:38 ` Lincoln Baxter, III
2006-12-15 22:35 ` Lincoln Baxter, III
2006-12-16 4:30 ` Pavel Troller
2006-12-16 7:59 ` Lincoln Baxter, III
2006-12-16 8:17 ` Frank Ursel
2006-12-17 18:51 ` Lincoln Baxter, III
2006-12-21 21:44 ` Lincoln Baxter, III
2006-12-21 22:40 ` Peter Clifton
2007-01-05 14:18 ` Thomas Renninger [this message]
2007-01-12 5:51 ` Luming Yu
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=1168006707.17171.59.camel@d36.suse.de \
--to=trenn@suse.de \
--cc=lincolnbaxter@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=pcjc2@cam.ac.uk \
/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