LEDs on USB keyboards was Re: [PATCH 02/24] leds: core: Add support for composing LED class device names

From: Pavel Machek
Date: Mon Nov 12 2018 - 17:11:10 EST


Hi!

> > Couldn't we have here multiple variants that would then be chosen based
> > on device tree definition?
>
> It needs to be subsystem specific or something.
> What you say make sense for things based on device
> tree.
>
> The problem hit me on an Intel laptop with several
> USB keyboards.
>
> 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
.config, where/how it fails?

On my systems, keyboard leds are prefixed with device name, so I see
no chance for duplicities...

input5::capslock/
input5::numlock/
input5::scrolllock/

Thanks,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature