Re: [PATCH] platform/chrome: Create new USB driver for RGB keyboard in ChromeOS devices

From: Prashant Malani
Date: Thu Dec 01 2022 - 15:10:41 EST


Hi Won,

On Wed, Nov 30, 2022 at 3:19 PM Won Chung <wonchung@xxxxxxxxxx> wrote:
>
> Without any driver bound to RGB keyboard, it may not be suspended
> properly, preventing USB xHCI to be suspended and causing power drain.
> Create new USB driver for RGB keyboard so that it can be suspended
> properly.

This seems like overkill. Can't you set this from USB's sysfs nodes
like power/control [1] ?

[1] https://www.kernel.org/doc/html/latest/driver-api/usb/power-management.html#the-user-interface-for-dynamic-pm


Best regards,

-Prashant