On Sun, Sep 05, 2010 at 11:48:07PM +0100, Owain Ainsworth wrote:
> On Sat, Sep 04, 2010 at 08:46:28AM +0200, tst wrote:
> > 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?
> 
> The laptop I tried to reproduce this on is acpi-based.
> 
> also, from sys/dev/acpi/acpi.c, line 1832:
> 
>       acpi_record_event(sc, APM_NORMAL_RESUME);

Ah, but this laptop runs amd64, krw reproduced this on an i386 laptop
and I am looking into it.

-0-
-- 
You need no longer worry about the future.
This time tomorrow you'll be dead.

Reply via email to