Re: [PATCHv5 0/2] INPUT: Route keyboard LEDs through the generic LEDs layer

From: Samuel Thibault
Date: Wed Jan 21 2015 - 10:21:44 EST


Hello,

Pavel Machek, le Fri 02 Jan 2015 20:53:51 +0100, a écrit :
> > Here is v5 coming, with separate patches for the kbd and the input
> > parts.
>
> After booting with this, capslock led does not seem to work on text
> console.
>
> input4::capsl/trigger was none by default, that can't be right, right?
>
> I tried putting kbd-capslock and input4-capsl there, but that did not
> seem to help.
>
> It works with heartbeat trigger, but not with input4-numl
> trigger. (But numlock led works ok with that trigger, weird).
>
> vt::capsl/brightness controls capslock led, even when
> input4-capsl/trigger is set to input4-numl.

I have just tried what you described on a thinkpad lenovo T500, without
any problem, except that the thinkpad BIOS does a couple of funky
things:

- depending on the numlock bios setting, the numlock led will be
driven by the OS (synchronized mode) or handled internally in the BIOS
(independent mode).
- in synchronized mode, whenever the internal numlock led is lit, the
right part of the internal keyboard acts as the keypad keys.

Samuel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/