run resume code only for S1-S4 states

Andriy Gapon avg at freebsd.org
Wed Apr 15 09:11:32 PDT 2009


on 15/04/2009 19:08 Jung-uk Kim said the following:
> Actually, my patch was more complex, e.g., I added more code to make 
> sure power/sleep button events get ignored and cleared when it is not 
> in S0 state, etc.  Probably I needed to track the current state 
> because of it.  I think you may ignore it for now if it is not needed 
> anywhere else.

Interesting. I think that I will go with the current patch (modulo break->goto
changes), if my mentors approve. But I would like to see your patch :-)

-- 
Andriy Gapon


More information about the freebsd-acpi mailing list