Re: [PATCH] Route kbd LEDs through the generic LEDs layer (5th version)

From: Samuel Thibault
Date: Sun Mar 21 2010 - 17:17:06 EST


Pavel Machek, le Sun 21 Mar 2010 22:09:38 +0100, a écrit :
> Now, minor comments:
>
> sometimes it uses "numl" (led name), sometimes it uses "numlock"
> trigger name.

Yes, I preferred to stick to the existing names: numl like LED_NUML, and
numlock like VC_NUMLOCK. I don't have any opinion on this however.

> root@amd:/sys/class/leds/input5::numl# echo heartbeat > trigger
>
> did not do the trick on my thinkpad. It still acts as numlock led. Is
> it driven by hw? input5::capsl works as expected.

If it is a laptop, it is likely, depending on the BIOS & such.
On my laptop, doing this works fine.

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/