Subject: Re: kern/32539 (entering ddb when closing lid with ACPI)
To: None <jmcneill@NetBSD.org, gnats-admin@netbsd.org,>
From: Tobias Nygren <tnn@NetBSD.org>
List: netbsd-bugs
Date: 08/19/2007 16:15:07
The following reply was made to PR kern/32539; it has been noted by GNATS.

From: Tobias Nygren <tnn@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/32539 (entering ddb when closing lid with ACPI)
Date: Sun, 19 Aug 2007 18:10:05 +0200

 I have hardware (tp x40) on which I can reproduce this.
 When I close the lid it invokes ACPI method _Q2B followed by
 _Q2A. The latter is what causes the debugger trap. If I trick the
 kernel into not attempting to invoke _Q2A, it doesn't drop to ddb.
 
 Here's what acpidump has to say about this. Full acpidump available
 offlist if requested.
 
  Method(_Q2A) {
  \_SB_.PCI0.VID_.VLOC(0x1)
  \_SB_.PCI0.LPC_.EC__.HKEY.MHKQ(0x5002)
  Notify(\_SB_.LID_, 0x80)
 }
 Method(_Q2B) {
  \_SB_.PCI0.LPC_.EC__.HKEY.MHKQ(0x5001)
  \UCMS(0xd)
  Notify(\_SB_.LID_, 0x80)
 }