linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Corentin Chary <corentin.chary@gmail.com>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Andrey Rahmatullin <wrar@altlinux.org>,
	Len Brown <lenb@kernel.org>,
	linux-acpi@vger.kernel.org, linux-input@vger.kernel.org
Subject: Re: [PATCH 32/33] input: add KEY_WIRELESS_CYCLE
Date: Mon, 7 Dec 2009 14:20:59 +0000	[thread overview]
Message-ID: <20091207142059.GA32617@srcf.ucam.org> (raw)
In-Reply-To: <20091207132334.GG20076@khazad-dum.debian.net>

On Mon, Dec 07, 2009 at 11:23:34AM -0200, Henrique de Moraes Holschuh wrote:
> On Mon, 07 Dec 2009, Matthew Garrett wrote:
> > On Mon, Dec 07, 2009 at 09:47:49AM -0200, Henrique de Moraes Holschuh wrote:
> > > What I do know, is that I will miss a keycode that rfkills just my WLAN... I
> > > use that for power management, it is nice to have a key that is for WLAN
> > > only, and another that is for bluetooth-only...
> > 
> > KEY_WLAN will still be there, and you can still remap. But the default 
> > behaviour should be for thinkpad-acpi (for instance) to generate 
> > KEY_RFKILL, since Fn+F5 isn't supposed to be wlan only.
> 
> That's not what I got from this thread.  What I got was that KEY_WLAN would
> be overloaded with KEY_RFKILL semanthics, regardless of anything we did in
> the kernel side.

No.

> I am strongly with you here: add a *new* KEY_RFKILL, fix the kernel drivers
> and any eventual userspace to use the new KEY_RFKILL, and have KEY_WLAN do
> what it is supposed to do.

Right. That's what the patch I sent does.

> And, if what we call KEY_WLAN is actually supposed to be KEY_RFKILL, swap
> their definitions when adding KEY_RFKILL, so that USB HID devices will
> generate KEY_RFKILL instead of KEY_WLAN.

I don't think this is in HID?

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

  reply	other threads:[~2009-12-07 14:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1259826317-18809-1-git-send-email-corentincj@iksaif.net>
     [not found] ` <1259826317-18809-2-git-send-email-corentincj@iksaif.net>
     [not found]   ` <1259826317-18809-3-git-send-email-corentincj@iksaif.net>
     [not found]     ` <1259826317-18809-4-git-send-email-corentincj@iksaif.net>
     [not found]       ` <1259826317-18809-5-git-send-email-corentincj@iksaif.net>
     [not found]         ` <1259826317-18809-6-git-send-email-corentincj@iksaif.net>
     [not found]           ` <1259826317-18809-7-git-send-email-corentincj@iksaif.net>
     [not found]             ` <1259826317-18809-8-git-send-email-corentincj@iksaif.net>
     [not found]               ` <1259826317-18809-9-git-send-email-corentincj@iksaif.net>
     [not found]                 ` <1259826317-18809-10-git-send-email-corentincj@iksaif.net>
     [not found]                   ` <1259826317-18809-11-git-send-email-corentincj@iksaif.net>
     [not found]                     ` <1259826317-18809-12-git-send-email-corentincj@iksaif.net>
     [not found]                       ` <1259826317-18809-13-git-send-email-corentincj@iksaif.net>
     [not found]                         ` <1259826317-18809-14-git-send-email-corentincj@iksaif.net>
     [not found]                           ` <1259826317-18809-15-git-send-email-corentincj@iksaif.net>
     [not found]                             ` <1259826317-18809-16-git-send-email-corentincj@iksaif.net>
     [not found]                               ` <1259826317-18809-17-git-send-email-corentincj@iksaif.net>
     [not found]                                 ` <1259826317-18809-18-git-send-email-corentincj@iksaif.net>
     [not found]                                   ` <1259826317-18809-19-git-send-email-corentincj@iksaif.net>
     [not found]                                     ` <1259826317-18809-20-git-send-email-corentincj@iksaif.net>
     [not found]                                       ` <1259826317-18809-21-git-send-email-corentincj@iksaif.net>
     [not found]                                         ` <1259826317-18809-22-git-send-email-corentincj@iksaif.net>
     [not found]                                           ` <1259826317-18809-23-git-send-email-corentincj@iksaif.net>
     [not found]                                             ` <1259826317-18809-24-git-send-email-corentincj@iksaif.net>
     [not found]                                               ` <1259826317-18809-25-git-send-email-corentincj@iksaif.net>
     [not found]                                                 ` <1259826317-18809-26-git-send-email-corentincj@iksaif.net>
     [not found]                                                   ` <1259826317-18809-27-git-send-email-corentincj@iksaif.net>
     [not found]                                                     ` <1259826317-18809-28-git-send-email-corentincj@iksaif.net>
     [not found]                                                       ` <1259826317-18809-29-git-send-email-corentincj@iksaif.net>
     [not found]                                                         ` <1259826317-18809-30-git-send-email-corentincj@iksaif.net>
     [not found]                                                           ` <1259826317-18809-31-git-send-email-corentincj@iksaif.net>
     [not found]                                                             ` <1259826317-18809-32-git-send-email-corentincj@iksaif.net>
2009-12-03  7:45                                                               ` [PATCH 32/33] input: add KEY_WIRELESS_CYCLE Corentin Chary
2009-12-03  7:54                                                                 ` Dmitry Torokhov
2009-12-03  8:12                                                                   ` Corentin Chary
2009-12-03  8:21                                                                     ` Dmitry Torokhov
2009-12-03  8:51                                                                       ` Corentin Chary
2009-12-03  8:57                                                                         ` Dmitry Torokhov
2009-12-03  9:22                                                                           ` Corentin Chary
2009-12-03  9:43                                                                             ` Johannes Berg
     [not found]                                                                               ` <1259833412.12843.7.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-12-03 11:23                                                                                 ` [Kde-hardware-devel] " Will Stephenson
2009-12-03 15:01                                                                             ` Matthew Garrett
2009-12-06  6:58                                                                     ` Andrey Rahmatullin
2009-12-06  7:17                                                                       ` Dmitry Torokhov
2009-12-06  8:21                                                                         ` Corentin Chary
2009-12-06 14:54                                                                           ` Matthew Garrett
2009-12-07 11:47                                                                             ` Henrique de Moraes Holschuh
2009-12-07 12:55                                                                               ` Matthew Garrett
2009-12-07 13:23                                                                                 ` Henrique de Moraes Holschuh
2009-12-07 14:20                                                                                   ` Matthew Garrett [this message]
2009-12-07 17:02                                                                                     ` Henrique de Moraes Holschuh
2009-12-03 10:54                                                                   ` Henrique de Moraes Holschuh

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=20091207142059.GA32617@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=corentin.chary@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=hmh@hmh.eng.br \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=wrar@altlinux.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).