Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752080AbbGWFnL (ORCPT ); Thu, 23 Jul 2015 01:43:11 -0400 Received: from [89.191.203.168] ([89.191.203.168]:43330 "EHLO mail.emea.novell.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751805AbbGWFnD (ORCPT ); Thu, 23 Jul 2015 01:43:03 -0400 Date: Thu, 23 Jul 2015 07:42:37 +0200 (CEST) From: Jiri Kosina X-X-Sender: jkosina@pobox.suse.cz To: Vlastimil Babka cc: Pavel Machek , Dmitry Torokhov , Samuel Thibault , =?ISO-8859-15?Q?Pali_Roh=E1r?= , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, rpurdie@rpsys.net, Greg Kroah-Hartman Subject: Re: [PATCH v2 1/3] Input: export LEDs as class devices in sysfs In-Reply-To: <55B0797F.1030004@suse.cz> Message-ID: References: <1433799790-31873-1-git-send-email-dmitry.torokhov@gmail.com> <1433799790-31873-2-git-send-email-dmitry.torokhov@gmail.com> <20150609174211.GH6338@dtor-ws> <55AE299F.3010002@suse.cz> <20150721170133.GA39076@dtor-ws> <20150721210850.GA13242@amd> <55AF96B3.8070507@suse.cz> <55B0797F.1030004@suse.cz> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 974 Lines: 29 On Thu, 23 Jul 2015, Vlastimil Babka wrote: > On 07/22/2015 08:55 PM, Jiri Kosina wrote: > > On Wed, 22 Jul 2015, Vlastimil Babka wrote: > > > > [ ... snip ... ] > >> The mouse has 3 green leds and one red to indicate battery status, but I think > >> they operate autonomously. > > > > It's possible that the mouse is presenting them in the report descriptor > > though (and maybe it's even possible to control them from the host). > > > > Could you please provide contents of > > > > /sys/kernel/debug/hid//rdesc > > For the record, below. I wonder why there's two more "LED.?" lines (7) than the > warnings I get (5)? Because some of them get successfully (re-)mapped to named LEDs. -- Jiri Kosina SUSE Labs -- 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/