RE: Power-button event after resume from S3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Before working on a patch I'd like to be sure that there is a general
>consensus that this is indeed The Right Way (TM) to fix the problem.
>Whose blessing would a patch need before being accepted?

I think this is the simplest and right way to fix this problem.
And, it should be accepted. :-)

>> Probably, you need to hack acpi_button_notify.
>> like:
>> 
>> if (acpi_in_suspend)
>> 	don't generate event.

More precisely,  it should be:
acpi_button_notify:
	if(acpi_during_suspend_resume)
		don't generate power button event to confuse user space
daemon,


-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux