AC adaptor state change lockup on HP Pavilion zt1290
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Richard Witt
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
Signature · 15 lines
"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: [email protected]
---***---***---***---***---***---***---***---***---***---***---***----
-------------------------------------------------------
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