public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Bruno Ducrot <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
To: Luca Capello <luca-wlebWZzHoyE@public.gmane.org>
Cc: ML ACPI-devel
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: ASUS M6800N: processor has only C1
Date: Thu, 4 Mar 2004 12:12:40 +0100	[thread overview]
Message-ID: <20040304111240.GN2869@poupinou.org> (raw)
In-Reply-To: <40463D80.8040800-wlebWZzHoyE@public.gmane.org>

On Wed, Mar 03, 2004 at 09:18:08PM +0100, Luca Capello wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
> 
> on 03/03/04 11:35, Bruno Ducrot wrote:
> > Thanks.  Sound like that I send only an half patch, sorry.
> nothing changed, well, I got one more error:
> =====
> acpi_processor-2490 [29] acpi_processor_get_inf: Invalid PBLK length [7]
> acpi_processor-0654 [31] acpi_processor_get_pow: Invalid _CST data
> ACPI: Processor [CPU1] (supports C1)
> =====
> 

Could you please try:

--- linux-2.6-bk/drivers/acpi/processor.c	2004/03/04 11:05:47	1.2
+++ linux-2.6-bk/drivers/acpi/processor.c	2004/03/04 11:09:21
@@ -649,8 +649,8 @@ acpi_processor_get_power_info_cst (
 
 	count = cst->package.elements[0].integer.value;
 
-	/* There must be at least 2 power states. */
-	if (count <= 1 || count != cst->package.count - 1) {
+	/* There must be at least one power state (some bios forgot C1), and validate count */
+	if (count < 1 || count != cst->package.count - 1) {
 		ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Invalid _CST data\n"));
 		status = -EFAULT;
 		goto end;


I think also that the bios will only allow C2, not C3 nor C4 if you are on AC.

Could you then try on battery also?  Note that I have not implemented
yet the reevaluation of _CST in case of AC/battery switch...

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

  parent reply	other threads:[~2004-03-04 11:12 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-02  9:55 ASUS M6800N: processor has only C1 Luca Capello
     [not found] ` <404459FD.1000406-wlebWZzHoyE@public.gmane.org>
2004-03-02 11:09   ` Bruno Ducrot
     [not found]     ` <20040302110946.GF2869-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-03-02 12:43       ` Luca Capello
     [not found]         ` <40448169.6090507-wlebWZzHoyE@public.gmane.org>
2004-03-02 14:43           ` Luca Capello
     [not found]             ` <40449D8E.4060402-wlebWZzHoyE@public.gmane.org>
2004-03-03 10:35               ` Bruno Ducrot
     [not found]                 ` <20040303103528.GG2869-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-03-03 20:18                   ` Luca Capello
     [not found]                     ` <40463D80.8040800-wlebWZzHoyE@public.gmane.org>
2004-03-04 11:12                       ` Bruno Ducrot [this message]
     [not found]                         ` <20040304111240.GN2869-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-03-04 13:53                           ` Luca Capello
     [not found]                             ` <404734E8.7080104-wlebWZzHoyE@public.gmane.org>
2004-03-05 11:39                               ` Bruno Ducrot
     [not found]                                 ` <20040305113921.GS2869-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-03-05 15:42                                   ` Luca Capello
     [not found]                                     ` <40489FC8.4000605-wlebWZzHoyE@public.gmane.org>
2004-03-05 18:37                                       ` Bruno Ducrot
     [not found]                                         ` <20040305183737.GT2869-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-03-05 20:21                                           ` Luca Capello
2004-03-04 11:45   ` Bruno Ducrot
2004-03-04 12:00   ` Thomas Renninger
     [not found]     ` <40471A4F.2090909-smMupaH/RwJM7kwft8N7nw@public.gmane.org>
2004-03-04 12:22       ` Thomas Renninger
     [not found]         ` <40471F8E.5080308-smMupaH/RwJM7kwft8N7nw@public.gmane.org>
2004-03-11  4:17           ` Nate Lawson
2004-03-04 12:36       ` Thomas Renninger
2004-03-05 17:49       ` Luca Capello
2004-03-20 10:29   ` Luca Capello
     [not found]     ` <405C1D0F.3030209-wlebWZzHoyE@public.gmane.org>
2004-03-20 17:27       ` Herman Sheremetyev
     [not found]         ` <1079803656.32419.15.camel-l85cmlzfk8I@public.gmane.org>
2004-03-20 18:39           ` Luca Capello

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=20040304111240.GN2869@poupinou.org \
    --to=ducrot-kk6yzipjem5g9huczpvpmw@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=luca-wlebWZzHoyE@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