LED devices
Richard Purdie
rpurdie at openedhand.com
Wed May 30 07:29:28 PDT 2007
On Wed, 2007-05-30 at 16:09 +0200, Johannes Berg wrote:
> On Wed, 2007-05-30 at 14:21 +0200, Danny Kukawka wrote:
>
> > I discussed the LED issues already with Richard Purdie (the maintainer of the
> > led subsystem) and wrote a patch to change the naming of the led devices in
> > sysfs, because I worked on a patch to handle LED devices in HAL. Richard
> > doesn't want to start having extra device attributes in sysfs for this. The
> > new changed naming would include the function and colour of the led.
>
> Eek. What about flashing and various other attributes?
Nowhere have I said all attributes have to be in the device name. That
would be pure madness. All I have said is the device name might as well
have a purpose and describe the device in some way and that way might as
well be machine readable.
> What colour is
> defined for LEDs that don't define a colour (I haven't seen any patches
> to the pmu LED on linuxppc-dev so you didn't send patches to give it
> "white" colour)?
If the field is missing, no colour is defined, just the same as if a
colour attribute file was missing.
Regards,
Richard
More information about the hal
mailing list