All of lore.kernel.org
 help / color / mirror / Atom feed
From: Abheek Anand <abheek-VX+DGZyGJwM3uPMLIKxrzw@public.gmane.org>
To: "Moore, Robert" <robert.moore-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: presario 1505us battery not found
Date: Mon, 28 Apr 2003 15:14:50 -0400	[thread overview]
Message-ID: <20030428191449.GA3090@cs.umd.edu> (raw)
In-Reply-To: <D3A3AA459175A44CB5326F26DA7A189C1C3C2B-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>

Hi Bob,

>From the user point of view, I had a couple of questions.
1. Is this error likely to yield any serious problems with using ACPI? Most
things short of frying up the hardware should probably be all right :-)

2. Is there a way to fix this using a custom DSDT? I don't have much
experience with trying something like this, so any pointers on how to do this
would be great.

Thanks,
Abheek

On (04/28/03 10:51), Moore, Robert wrote:
> 
> The problem with the AE_NOT_EXIST message during EC access is as
> follows:
> 
> The _INI method for the EC device is inappropriately accessing the EC
> hardware before the EC driver has been loaded.  This is because the _INI
> method is accessing the hardware before the _REG method has been run on
> the EC Operation Region(s).  The _REG method is only run once the EC
> driver has been loaded and has installed a handler for the EC GPE.
> 
> Relevant sections of the ACPI specification are included below.
> 
> Since the ASL for this machine is violating the _REG protocol so
> blatantly, I'm afraid that this BIOS will have to blacklisted until it
> is fixed by the vendor.
> 
> Bob
> 
> Section 6.5.1: (_INI) 
> 
> The _INI method must only access Operation Regions that have been
> indicated to available as defined by the _REG method.
> 
> Section 6.5.4:  (_REG)
> 
> Except for the cases shown below, control methods must assume all
> operation regions inaccessible until the _REG(RegionSpace, 1) method is
> executed. Once _REG has been executed for a particular operation region,
> indicating that the operation region handler is ready, a control method
> can access fields in the operation region. Conversely, control methods
> must not access fields in operation regions when _REG method execution
> has not indicated that the operation region handler is ready.
> 
> For example, until the Embedded Controller driver is ready, the control
> methods cannot access the Embedded Controller. Once OSPM has run
> _REG(EmbeddedControl, 1), the control methods can then access operation
> regions in Embedded Controller address space. Furthermore, if OSPM
> executes _REG(EmbeddedControl, 0), control methods must stop accessing
> operation regions in the Embedded Controller address space.
> 
> The exceptions for this rule are:
> 1.	OSPM must guarantee that the following operation regions must
> always be accessible:
> *	PCI_Config operation regions on a PCI root bus containing a _BBN
> object.
> *	I/O operation regions.
> *	Memory operation regions when accessing memory returned by the
> System Address Map reporting interfaces.
> 2.	OSPM must make Embedded Controller operation regions, accessed
> via the Embedded  Controllers described in ECDT, available before
> executing any control method. These operation regions may become
> inaccessible after OSPM runs _REG(EmbeddedControl, 0).
> 
> 
> > -----Original Message-----
> > From: Moore, Robert
> > Sent: Friday, April 25, 2003 2:54 PM
> > To: Abheek Anand; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > Subject: RE: [ACPI] presario 1505us battery not found
> > 
> > 
> > We are still looking at the problems.
> > 
> > 1) The AE_ALREADY_EXISTS problem has been around for a while and we've
> > finally figured it out.  It turns out that it does not adversely
> affect
> > anything, but we are fixing it.
> > 
> > 2) The AE_NOT_EXIST message means that the EC driver is not up and
> > running yet.  We are still investigating this.
> > 
> > Bob
> > 
> > 
> > > -----Original Message-----
> > > From: Abheek Anand [mailto:abheek-VX+DGZyGJwM3uPMLIKxrzw@public.gmane.org]
> > > Sent: Thursday, April 24, 2003 12:50 PM
> > > To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > > Subject: [ACPI] presario 1505us battery not found
> > >
> > > Hi,
> > >
> > > After quite a bit of tinkering with my presario 1505us, I managed to
> > get
> > > most
> > > of what I need up and working. Currently im using linux 2.5.67 with
> > > acpi-20030328. I am able to get ac-adaptor information, and the LID
> > works
> > > fine. However, I am unable to get acpi to recognize my battery,
> which
> > it
> > > always shows as absent. I have looked at several people's
> suggestions
> > on
> > > this
> > > on the mailing list, but none of them work for me.
> > >
> > > I'm including a copy of the dmesg messages my system spews out. I
> also
> > did
> > > the
> > > usual dsdt disassemble, fix, and include in kernel routine. I have
> put
> > up
> > > my
> > > original (and fixed) dsdt on http://www.cs.umd.edu/~abheek/acpi . My
> > > /proc/acpi/battery/BAT1 entries show the battery as absent.
> > >
> > > Any help would be _very_ appreciated.
> > >
> > > Thanks,
> > > Abheek
> > >
> > >


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  parent reply	other threads:[~2003-04-28 19:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-28 17:51 presario 1505us battery not found Moore, Robert
     [not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3C2B-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
2003-04-28 19:14   ` Abheek Anand [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-28 21:38 Moore, Robert
2003-04-26 10:58 Kevin Schmidt
     [not found] ` <200304261058.DAA12435-iy676YoZKZKAgX/H7s3LlTe48wsgrGvP@public.gmane.org>
2003-04-26 18:35   ` presario " Abheek Anand
2003-04-25 21:53 Moore, Robert
2003-04-24 19:49 Abheek Anand
2003-04-25 20:53 ` Richard Black
     [not found]   ` <3EA9A03D.2000507-VXdhtT5mjnY@public.gmane.org>
2003-04-25 20:55     ` Abheek Anand

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=20030428191449.GA3090@cs.umd.edu \
    --to=abheek-vx+dgzygjwm3upmlikxrzw@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=robert.moore-ral2JQCrhuEAvxtiuMwx3w@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.