lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date: Fri, 22 Mar 2024 20:27:57 +1000
From: Stephen Horvath <s.horvath@...look.com.au>
To: Lee Jones <lee@...nel.org>,
	Benson Leung <bleung@...omium.org>,
	Guenter Roeck <groeck@...omium.org>,
	Tzung-Bi Shih <tzungbi@...nel.org>,
	chrome-platform@...ts.linux.dev,
	linux-kernel@...r.kernel.org
Cc: Stephen Horvath <s.horvath@...look.com.au>
Subject: [PATCH 0/2] platform/chrome: cros_kbd_led_backlight: Automatically enable keyboard backlight control if feature present in EC

The keyboard backlight control is not enabled by default on all devices
with a Chromium EC, e.g. my Framework 13. This patch series enables it
if the feature is present in the EC, instead of relying on
`of_match_table`s or whatever.

These patches are tested and working on my Framework 13, and KDE's
keyboard brightness slider even works. It's also gone though a couple of
reboot & sleep cycles without issue.

Also this is my first time submitting a patch to the kernel, and I'm keen
to do more, so please let me know if I've done anything wrong.

Thanks,
Steve

Stephen Horvath (2):
  platform/chrome: cros_kbd_led_backlight: Automatically enable keyboard
    backlight control if feature present in EC
  platform/chrome: cros_kbd_led_backlight: Remove obsolete commands
    (EC_CMD_PWM_*_KEYBOARD_BACKLIGHT)

 drivers/mfd/cros_ec_dev.c                     |  9 +++
 .../platform/chrome/cros_kbd_led_backlight.c  | 62 ++++++++++---------
 2 files changed, 43 insertions(+), 28 deletions(-)

-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ