suspend/resume event

Nate Lawson nate at root.org
Thu Jan 26 11:32:04 PST 2006


Manfred Lotz wrote:
> On Sat, 21 Jan 2006 12:33:25 -0800
> Nate Lawson <nate at 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


More information about the freebsd-acpi mailing list