lkml.org 
[lkml]   [2004]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2.6.8.1 0/2] leds: new class for led devices
    On Fri, 3 Sep 2004, Kalin KOZHUHAROV wrote:
    > > function : a read/write attribute that sets the current function of
    > > this led. The available options are
    > >
    > > timer : the led blinks on and off on a timer
    > > idle : the led turns off when the system is idle and on when not idle
    > > power : the led represents the current power state
    > > user : the led is controlled by user space
    >
    > Please put the power comment in the source too, e.g. :
    >
    > +enum led_functions {
    > + leds_user = 0, /* user has control of this led through sysfs */
    > + leds_timer, /* led blinks on a timer */
    > + leds_idle, /* led is on when the system is not idle */
    > + leds_power, /* led is on when ?????????????????????? */
    > +};
    >
    > To be honest, I don't get the meaning of any of the led_functions except leds_user...

    leds_timer means something like a heartbeat (cfr. PPC and m68k)? Or do you need
    a separate `heartbeat' option for that?

    Gr{oetje,eeting}s,

    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

    In personal conversations with technical people, I call myself a hacker. But
    when I'm talking to journalists I just say "programmer" or something like that.
    -- Linus Torvalds
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:05    [W:0.019 / U:29.500 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site