Re: HP nc6400 v.03 or v.05 laptop ACPI fails after reboot, works again after booting windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>

--- 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

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux