linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Thomas Renninger <trenn@suse.de>
Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-input@vger.kernel.org, Angelo Arrifano <miknix@gmail.com>
Subject: Re: [RFC PATCH] Quickstart Button ACPI driver to serve PNP0C32 ACPI devices
Date: Fri, 28 May 2010 22:11:56 +0100	[thread overview]
Message-ID: <20100528211156.GA3883@srcf.ucam.org> (raw)
In-Reply-To: <201005281940.09925.trenn@suse.de>

On Fri, May 28, 2010 at 07:40:09PM +0200, Thomas Renninger wrote:

> The idea of these buttons is that they are undefined from BIOS/kernel
> point of view. Userspace has to map a functionality to them.
> Therefore the idea to modify the input event keycode via sysfs file.
> There should be 2 situations that perfectly are triggered via userspace:

They're logically buttons, so the right mechanism is for them to be 
configured via the standard keymap ioctls. There's already 
infrastructure for setting this via udev - see /lib/udev/keymaps on 
recent systems. That should let you avoid the need to 
unregister/reregister.

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

      parent reply	other threads:[~2010-05-28 21:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-28 17:40 [RFC PATCH] Quickstart Button ACPI driver to serve PNP0C32 ACPI devices Thomas Renninger
2010-05-28 18:01 ` Dmitry Torokhov
2010-05-28 21:11 ` Matthew Garrett [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=20100528211156.GA3883@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miknix@gmail.com \
    --cc=trenn@suse.de \
    /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).