mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Daniel Drake <dsd@laptop.org>
Cc: akpm@linux-foundation.org, mingo@redhat.com, tglx@linutronix.de,
	hpa@zytor.com, x86@kernel.org, dilinger@queued.net,
	linux-kernel@vger.kernel.org, mjg@redhat.com,
	linux-acpi@vger.kernel.org
Subject: Re: [PATCH v2] x86, olpc-xo15-sci: enable lid close wakeup control through sysfs
Date: Sat, 10 Dec 2011 09:16:44 -0800	[thread overview]
Message-ID: <20111210171644.GA16220@kroah.com> (raw)
In-Reply-To: <20111203171402.1D0F69D401E@zog.reactivated.net>

On Sat, Dec 03, 2011 at 05:14:01PM +0000, Daniel Drake wrote:
> Like most systems, OLPC's ACPI LID switch wakes up the system when the lid
> is opened, but not when it is closed.
> 
> Under OLPC's opportunistic suspend model, the lid may be closed while the
> system was oportunistically suspended with the screen running.  In this
> event, we want to wake up to turn the screen off.
> 
> Enable control of normal ACPI wakeups through lid close events through a
> new sysfs attribute "lid_wake_on_closed".  When set, and when LID wakeups
> are enabled through ACPI, the system will wake up on both open and close
> lid events.

As you are adding new sysfs files, you have to also include
Documentation/ABI entries for them as well.  Please do so in this patch.

thanks,

greg k-h

      reply	other threads:[~2011-12-10 17:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-03 17:14 Daniel Drake
2011-12-10 17:16 ` Greg KH [this message]

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=20111210171644.GA16220@kroah.com \
    --to=greg@kroah.com \
    --cc=akpm@linux-foundation.org \
    --cc=dilinger@queued.net \
    --cc=dsd@laptop.org \
    --cc=hpa@zytor.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=mjg@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /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

Powered by JetHome