Re: [PATCH v2 0/5] ChromeOS Embedded Controller LED driver
From: Thomas Weißschuh
Date: Mon Jun 03 2024 - 16:56:45 EST
On 2024-06-02 18:30:06+0000, Dustin Howett wrote:
> On Fri, May 31, 2024 at 11:33 AM Thomas Weißschuh <linux@xxxxxxxxxxxxxx> wrote:
> >
> > Add a LED driver that supports the LED devices exposed by the
> > ChromeOS Embedded Controller.
>
> I've tested this out on the Framework Laptop 13, 11th gen intel core
> and AMD Ryzen 7040 editions.
>
> It works fairly well! I found a couple minor issues in day-to-day use:
Thanks!
> - Restoring the trigger to chromeos-auto does not always put the EC
> back in control, e.g. the side lights no longer return to reporting
> charge status.
> I believe this happens when you move from any trigger except "none"
> to chromeos-auto, without first setting "none".
Thanks for the report, I'll investigate that.
> - The multicolor intensities report 6x 100 by default; if you set the
> brightness with the intensities set as such, it becomes only red. I
> would have
> expected intensities of 100 0 0 0 0 0 if that were the case
The EC will always use the first nonzero intensity for the color
channel. It isn't a real PWM color mix.
I don't think there are possibilities in the multicolor API to enforce
this. For the next revision I'll need to document this properly.
Also the default intensities could be better indeed.
> Thomas, I apologize for the duplicate message; my mail client config
> here defaults to "reply" rather than "reply all."
No worries!