linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: samuel.thibault@ens-lyon.org (Samuel Thibault)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] Route keyboard LEDs through the generic LEDs layer.
Date: Fri, 11 Apr 2014 08:12:02 +0200	[thread overview]
Message-ID: <20140411061202.GA8321@type> (raw)
In-Reply-To: <20140408233306.GJ27820@type.youpi.perso.aquilenet.fr>

Hello,

I'm sorry this went out with a few mistakes.

Samuel Thibault, le Wed 09 Apr 2014 01:33:06 +0200, a ?crit :
> Dmitry Torokhov, le Tue 08 Apr 2014 01:39:40 -0700, a ?crit :
> > It is not about the VT, I am talking about pure input core. If I
> > repurpose CapsLock LED for my WiFi indicator I do not want to go into
> > other programs and teach them that they should stay away from trying to
> > control this LED.
> 
> Err, but even without talking about repurposing Capslock LED for WiFi...
> How is managed the conflict between the normal capslock behavior and
> other programs' action on the underlying input device?  I don't think
> this patch does not introduce the problem.

I of course meant "I don't think this patch introduces the problem".

> How to decide which one to prioritize?
> 
> Is it just because console-setup happens to repurpose the capslock LED
> key that applications should suddenly not have capslock LED control
> at all?  That's contradictory with the use case you have given.

Oops, not the use case you have given, but a typical use-case of wanting
to use a program which does nice things with the capslock LED, and then
having to teach console-setup not to repurpose the capslock LED.

> That
> leads me into believing that we should not try to push a hard rule, and
> just let the user manage what accesses it.  We could indeed make the VT
> always take priority, but then that would probably break some existing
> applications.

Such as the example above, with the capslock LED.

Samuel

  reply	other threads:[~2014-04-11  6:12 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-31 12:23 [PATCH] Route keyboard LEDs through the generic LEDs layer Samuel Thibault
2014-04-01  7:02 ` Pali Rohár
2014-04-07  2:10 ` Dmitry Torokhov
2014-04-07  7:54   ` Samuel Thibault
2014-04-08  8:39     ` Dmitry Torokhov
2014-04-08 23:33       ` Samuel Thibault
2014-04-11  6:12         ` Samuel Thibault [this message]
2014-04-13  1:25           ` Dmitry Torokhov
2014-04-16 23:38             ` Samuel Thibault
2014-04-12 10:09       ` Pavel Machek
2014-04-13  1:30         ` Dmitry Torokhov
2014-10-01 18:42 ` Andrew Morton
2014-10-01 21:29   ` Samuel Thibault
2014-10-12 14:52     ` Pali Rohár
2014-10-15 23:15       ` Samuel Thibault
2014-10-15 23:29         ` Pali Rohár
2014-12-09 17:12           ` Pali Rohár
2014-12-09 20:22             ` Peter Korsgaard
2014-12-10  1:03               ` Samuel Thibault

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=20140411061202.GA8321@type \
    --to=samuel.thibault@ens-lyon.org \
    --cc=linux-arm-kernel@lists.infradead.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).