From: NoZizzing OrDripping <nozizzingordripping-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
To: Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: ACPI trouble (AC module, etc.) with Toshiba 1115-S103
Date: Tue, 10 Dec 2002 22:58:26 -0800 (PST) [thread overview]
Message-ID: <20021211065826.5869.qmail@web14503.mail.yahoo.com> (raw)
In-Reply-To: <20021210092357.GA29390-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2065 bytes --]
--- Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org> wrote:
> On Mon, Dec 09, 2002 at 10:59:22PM -0800, NoZizzing
> OrDripping wrote:
> >
> > Status report for Toshiba Satellite 1115-S103
> laptop....
> >
> > $ root modprobe ac; dmesg
> >
> > exfldio-0122 [31] Ex_setup_region : Field
> [ACPW] Base+Offset+Width 38+0+4 is beyond end of
> region [GPIO] (length 3B)
> > psparse-1103: *** Error: Method execution failed
> [\_SB_.PCI0.LPCB.ACAD._PSR] (Node c1671948),
> AE_AML_REGION_LIMIT
> > acpi_ac-0083 [15] acpi_ac_get_state : Error
> reading AC Adapter state
> >
>
> Known issue with most of the Toshiba Satellite
> series with a Phoenix
> BIOS. I guess that Toshiba (or in fact Compal)
> still don't
> know how to debug correctly their ASLs.
>
> You need a patched DSDT for this model. Please send
> me your DSDT.
OK, I went thru the process of creating a modified
ASL (diffs from the original attached) for this
laptop.
Basically, I cleaned up the original so that the
errors
from "iasl" went away.
I now have a working AC module.
This is a stopgap measure though, correct? The goal
should be for the Linux kernel to support the existing
AML in flash (the AML apparently comes from Microsoft)
on these laptops. The BIOS on these machines is about
as fresh as it gets (Nov, 2002). It seems to me that
the Intel ASL compiler and interpreter needs to be
changed/relaxed to accomodate what has become a
defacto
(de-gates-o) standard here.
As a practical matter, I can't imagine non-programmer
types having to modify their ASL code to make Linux
work on their laptops, and I can't imagine that Ducrot
wants to be the single, worldwide point, for modified
ASL code.
Would the ACPI developers be receptive if I made the
changes necessary to allow the kernel ACPI code to
accept the existing AML in my laptop as-is?
-Rick Richardson
rickr-EySxSuIQeMUAvxtiuMwx3w@public.gmane.org
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
[-- Attachment #2: tosh1115-s103.asl.diff --]
[-- Type: application/octet-stream, Size: 6139 bytes --]
--- tosh1115-s103-orig.asl 2002-12-11 00:27:03.000000000 -0600
+++ tosh1115-s103-linux.asl 2002-12-11 00:27:41.000000000 -0600
@@ -1,4 +1,4 @@
-
+/*
AD - ACPI Dump. Version 0.91. Jan 09 2002
Copyright (C) 2001 by Phoenix Technologies, Ltd. All Rights Reserved.
@@ -13,7 +13,7 @@
Creator ID: 'MSFT'
Creator Revision: 0x0100000D
-
+*/
DefinitionBlock("DSDT.AML","DSDT",1,"TOSCPL","BTK20 ",0x6040000)
{
OperationRegion(PORT,SystemIo,0x80,0x01)
@@ -408,6 +408,7 @@
\_SB.PCI0.LPCB.PHSS(0x0F)
}
}
+ Return(Package(2) {0, 0})
}
Scope(_GPE)
{
@@ -624,7 +625,7 @@
FTT,1
}
OperationRegion(ECR,EmbeddedControl,0x00,0xFF)
- Field(ECR /* \_SB.EPWR.ECR */,AnyAcc,Lock,Preserve)
+ Field(ECR /* \_SB.EPWR.ECR */,/*RER AnyAcc*/ByteAcc,Lock,Preserve)
{
Offset(0x9E),
,4,
@@ -684,14 +685,14 @@
}
Method(BATC,1,NotSerialized)
{
- Divide(0x0FA0,0x64,,Local1)
+ Divide(0x0FA0,0x64,Local1)
If(LEqual(Arg0,0x00))
{
- Divide(\_SB.PCI0.LPCB.EC0.BRC0,Local1,,Local2)
+ Divide(\_SB.PCI0.LPCB.EC0.BRC0,Local1,Local2)
}
Else
{
- Divide(\_SB.PCI0.LPCB.EC0.BRC1,Local1,,Local2)
+ Divide(\_SB.PCI0.LPCB.EC0.BRC1,Local1,Local2)
}
Return(Local2)
}
@@ -770,14 +771,14 @@
}
Method(BAT0,0,NotSerialized)
{
- Divide(0x0FA0,0x64,,Local1)
- Divide(\_SB.PCI0.LPCB.EC0.BRC0,Local1,,Local2)
+ Divide(0x0FA0,0x64,Local1)
+ Divide(\_SB.PCI0.LPCB.EC0.BRC0,Local1,Local2)
Return(Local2)
}
Method(BAT1,0,NotSerialized)
{
Multiply(\_SB.PCI0.LPCB.EC0.BRC1,0x64,Local1)
- Divide(Local1,0x1194,,Local2)
+ Divide(Local1,0x1194,Local2)
Return(Local2)
}
Method(ISTA,1,NotSerialized)
@@ -1733,7 +1734,7 @@
// properly
// [4] 1 = Device is attached
//
-[31:5] Reserved.
+//[31:5] Reserved.
//
{
\_SB.PCI0.LPCB.PHSS(0x0C)
@@ -1877,7 +1878,7 @@
// properly
// [4] 1 = Device is attached
//
-[31:5] Reserved.
+//[31:5] Reserved.
//
{
Store("LCD --_DCS",Debug)
@@ -2011,7 +2012,7 @@
// properly
// [4] 1 = Device is attached
//
-[31:5] Reserved.
+//[31:5] Reserved.
//
{
\_SB.PCI0.LPCB.PHSS(0x0C)
@@ -2218,7 +2219,7 @@
Store(One,TVAA /* \_SB.PCI0.AGPB.VGA.TVAA */)
}
// Notify 0x80 -
- **** unknown object notifiation value
+// **** unknown object notifiation value
Notify(\_SB.PCI0.AGPB.VGA,0x80)
}
}
@@ -2736,7 +2737,7 @@
PMEE,1,
US3E,1
}
- OperationRegion(GPIO,SystemIo,0x1180,0x3B)
+ OperationRegion(GPIO,SystemIo,0x1180,/*RER 0x3B*/ 0x3C)
Field(GPIO /* \_SB.PCI0.LPCB.GPIO */,WordAcc,Lock,Preserve)
{
AccessAs(DWordAcc,0x00),
@@ -7267,7 +7268,7 @@
}
}
OperationRegion(ERAM,EmbeddedControl,0x00,0xFF)
- Field(ERAM /* \_SB.PCI0.LPCB.EC0.ERAM */,AnyAcc,Lock,Preserve)
+ Field(ERAM /* \_SB.PCI0.LPCB.EC0.ERAM */,/*RER AnyAcc*/ByteAcc,Lock,Preserve)
{
Offset(0x2E),
RSMT,16,
@@ -7379,7 +7380,7 @@
PHSS /* \_SB.PCI0.LPCB.PHSS */(0x08)
Store(0x00,\_SB.PCI0.LPCB.EC0.BRGT)
// Notify 0x81 -
- **** unknown object notifiation value
+// **** unknown object notifiation value
Notify(EPWR /* \_SB.EPWR */,0x81)
}
}
@@ -7423,7 +7424,7 @@
}
Store(0x00,\_SB.PCI0.LPCB.EC0.SKEY)
// Notify 0x82 -
- **** unknown object notifiation value
+// **** unknown object notifiation value
Notify(EPWR /* \_SB.EPWR */,0x82)
}
}
@@ -7474,7 +7475,7 @@
TSTS,1
}
OperationRegion(ECRM,EmbeddedControl,0x00,0xFF)
- Field(ECRM /* \_SB.PCI0.LPCB.EC0.ECRM */,AnyAcc,Lock,Preserve)
+ Field(ECRM /* \_SB.PCI0.LPCB.EC0.ECRM */,/*RER AnyAcc*/ByteAcc,Lock,Preserve)
{
Offset(0xAE),
PTVL,3,
@@ -8317,6 +8318,7 @@
Return(Buffer(0x14){0x78,0x00,0x00,0x00,0x08,0x00,0x00,0x00,
0x78,0x00,0x00,0x00,0x08,0x00,0x00,0x00,
0x1F,0x00,0x00,0x00})
+ /* RER: Warning here is OK */
Name(PBUF,Buffer(0x14){0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00})
next prev parent reply other threads:[~2002-12-11 6:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-10 6:59 ACPI trouble (AC module, etc.) with Toshiba 1115-S103 NoZizzing OrDripping
[not found] ` <20021210065922.31967.qmail-4GJ6zp1JX++A/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2002-12-10 9:23 ` Ducrot Bruno
[not found] ` <20021210092357.GA29390-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-12-11 6:58 ` NoZizzing OrDripping [this message]
2002-12-11 12:41 ` Derek Broughton
[not found] ` <20021211065826.5869.qmail-ugbtuMWqwv6A/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2002-12-13 22:22 ` Ducrot Bruno
2002-12-13 0:43 ` NoZizzing OrDripping
[not found] ` <20021213004316.39542.qmail-ugbtuMWqwv6A/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2002-12-13 15:21 ` Ducrot Bruno
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=20021211065826.5869.qmail@web14503.mail.yahoo.com \
--to=nozizzingordripping-/e1597as9lqavxtiumwx3w@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=ducrot-kk6yZipjEM5g9hUCZPvPmw@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