Re: [PATCH v2 1/3] Input: export LEDs as class devices in sysfs

Jiri Kosina
2015-07-23T05:43:11Z

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/<device>/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