All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Witt <witt-IGkKxAqZmp0@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: AC adaptor state change lockup on HP Pavilion zt1290
Date: Tue, 04 Jan 2005 10:46:47 -0500	[thread overview]
Message-ID: <41DABA67.5070702@bnl.gov> (raw)
In-Reply-To: <41D96598.3040102-IGkKxAqZmp0@public.gmane.org>

Richard Witt wrote:
> Hi All,
> 
>   I have a terribly annoying problem that I have so far been unable to 
> fix.  I'm running SuSE 9.2 Pro on a HP zt1290.  The kernel is their most 
> up-to-date (2.6.8-24.10-default).  Whenever I need to connect/disconnect 
> my AC adaptor the laptop locks-up hard.  I have to cold boot to recover 
> it.  I thought this was related to a buggy DSDT and so I attempted to 
> fix the DSDT according to the info at 
> (http://www.cpqlinux.com/acpi-howto.html#fix_broken_dsdt).  The DSDT now 
> compiles without errors or warnings. 

Hi All,

   Sorry to reply to my own post but I thought I better give a few more
details to hopefully get the ball rolling and get a response.  In my
original DSDT the AC adapter is device ACAD.  The relevent section of
code is here:

                 Device (ACAD)
                 {
                     Name (_HID, "ACPI0003")
                     Name (_PCL, Package (0x01)
                     {
                         \_SB
                     })
                     Method (_PSR, 0, NotSerialized)
                     {
                         Return (\_SB.PCI0.LPCB.ACPW)
                     }
                 }

Now, the ACPW member is in the GPIO Op region (under device LPCB) here:

                 OperationRegion (GPIO, SystemIO, 0x1180, 0x3B)
                 Field (GPIO, WordAcc, Lock, Preserve)
                 {
                     AccessAs (DWordAcc, 0x00),
                     Offset (0x0F),
                         ,   4,
                     LV28,   1,
                     Offset (0x2D),
                         ,   5,
                     LPOL,   1,
                     Offset (0x38),
                         ,   1,
                     SRST,   1,
                     Offset (0x39),
                         ,   2,
                     ACPW,   1
                 }

The compilation error from iasl that results from the above bits is:

DSDT.dsl.orig  1101:                     SRST,   1,
Error    1051 -                             ^ Access width of Field Unit
extends beyond region limit

DSDT.dsl.orig  1104:                     ACPW,   1
Error    1051 -                             ^ Access width of Field Unit
extends beyond region limit

and the change suggested by the webpage I mentioned in my first post is
to increase the size of the Op region by 1 (0x3B -> 0x3C).  Indeed after
doing so the compilation error is gone but even after loading the fixed
DSDT the problem remains, my laptop still locks-up whenever I try to
plugin or remove the AC adapter.
   I can post whatever files people would like to see.  I don't find any
other place in the DSDT that should affect the AC power but if someone
else can take a look or make a suggestion of what to try next I'd be
really grateful.  Hope to hear from someone.

Cheers,
   Richard

-- 
"We build too many walls and not enough bridges."
-- Sir Isaac Newton

---***---***---***---***---***---***---***---***---***---***---***----
             Richard Witt                 Phone (Yale): (203) 432-5834
LHEP, University of Bern, Switzerland    Email:  witt-IGkKxAqZmp0@public.gmane.org
---***---***---***---***---***---***---***---***---***---***---***----




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

  parent reply	other threads:[~2005-01-04 15:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-03 15:32 AC adaptor state change lockup on HP Pavilion zt1290 Richard Witt
     [not found] ` <41D96598.3040102-IGkKxAqZmp0@public.gmane.org>
2005-01-04 15:46   ` Richard Witt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-12-29 11:11 battery state on Compaq Presario Matthew East
2005-01-02 21:44 ` Fwd: " Matthew East
     [not found]   ` <3bd9116050102134423b10a45-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2005-01-05  4:00     ` AC adaptor state change lockup on HP Pavilion zt1290 Pedro I. Sanchez

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=41DABA67.5070702@bnl.gov \
    --to=witt-igkkxaqzmp0@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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.