linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Linux kernel: updating acer-wmi
       [not found] <CAMW3L+1CN4ZNQZzF0w9ZziDEYHs4QaWrCzDb4ZCpRpTHu_A3PA@mail.gmail.com>
@ 2021-05-11 14:06 ` Andy Shevchenko
  0 siblings, 0 replies; only message in thread
From: Andy Shevchenko @ 2021-05-11 14:06 UTC (permalink / raw)
  To: Jafar Akhondali, Linux LED Subsystem, linux-input, Platform Driver
  Cc: Benjamin Herrenschmidt, Dmitry Torokhov, jesperjuhl76,
	João Paulo Rechi Vita, Johannes Berg, Hans de Goede,
	Pavel Machek

Thanks for your email.

Do not send personal emails on OSS related matters, please.

+Cc: mailing list and certain maintainers

On Tue, May 11, 2021 at 4:59 PM Jafar Akhondali
<jafar.akhoondali@gmail.com> wrote:
>
> Hi,
> The Acer predator helios 300 series features a RGB 4-zone backlight keyboard, that is currently controllable only in Windows. The manager uses a specific WMI interface which currently is not yet implemented in the Linux kernel.
> I've implemented the support for RGB WMI on acer-wmi.c file by reverse engineering the PredatorSense(the official application on Windows which controls gaming functions for Acer Predator series), exploring WMI functions, and decompiling WQ buffers. But I still need your help as this is my first contribution to the Linux kernel for the correct place for the user-space communication method.
>
> The RGB keyboard-backlight method accepts a 16bytes(u8[16]) array input for controlling different modes, colors, speed, light intensity, direction, etc. What is the most suitable way and place for controlling these parameters via using space?
>
> My first choice was the "leds.h" subsystem, but it does not support array inputs, thus if I want to use this, I'll need to use 16 different subsystems which don't look right.
>
> Another choice is using ioctl operation, but I'm not sure where I should place it. For example "/sys/kernel", "/sys/devices/", "/sys/module" or ... ?
>
> Any working examples are extremely appreciated and will help me alot.
>
> It is also worth mentioning that the mentioned WMI supports other gaming functions such as fan control, CPU\GPU overclocking, etc. But they are currently out of scope of my implementation.

-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-11 14:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAMW3L+1CN4ZNQZzF0w9ZziDEYHs4QaWrCzDb4ZCpRpTHu_A3PA@mail.gmail.com>
2021-05-11 14:06 ` Linux kernel: updating acer-wmi Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).