Re: best way to handle LEDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2 Nov 2005, Pavel Machek wrote:
> > > 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?
> > 
> > IMHO reducing digital outputs to LEDs goes not far enough. All System-
> > on-Chip CPUs have General Purpose I/O pins today, which can act as
> > inputs or outputs and may be used for LEDs, matrix keyboard lines,
> 
> We have some leds that are *not* on GPIO pins (like driven by
> ACPI). We'd like to support those, too.

I though ACPI was software? These LEDs have to be driven by some hardware,
right?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux