Re: [PATCH v2 00/17] Adding support for controlling the leds found on Intel NUC
From: Pavel Machek
Date: Wed May 19 2021 - 15:41:22 EST
Hi!
> > Marek and I are saying the same thing -- this needs to use close to
> > existing APIs.
>
> Ok, but I'm not seeing an existing API that provides what those
> LEDs need.
Well, there "close to" part comes into play.
> > If you want to get something merged quickly, please submit basic
> > functionality only (toggling the LED on/off) that completely fits
> > existing APIs. We can review that.
>
> If you prefer working this way, I can send an initial patch with
> just the very basic. Actually, if you apply just patch 2 of this
> series, it will provide support for for just setting the brightness
> on NUC8.
I don't care much. We can discuss minimal interface additions
neccessary to support your usecases.
But what you proposed was nowhere near close.
Note that we don't want to support every crazy feature, just because
hardware can do it.
> However, the main reason why someone (including myself) want this
> driver is to allow to dynamically change what hardware event will
> be triggering the LED and how, and if suspend will blink or not[1].
> Being able to also change the LED color is a plus.
This one is hard if the LED does not support full color.
> [1] Disabling blink at suspend/hibernate is one of the things that
> I use here: as the machine is at my bedroom, I don't want it to be
> blinking all night long when the machine is sleeping :-)
Ok, so lets start with the blink at suspend thing?
Having power LED on when machine is on, and slowly "breathing" when
machine is suspended is something I have seen before. Is that what
your hardware is doing?
Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek
Attachment:
signature.asc
Description: PGP signature