From: Sergio Monteiro Basto <sergio@sergiomb.no-ip.org>
To: "Yu, Luming" <luming.yu@intel.com>
Cc: acpi devel <linux-acpi@vger.kernel.org>
Subject: RE: how to back from suspend without shutdown
Date: Sat, 22 Apr 2006 00:06:11 +0100 [thread overview]
Message-ID: <1145660771.4129.14.camel@localhost.portugal> (raw)
In-Reply-To: <554C5F4C5BA7384EB2B412FD46A3BAD11206C7@pdsmsx411.ccr.corp.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]
On Wed, 2006-04-19 at 21:59 +0800, Yu, Luming wrote:
> >Hi everybody,
> >I have a new laptop one HP Compaq NX6110 , that works quite well with
> >suspend and hibernation.
> >
> >But after suspend , how I bring back computer ?, the only key that I
> >know is power button, but after press power button and laptop wake-up,
> >Begins the shutdown process because is triggered the power button
> >shutdown .
> >any ideas ?
>
> Maybe you need to write a patch:
>
> acpi_button_notify:
> if(acpi_during_suspend_resume)
> don't generate power button event to confuse user space
> daemon,
I agree 100% , just more simply and more specific
acpi_button_notify:
if (acpi_during_suspend_resume && power_button_event)
don't generate event to confuse user space daemon
>
> for acpi_during_suspend_ruesme definition please search title
> "Power-button event after resume from S3" in acpi ML archive.
>
so the patch is this
http://marc.theaimsgroup.com/?l=linux-acpi&m=114472292910442&w=2
I don't agree with not sending other events than power_button_event.
On my point of view, the perfect way, is have user space daemon
receiving all events after suspend less the power_button_event, because
this one was used to make machine wake up, simply like that.
Thanks,
> Thanks,
> Luming
--
Sérgio M. B.
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2166 bytes --]
next prev parent reply other threads:[~2006-04-21 22:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-19 13:59 how to back from suspend without shutdown Yu, Luming
2006-04-21 23:06 ` Sergio Monteiro Basto [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-04-21 1:43 Yu, Luming
2006-04-21 14:27 ` Volker Braun
2006-04-19 13:49 Sergio Monteiro Basto
2006-04-20 1:20 ` Nigel Cunningham
2006-04-20 17:07 ` Sergio Monteiro Basto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1145660771.4129.14.camel@localhost.portugal \
--to=sergio@sergiomb.no-ip.org \
--cc=linux-acpi@vger.kernel.org \
--cc=luming.yu@intel.com \
--cc=sergio@sergiomb.no-ip.orgcpi_during_suspend_resume \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox