Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2006 11:32:19 -0800
From:      Nate Lawson <nate@root.org>
To:        Manfred Lotz <manfred.lotz@arcor.de>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: suspend/resume event
Message-ID:  <43D923C3.1010709@root.org>
In-Reply-To: <20060122074911.9d7566fc.manfred.lotz@arcor.de>
References:  <20060120200410.a05870c1.manfred.lotz@arcor.de>	<43D13F8A.8000802@root.org>	<20060121105719.2eb0c2f9.manfred.lotz@arcor.de>	<43D29A95.7070809@root.org> <20060122074911.9d7566fc.manfred.lotz@arcor.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Manfred Lotz wrote:
> On Sat, 21 Jan 2006 12:33:25 -0800
> Nate Lawson <nate@root.org> wrote:
>>Manfred Lotz wrote:
>>>However after closing and then opening the lid nothing had happened.
>>>
>>>Any idea what I did wrong?
>>
>>Nothing offhand.  Try running devd manually with the -d flag so it
>>won't go into the background and it will print the events on
>>console.  Then close/open the lid.
> 
> 
> 
> -d flag helped. I just didn't wait long enough. It took almost
> 12 seconds after closing the lid till the message showed up
> in /var/log/messages.
> 
> 12 seconds is a long time. Is there anything I can adjust to make it
> shorter?

Hmm, no idea what's causing that.  We generate the printf and event on 
console as soon as the BIOS generates the interrupt so it's likely that 
the BIOS is delaying generating it until it's finished reinitializing 
after resume.

Perhaps the patch I committed to -current will help because it 
unconditionally sends a resume event, independent of what the laptop 
does with the lid button.

-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43D923C3.1010709>