[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.0.98.0705292312150.22353@twin.jikos.cz>
Date: Tue, 29 May 2007 23:29:42 +0200 (CEST)
From: Jan Kratochvil <honza@...os.cz>
To: rpurdie@...ys.net, dtor@...l.ru
cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Support for controlling leds on xbox 360 pad.
Hello,
I have question, probably for Richard. Why is
/sys/class/leds/whatsoever/brightness mode set to 0644? Is it really necessary?
I feel like I'll be happy to allow anybody to change the state of this led. (Ok
this maybe doesn't apply to other leds)
> So this patch uses led subystem in such way that it makes led in
> /sys/class/leds/xpad:[0-9][0-9]/ for each attached xbox 360 pad.
>
I have the impression that the led subsystem doesn't actually count with
possibility to have more then one device of one type, right? In my case there
can by lots of pads, so I made it on my own, using counter. Is it ok?
Thanks
Jan Kratochvil
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists