All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: aaron lwe <aaron.lwe@gmail.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: any way to evaluate a device's _PS0 method when its power state is at D0?
Date: Thu, 19 May 2011 16:14:00 +0100	[thread overview]
Message-ID: <20110519151400.GA16348@srcf.ucam.org> (raw)
In-Reply-To: <BANLkTimmDa55sgFgQbnD6sdNnvt8U+OXUQ@mail.gmail.com>

On Thu, May 19, 2011 at 11:05:24PM +0800, aaron lwe wrote:

> Since this device's state is set to D0 in acpi_bus_init_power without
> evaluating _PS0 control method, and I need HASD to be set to 1 for
> _PS0 to be evaluated effectively when I put the device back to D0 from
> D3, I'll need to evaluate _PS0 when this device's power state is at
> D0.

Ok, so that sounds like we need to call _PS0 on initial device setup. 
It'd be better to do that than to try to figure out a way for oyu to 
call it later.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2011-05-19 15:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-19 10:06 any way to evaluate a device's _PS0 method when its power state is at D0? aaron lwe
2011-05-19 12:42 ` Matthew Garrett
2011-05-19 15:05   ` aaron lwe
2011-05-19 15:14     ` Matthew Garrett [this message]
2011-05-19 15:28       ` aaron lwe
2011-05-19 15:45         ` Matthew Garrett

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=20110519151400.GA16348@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=aaron.lwe@gmail.com \
    --cc=linux-acpi@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.