Re: [PATCH 3/5] asus-wmi: Add support for TUF laptop keyboard states
From: Luke Jones
Date: Tue Aug 09 2022 - 19:04:06 EST
On Sun, 2022-08-07 at 14:41 +0200, Pavel Machek wrote:
> Hi!
>
> > I'm sorry but can you direct me to a source file or other that
> > shows use of
> > "pattern trigger". I don't know what this means or what to look
> > for. From
> > your response it seems I should certainly be using it.
>
> Trigger is at drivers/leds/trigger/ledtrig-pattern.c , you'd want to
> do something similar to drivers/leds/rgb/leds-qcom-lpg.c .
I think we lost something in communication. This looks like it is all
done in software.
On these laptops, TUF and ROG, the LED effects are all done by the
keyboard EC. For the TUF series you can reference this
https://gitlab.com/asus-linux/reverse-engineering/-/blob/master/TUF-i2c_laptops/led-rgb
It's for this reason I first went with a single node using "n n n n n
n" input.
Kind regards,
Luke.