Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4621431imu; Mon, 12 Nov 2018 14:12:25 -0800 (PST) X-Google-Smtp-Source: AJdET5ceoIqx4s/LouICxhDEZJ9IiteVbHVnTJFZE1QE+Z6HUNqHKyAdFZyOaiiTQWa1wdAUjVu7 X-Received: by 2002:a17:902:4381:: with SMTP id j1-v6mr2503500pld.59.1542060745451; Mon, 12 Nov 2018 14:12:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542060745; cv=none; d=google.com; s=arc-20160816; b=BjbopZ5GvUm19bb9Ht3OHG/AX0xJBFXGLAchT1DPIxR44QC6Z8qP2U7tXHwCbenOEG hdIQGz070vvJkjKLZ/LxfUkElmnQtldQkhmTBWdNlOOawz355Lk49NHrAz4KMO718OmN 7Kj4kzqPG5I0alJ8+tbNfs9mRFPAJaafvXSLGtEpmk89NesTQgIyEmNOq9KDf+PJv/au nB3m4H9B0IVjzCTXpsuk9XTYgxWpQz/OJRl7w14o/6Kdbi3Pdf020+cL1+U+1r8M37sg 9ufYohEbVEODRLU45zcS5AoOY2qUyMt+8ELKh6uahGVxnZLdMt7TihiHE+nl7ZBYJBDg 7hTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=770GHb7fpXcUShreAXkoupn6KbGRPTmAHBKmONNCFLg=; b=yGbB2IJmwzHC4BIXzyi29iahhN6Lt3UD+mJbMhhBqh/SSQzxHshj2JmbuXhnanejHO 6Jc8u38gdZBEzidfC4frzPQ4fwZI0K6Eza+WXcisu4kk4GM1SOC4yDFeb+V/q41/7WgX 5FFcC1lI4JK4D85fGMRdPlgvKjfSd1NGIdJty/0RdAa6hzofeSUGTl+EZXV3NIigPRa0 M0QQcsB5tEhL9n0c+TXKNynt+fXWYiOqhXY88EBUtlaimBBLSrcSQu04KsMq9FQCL09c YkVGkmzacwaiyrpI7tu4MufoMUk4hYtnJW58Hoi28g0FXlZGgvngfuGOOGqpq4RvFpVI Z0Ow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1-v6si18153443pll.325.2018.11.12.14.12.09; Mon, 12 Nov 2018 14:12:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730645AbeKMIGO (ORCPT + 99 others); Tue, 13 Nov 2018 03:06:14 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:59633 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726006AbeKMIGO (ORCPT ); Tue, 13 Nov 2018 03:06:14 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id EC72F80706; Mon, 12 Nov 2018 23:11:02 +0100 (CET) Date: Mon, 12 Nov 2018 23:11:04 +0100 From: Pavel Machek To: Linus Walleij Cc: dachaac@gmail.com, Jacek Anaszewski , linux-leds@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" , Rob Herring , Baolin Wang , Daniel Mack , dmurphy@ti.com, oleg@kaa.org.ua, Sakari Ailus , simon@lineageos.org, xiaotong.lu@spreadtrum.com Subject: LEDs on USB keyboards was Re: [PATCH 02/24] leds: core: Add support for composing LED class device names Message-ID: <20181112221104.GC11942@amd> References: <1541542052-10081-1-git-send-email-jacek.anaszewski@gmail.com> <1541542052-10081-3-git-send-email-jacek.anaszewski@gmail.com> <20181111120234.GA28794@amd> <20181111201605.GA20160@amd> <57b77d4e-39a0-aaf2-5952-c2c25dc58593@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lMM8JwqTlfDpEaS6" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --lMM8JwqTlfDpEaS6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > Couldn't we have here multiple variants that would then be chosen based > > on device tree definition? >=20 > It needs to be subsystem specific or something. > What you say make sense for things based on device > tree. >=20 > The problem hit me on an Intel laptop with several > USB keyboards. >=20 > OK maybe I am stupid for plugging in two USB keyboards, > but we should definately support it. Input/HID supports it > well. Plugging two USB keyboards should be supported. Can we get some details... kernel version, architecture, maybe =2Econfig, where/how it fails? On my systems, keyboard leds are prefixed with device name, so I see no chance for duplicities... input5::capslock/ =20 input5::numlock/ =20 input5::scrolllock/ Thanks, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --lMM8JwqTlfDpEaS6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlvp+ngACgkQMOfwapXb+vLqywCdFaqE3SM9L6Df8+cbZl/qYHAi 7BEAoI8ogyxXrej9w7IRZ6vlaCjzxYNi =SadW -----END PGP SIGNATURE----- --lMM8JwqTlfDpEaS6--