linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Zeuthen <david@fubar.dk>
To: linux-hotplug@vger.kernel.org
Subject: Re: can't seem to ignore a battery
Date: Thu, 12 Nov 2009 17:43:52 +0000	[thread overview]
Message-ID: <1258047832.2409.1.camel@localhost.localdomain> (raw)
In-Reply-To: <29507.1258042014@foxharp.boston.ma.us>

On Thu, 2009-11-12 at 17:33 +0000, Richard Hughes wrote:
> 2009/11/12 David Zeuthen <david@fubar.dk>:
> > You probably want a feature in DeviceKit-power so you can set the udev
> > property DKP_PRESENTATION_HIDE to 1 so the daemon can convey to users
> > (such as gnome-power-manager) that a given device should be ignored for
> > presentation and/or policy.
> 
> Sure, I would accept a patch for this in DeviceKit-power -- it would
> probably be a couple of lines of code.

It would probably more than a couple of lines of code - what I was
trying to say was that you want a property on each device object that
e.g. gnome-power-manager can read. And then you need the policy agents
(e.g. g-p-m) use this information.

     David



  parent reply	other threads:[~2009-11-12 17:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-12 16:06 can't seem to ignore a battery Paul Fox
2009-11-12 16:50 ` David Zeuthen
2009-11-12 17:33 ` Richard Hughes
2009-11-12 17:40 ` Paul Fox
2009-11-12 17:43 ` David Zeuthen [this message]
2009-11-13  2:01 ` Kay Sievers
2009-11-13  2:44 ` Paul Fox
2009-11-13  4:54 ` Greg KH
2009-11-13 14:13 ` Kay Sievers
2009-11-13 14:33 ` Paul Fox
2009-11-13 14:43 ` Justin Schoeman
2009-11-13 16:48 ` Greg KH
2009-11-13 16:49 ` Greg KH
2009-11-13 17:29 ` Justin Schoeman
2009-11-13 17:38 ` Greg KH
2009-11-13 18:22 ` Justin Schoeman
2009-11-13 18:43 ` Paul Fox
2009-11-13 20:33 ` Greg KH

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=1258047832.2409.1.camel@localhost.localdomain \
    --to=david@fubar.dk \
    --cc=linux-hotplug@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).