On 03/09/10 14:45 Owain Ainsworth wrote: > The following reply was made to PR system/6457; it has been noted by GNATS. > > From: Owain Ainsworth <[email protected]> > To: tst <[email protected]> > Cc: [email protected] > Subject: Re: system/6457: resume does not create event/signal > Date: Fri, 3 Sep 2010 21:27:13 +0100 > > On Fri, Sep 03, 2010 at 06:11:33PM +0200, tst wrote: > > >Number: 6457 > > >Category: system > > >Synopsis: resume does not create event/signal > > >Confidential: yes > > >Severity: serious > > >Priority: medium > > >Responsible: bugs > > >State: open > > >Quarter: > > >Keywords: > > >Date-Required: > > >Class: sw-bug > > >Submitter-Id: unknown > > >Arrival-Date: Fri Sep 03 16:20:02 GMT 2010 > > >Closed-Date: > > >Last-Modified: > > >Originator: > > >Release: > > >Organization: > > >Environment: > > System : OpenBSD 4.8 > > Details : OpenBSD 4.8-current (GENERIC.MP) #373: Tue Aug 31 > 22:09:07 MDT 2010 > > > [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP > > > > Architecture: OpenBSD.i386 > > Machine : i386 > > >Description: > > On a resume there is no resume event-action taken by apmd. > > Other events (powerup/down, suspend) work fine. > > >How-To-Repeat: > > # echo '#!/bin/sh > > > logger -ip daemon.info $0' > /etc/apm/suspend > > # chmod +x /etc/apm/suspend > > # ln /etc/apm/{suspend,resume} > > # tail -fn 0 /var/log/daemon > > **resume/suspend** > > Sep 3 18:04:55 brett root[24334]: /etc/apm/suspend
This last line marks the suspend (obviously, I can only see it after the resume), so as far as I can tell apmd is doing fine. > > > > >Fix: > > <how to correct or work around the problem, if known (multiple lines)> > > I can not reproduce this here. *shrug* Maybe an acpi-thingy? I too have another machine (different hardware), where the same setup works fine. > # cat /etc/apm/resume > #!/bin/sh > logger -i $0 > > # tail -2 /var/log/messages > Sep 3 21:23:48 melanie root[2965]: /etc/apm/resume > Sep 3 21:23:48 melanie apmd: system resumed from APM sleep > > To ask the obvious question, you do have apmd running, yes? Otherwise it > not working is rather unsurprising. Yes. I can log events for suspend as well as powerup and -down, only the resume is missing. tilo
