Re: [PATCH] new class for led devices

From: Vojtech Pavlik
Date: Fri Sep 24 2004 - 03:55:35 EST


On Thu, Sep 23, 2004 at 05:28:25PM +0000, John Lenz wrote:

> >So right solution seems to be adding LED_MAIL and LED_CHARGING and be
> >done with that...
>
> Yeah, that would work. And if userspace wants to use the led for something
> else, just uses MAIL and CHARGING as the names of the leds.
>
> Signed-off-by: John Lenz <lenz@xxxxxxxxxxx>
>
> --- bk/include/linux/input.h~input
> +++ bk/include/linux/input.h
> @@ -542,6 +542,8 @@
> #define LED_SUSPEND 0x06
> #define LED_MUTE 0x07
> #define LED_MISC 0x08
> +#define LED_MAIL 0x09
> +#define LED_CHARGING 0x0a
> #define LED_MAX 0x0f

Thanks, applied. Now where is the driver for those Zaurus LEDs?

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
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/