[lkml]   [2005]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: best way to handle LEDs
    On Wed, Nov 02, 2005 at 12:44:59AM +0100, Pavel Machek wrote:
    > Hi!
    > Handheld machines have limited number of software-controlled status
    > LEDs. Collie, for example has two of them; one is labeled "charge" and
    > second is labeled "mail".
    > At least the "mail" led should be handled from userspace, and it would
    > be nice if (at least) different speeds of blinking could be used --
    > original Sharp ROM uses at least:
    > yellow off: not charging
    > yellow on: charging
    > yellow fast blink: charge error
    > I think even slow blinking was used somewhere. I have some code from
    > John Lenz (attached); it uses sysfs interface, exports led collor, and
    > allows setting different frequencies.
    > Is that acceptable, or should some other interface be used?

    there is already an LED interface for linux-arm, which is
    used by a number of the extant machines in the sa11x0 and
    pxa range.

    Ben (,

    'a smiley only costs 4 bytes'
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-11-02 03:51    [W:0.021 / U:1.344 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site