Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261788AbTKXVEh (ORCPT ); Mon, 24 Nov 2003 16:04:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261793AbTKXVEh (ORCPT ); Mon, 24 Nov 2003 16:04:37 -0500 Received: from fmr05.intel.com ([134.134.136.6]:4838 "EHLO hermes.jf.intel.com") by vger.kernel.org with ESMTP id S261788AbTKXVEd convert rfc822-to-8bit (ORCPT ); Mon, 24 Nov 2003 16:04:33 -0500 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Subject: RE: Toshiba ACPI battery status - ACPI errors Date: Mon, 24 Nov 2003 13:04:22 -0800 Message-ID: <7F740D512C7C1046AB53446D37200173618752@scsmsx402.sc.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Toshiba ACPI battery status - ACPI errors Thread-Index: AcOyzCZuHnZ3GvrrSh+jL6ZhSw2taQAAHxNw From: "Nakajima, Jun" To: "Bernt Hansen" , "Linux Kernel Mailing List" Cc: "ACPI Developers" , "Brown, Len" X-OriginalArrivalTime: 24 Nov 2003 21:04:23.0935 (UTC) FILETIME=[89AD50F0:01C3B2CE] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3985 Lines: 104 I suspect this is a known issue with AML code from Toshiba. Their _STA does not return a value explicitly, but (wrongly) expects the AML interpreter to get the return value returned by the function _STA is calling, like Method (_STA, ....) { AAA(...) } Instead of Method (_STA, ....) { Return (AAA(...)) } If you can provide ACPI dump data of the machine, that would be helpful when identifying the cause. Copy the ACPI mailing list and Len. Jun > -----Original Message----- > From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel- > owner@vger.kernel.org] On Behalf Of Bernt Hansen > Sent: Monday, November 24, 2003 12:45 PM > To: Linux Kernel Mailing List > Subject: Toshiba ACPI battery status - ACPI errors > > Hi, > > I have a new Toshiba Tecra S1 laptop which I cannot get ACPI battery > status from. I grepped my dmesg output for ACPI and got the following > messages: > > BIOS-e820: 000000001fff0000 - 000000001fffffc0 (ACPI data) > BIOS-e820: 000000001fffffc0 - 0000000020000000 (ACPI NVS) > ACPI: RSDP (v000 OID_00 ) @ > 0x000e6010 > ACPI: RSDT (v001 INSYDE RSDT_000 0x00000001 _CSI 0x00010101) @ > 0x1fffaaf0 > ACPI: FADT (v001 INSYDE FACP_000 0x00000100 _CSI 0x00010101) @ > 0x1ffffb00 > ACPI: BOOT (v001 INSYDE SYS_BOOT 0x00000100 _CSI 0x00010101) @ > 0x1ffffb90 > ACPI: DBGP (v001 INSYDE DBGP_000 0x00000100 _CSI 0x00010101) @ > 0x1ffffbc0 > ACPI: SSDT (v001 INSYDE GV3Ref 0x00002000 INTL 0x20021002) @ > 0x1fffab30 > ACPI: DSDT (v001 TOSINV INT810 0x00001002 INTL 0x02002036) @ > 0x00000000 > ACPI: Subsystem revision 20031002 > ACPI: IRQ 9 was Edge Triggered, setting to Level Triggerd > ACPI: Interpreter enabled > ACPI: Using PIC for interrupt routing > ACPI-1120: *** Error: Method execution failed [\_SB_.BAT0._STA] > (Node dff61fe0), AE_NOT_EXIST > ACPI-1120: *** Error: Method execution failed [\_SB_.BAT1._STA] > (Node dff61ea0), AE_NOT_EXIST > ACPI: PCI Root Bridge [PCI0] (00:00) > ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] > ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI2._PRT] > ACPI: PCI Interrupt Link [LNKA] (IRQs 3 5 7 *10 11) > ACPI: PCI Interrupt Link [LNKB] (IRQs 6) > ACPI: PCI Interrupt Link [LNKC] (IRQs 3 5 7 10 *11) > ACPI: PCI Interrupt Link [LNKD] (IRQs 3 7 10 *11) > ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 *11 14 15) > ACPI: PCI Interrupt Link [LNKF] (IRQs 3 5 7 10 11) > ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 14 15) > ACPI: PCI Interrupt Link [LNKH] (IRQs 3 5 7 10 11) > ACPI: Embedded Controller [EC0] (gpe 16) > ACPI: Power Resource [PUT2] (on) > ACPI: Power Resource [PFA1] (off) > ACPI: Power Resource [PFA0] (off) > ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10 > ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11 > ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 > ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 5 > ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10 > ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11 > PCI: Using ACPI for IRQ routing > PCI: if you experience problems, try using option 'pci=noacpi' or even > 'acpi=off' > acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.4 > acpiphp_glue: can't get bus number, assuming 0 > ACPI: AC Adapter [AC] (on-line) > ACPI: Power Button (FF) [PWRF] > ACPI: Lid Switch [LID] > ACPI: Fan [FAN0] (off) > ACPI: Fan [FAN1] (off) > > The errors with "Method execution failed" seem to be my problem. Any > ideas what I can try to get the status of the batteries in this laptop? > There are two batteries in this thing. > > I have attached the full dmesg output in case it is helpful. Let me > know what I can do to help solve this problem. > > Thanks, > Bernt. > > -- > Bernt Hansen Norang Consulting Inc. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/