Re: Power-button event after resume from S3

2006-04-14 Thread Rafael J. Wysocki
Hi, On Friday 14 April 2006 07:33, Nigel Cunningham wrote: On Friday 14 April 2006 00:28, Felix Kuehling wrote: On Tue, 2006-11-04 at 14:14 +1000, Nigel Cunningham wrote: Hi. On Tuesday 11 April 2006 12:35, Sanjoy Mahajan wrote: if(acpi_during_suspend_resume) don't

Re: Power-button event after resume from S3

2006-04-13 Thread Felix Kuehling
On Tue, 2006-11-04 at 14:14 +1000, Nigel Cunningham wrote: Hi. On Tuesday 11 April 2006 12:35, Sanjoy Mahajan wrote: if(acpi_during_suspend_resume) don't generate power button event to confuse user space daemon This patch might be useful useful in setting and unsetting

Re: Power-button event after resume from S3

2006-04-13 Thread Nigel Cunningham
Hi. On Friday 14 April 2006 00:28, Felix Kuehling wrote: On Tue, 2006-11-04 at 14:14 +1000, Nigel Cunningham wrote: Hi. On Tuesday 11 April 2006 12:35, Sanjoy Mahajan wrote: if(acpi_during_suspend_resume) don't generate power button event to confuse user space daemon This

RE: Power-button event after resume from S3

2006-04-10 Thread Felix Kuehling
On Fri, 2006-07-04 at 10:49 +0800, Yu, Luming wrote: Are there plans for a real fix for this problem, either in the kernel or in acpid? We need a patch to handle the wakeup power-button event. Do you want to hack a patch for this? Before working on a patch I'd like to be sure that

RE: Power-button event after resume from S3

2006-04-10 Thread Yu, Luming
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. :-)

Re: Power-button event after resume from S3

2006-04-10 Thread Sanjoy Mahajan
if(acpi_during_suspend_resume) don't generate power button event to confuse user space daemon This patch might be useful useful in setting and unsetting acpi_during_suspend_resume (and also using it, but you should ignore those as they are hacks for a different problem). The equivalent

Re: Power-button event after resume from S3

2006-04-10 Thread Nigel Cunningham
Hi. On Tuesday 11 April 2006 12:35, Sanjoy Mahajan wrote: if(acpi_during_suspend_resume) don't generate power button event to confuse user space daemon This patch might be useful useful in setting and unsetting acpi_during_suspend_resume (and also using it, but you should ignore

Power-button event after resume from S3

2006-04-06 Thread Felix Kuehling
Hi, I am investigating a problem where acpid receives a power-button event immediately after resuming from S3. I looked at the mailing list archives and found that this problem is not entirely uncommon. The advice users got so far all looked like workarounds for the real problem. The same goes

Re: Power-button event after resume from S3

2006-04-06 Thread Sanjoy Mahajan
I am investigating a problem where acpid receives a power-button event immediately after resuming from S3. I looked at the mailing list archives and found that this problem is not entirely uncommon. Yes, I noticed this problem once I turned on acpi_serialize and told ACPI to pretend I'm