NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/42051

The following reply was made to PR kern/42051; it has been noted by GNATS.

From: Arto Huusko <>
Subject: Re: kern/42051
Date: Mon, 14 Sep 2009 21:09:13 +0300

 dmesg and ACPI dump of the machine attached.
 I did some further testing:
   - suspending the machine by setting machdep.sleep_state=3
     from command line does not break lid switch. After suspending,
     and resuming, the lid switch works, but only once again.
   - After suspending via lid switch, and then resuming, the
     machine can be suspended and resumed again by manually
     setting machdep.sleep_state. So even though lid switch
     does not work anymore, suspend/resume in general is not
   - After suspending and resuming via lid switch, powerd process
     wchan is kqueue. From a quick look at the code, it seems that
     the lid_switch script returns normally after resume, and powerd
     resumes waiting for more events.
 So it seems that after using lid switch once, the kernel no longer
 reports further lid switch events to powerd.

Home | Main Index | Thread Index | Old Index