Re: [PATCH] input: extend EV_LED





Pavel Machek <pavel@xxxxxx> wrote:

Hi!

I do not know the LED subsystem in detail, but I do not
know
any possibility to access the i8042 from different
subsystem
than the input subsystem.

What do you think and recommend?

I think you need to use leds framework for what you are
trying to do.

I'm actually not sure if led framework can do that. It was
designed
for leds on gpios, and handles blinking itself.

But he could export two leds :-).

Hi,

what do you mean about two leds? The first one would be
off/0.5Hz and the other off/1Hz?

I read in linux/Documentation/led-class.txt the following:

| Some leds can be programmed to flash in hardware. As this
isn't a generic
| LED device property, this should be exported as a device
specific sysfs
| attribute rather than part of the class if this
functionality is required.

Does it mean that neither the input subsystem nor the led
subsystem is designed for hardware acelerated blinking leds?
Is there any usual way what attribute a hw accelerated
blinking LED_MAIL should export?

NMarci

______________________________________________________________________________
10.000 Ft ajándék fotókidolgozás minden Panasonic digitális fényképezőgéphez!
FotoMarket Online Fotóáruház
http://ad.adverticum.net/b/cl,1,6022,99786,162268/click.prm


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: PATCH : LEDs - possibly the most pointless kernel subsystemever
    ... Why would output devices be ... > Perhaps because the input subsystem could/should be renamed to event ... LEDs provided by other subsystems to the generic interface, ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [PATCH] fujtisu application panel driver
    ... The original driver used ioctl's and a separate ... LEDs shoud use the generic led subsystem instead of input layer. ... input subsystem, and no application support for mail led through LED ... No, this drivers mapping table is from bits to key codes, not scan codes to keycodes. ...
    (Linux-Kernel)
  • Re: PATCH : LEDs - possibly the most pointless kernel subsystemever
    ... >> Better question is why it is not integrated with input subsystem ... (similar to kbd leds). ... Why would output devices be ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [PATCH] input: extend EV_LED
    ... But he could export two leds :-). ... | LED device property, this should be exported as a device ... Does it mean that neither the input subsystem nor the led ... subsystem is designed for hardware acelerated blinking leds? ...
    (Linux-Kernel)
  • Re: [PATCH] input: extend EV_LED
    ... > Generally speaking leds within input subsystem are ... The mail LED in question has three known state: off, blink ... These ports belog to the i8042 controller, ... operated by the input subsystem. ...
    (Linux-Kernel)