* battery state on Compaq Presario
@ 2004-12-29 11:11 Matthew East
[not found] ` <3bd911604122903114efc9b77-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Matthew East @ 2004-12-29 11:11 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi there,
Since 2.6.9 kernel I have experienced problems with the battery state
on my Compaq Presario 2104EA laptop. I have noticed the problem when
running the ubuntu 2.6.8.1 kernel, which I believe is patched with a
recent acpi release, and the gentoo-dev-sources 2.6.9. I just
installed a 2.4.26 kernel, and have found that it works perfectly.
The problems are quite complicated. Essentially when i boot with the
power adapter plugged in, acpid will give me the correct reading of
the battery. When there is a CHANGE of AC adapter state (i.e. i unplug
it), acpid does not give me the correct battery status, which remains
at the level which it was at. The same problem happens if I start the
computer without AC power, and plug it in: in this case the battery
status does not go down as it should.
Can anyone help me with this? I am fairly certain that it is a bug,
and the results when I tested it with the 2.4 kernel have convinced me
that this is not a hardware problem.
I thought that I would email this list before contacting the acpi maintainer.
I would be happy to provide any more information, and I hope i've been clear.
Many thanks in advance for your help.
Matt
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <3bd911604122903114efc9b77-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Fwd: battery state on Compaq Presario [not found] ` <3bd911604122903114efc9b77-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2005-01-02 21:44 ` Matthew East [not found] ` <3bd9116050102134423b10a45-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Matthew East @ 2005-01-02 21:44 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f I have now submitted a bug report on this issue, but so far haven't had any bites either from my original message to this list or the bug report, so I thought I would try again and see if someone has any advice for me. Many thanks, Matt ---------- Forwarded message ---------- From: Matthew East <matthew.east-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Date: Wed, 29 Dec 2004 11:11:36 +0000 Subject: battery state on Compaq Presario To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Hi there, Since 2.6.9 kernel I have experienced problems with the battery state on my Compaq Presario 2104EA laptop. I have noticed the problem when running the ubuntu 2.6.8.1 kernel, which I believe is patched with a recent acpi release, and the gentoo-dev-sources 2.6.9. I just installed a 2.4.26 kernel, and have found that it works perfectly. The problems are quite complicated. Essentially when i boot with the power adapter plugged in, acpid will give me the correct reading of the battery. When there is a CHANGE of AC adapter state (i.e. i unplug it), acpid does not give me the correct battery status, which remains at the level which it was at. The same problem happens if I start the computer without AC power, and plug it in: in this case the battery status does not go down as it should. Can anyone help me with this? I am fairly certain that it is a bug, and the results when I tested it with the 2.4 kernel have convinced me that this is not a hardware problem. I thought that I would email this list before contacting the acpi maintainer. I would be happy to provide any more information, and I hope i've been clear. Many thanks in advance for your help. Matt ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <3bd9116050102134423b10a45-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: AC adaptor state change lockup on HP Pavilion zt1290 [not found] ` <3bd9116050102134423b10a45-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2005-01-05 4:00 ` Pedro I. Sanchez 0 siblings, 0 replies; 5+ messages in thread From: Pedro I. Sanchez @ 2005-01-05 4:00 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: Matthew East I can confirm that something similar is happening in my laptop (Acer Ferrari 3400). Here is a typical sequence in my case: 1. Power on with the AC adapter connected. ACPI correctly says that the adapter is on. 2. Unplug the AC adapter: The battery reading reports a discharging state for a few seconds (as expected) but soon it gets stuck in a particular value. 3. The battery may die, the laptop would then automatically shut down, but ACPI would never notice. I'm running the kernel 2.6.10 with AMD64 support, straight from kernel.org, with no vendor patches. So, this is not just an issue for the HP Pavillon computer. -- Pedro On Sun, 2005-01-02 at 21:44 +0000, Matthew East wrote: > I have now submitted a bug report on this issue, but so far haven't > had any bites either from my original message to this list or the bug > report, so I thought I would try again and see if someone has any > advice for me. > > Many thanks, Matt > > ---------- Forwarded message ---------- > From: Matthew East <matthew.east-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Date: Wed, 29 Dec 2004 11:11:36 +0000 > Subject: battery state on Compaq Presario > To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > > > Hi there, > > Since 2.6.9 kernel I have experienced problems with the battery state > on my Compaq Presario 2104EA laptop. I have noticed the problem when > running the ubuntu 2.6.8.1 kernel, which I believe is patched with a > recent acpi release, and the gentoo-dev-sources 2.6.9. I just > installed a 2.4.26 kernel, and have found that it works perfectly. > > The problems are quite complicated. Essentially when i boot with the > power adapter plugged in, acpid will give me the correct reading of > the battery. When there is a CHANGE of AC adapter state (i.e. i unplug > it), acpid does not give me the correct battery status, which remains > at the level which it was at. The same problem happens if I start the > computer without AC power, and plug it in: in this case the battery > status does not go down as it should. > > Can anyone help me with this? I am fairly certain that it is a bug, > and the results when I tested it with the 2.4 kernel have convinced me > that this is not a hardware problem. > > I thought that I would email this list before contacting the acpi maintainer. > > I would be happy to provide any more information, and I hope i've been clear. > > Many thanks in advance for your help. > > Matt > > > ------------------------------------------------------- > 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 > _______________________________________________ > Acpi-devel mailing list > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/acpi-devel ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* AC adaptor state change lockup on HP Pavilion zt1290
@ 2005-01-03 15:32 Richard Witt
[not found] ` <41D96598.3040102-IGkKxAqZmp0@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Richard Witt @ 2005-01-03 15:32 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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. It is found and loaded properly in
the initrd as you can see here:
--clip--
ACPI: Looking for DSDT in initrd... found at offset 1195404
ACPI: Using customized DSDT
tbget-0291: *** Info: Table [DSDT] replaced by host OS
ACPI: IRQ9 SCI: Edge set to Level Trigger.
checking if image is initramfs...it isn't (no cpio magic); looks like an
initrd
Freeing initrd memory: 1186k freed
--clip--
Unfortunately the problem remains. I'm really desperate to fix this
since I'm sure you can imagine what a pain it is to have to shutdown and
reboot anytime I need to move the laptop. Does anyone have any
suggestions how to proceed with debugging this problem?
Thanks,
Richard
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <41D96598.3040102-IGkKxAqZmp0@public.gmane.org>]
* Re: AC adaptor state change lockup on HP Pavilion zt1290 [not found] ` <41D96598.3040102-IGkKxAqZmp0@public.gmane.org> @ 2005-01-04 15:46 ` Richard Witt 0 siblings, 0 replies; 5+ messages in thread From: Richard Witt @ 2005-01-04 15:46 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-01-05 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-29 11:11 battery state on Compaq Presario Matthew East
[not found] ` <3bd911604122903114efc9b77-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
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
-- strict thread matches above, loose matches on Subject: below --
2005-01-03 15:32 Richard Witt
[not found] ` <41D96598.3040102-IGkKxAqZmp0@public.gmane.org>
2005-01-04 15:46 ` Richard Witt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox