Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754700AbaDGCKX (ORCPT ); Sun, 6 Apr 2014 22:10:23 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:64244 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753111AbaDGCKT (ORCPT ); Sun, 6 Apr 2014 22:10:19 -0400 Date: Sun, 6 Apr 2014 19:10:15 -0700 From: Dmitry Torokhov To: Samuel Thibault , Pavel Machek , David Herrmann , akpm@linux-foundation.org, jslaby@suse.cz, Bryan Wu , rpurdie@rpsys.net, linux-kernel@vger.kernel.org, Evan Broder , Arnaud Patard , Peter Korsgaard , Sascha Hauer , Matt Sealey , Rob Clark , Niels de Vos , linux-arm-kernel@lists.infradead.org, Steev Klimaszewski , blogic@openwrt.org, Pali =?iso-8859-1?Q?Roh=E1r?= Subject: Re: [PATCH] Route keyboard LEDs through the generic LEDs layer. Message-ID: <20140407021015.GA8518@core.coreip.homeip.net> References: <20140331122323.GC6044@type.bordeaux.inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140331122323.GC6044@type.bordeaux.inria.fr> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Samuel, On Mon, Mar 31, 2014 at 02:23:23PM +0200, Samuel Thibault wrote: > This permits to reassign keyboard LEDs to something else than keyboard "leds" > state, by adding keyboard led and modifier triggers connected to a series > of VT input LEDs, themselves connected to VT input triggers, which > per-input device LEDs use by default. Userland can thus easily change the LED > behavior of (a priori) all input devices, or of particular input devices. > I still have the same concern that I believe I already mentioned a while ago: how do we reconcile the LED control via triggers with LED control done through event devices? Currently, as far as I can see, they will be clashing with each other. I.e. if I remap my capslock led to be the new shiftlock and then userspace writes EV_LED/LED_CAPSL it would light up my new "shift lock", right? Also I wonder if we really need to have the multiplexing (VT-level) leds in addition to per-device ones. Thanks. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/