[lkml]   [2004]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 0/2] leds: new class for led devices

    > >> 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
    > >
    > >I'm afraid this is really good idea. It seems quite overengineered to
    > >me (and I'd be afraid that idle part slows machine). Perhaps having
    > >only "user" mode is better idea?
    > I was only mimicing the support currently in the arm led code.
    > After thinking about it from a broader perspective of including GPIOs,
    > we should probably get rid of this function thing entirely. Just let user
    > space do everything... userspace can monitor sysfs and hotplug and have the
    > led represent power or idle or whatever.

    Well, it might be okay than.

    Another possibility would be to use hard-coded behaviour while system
    is booting/stopping and /sys-controlled behaviour while userspace is

    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-03-22 14:05    [W:0.022 / U:6.580 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site