New issue
Advanced search Search tips

Issue 697988 link

Starred by 1 user

Issue metadata

Status: Verified
Owner: ----
Closed: Mar 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Feature



Sign in to add a comment

Add ability to control keyboard backlight to backlight_dbus_tool

Reported by nath...@lenovo.corp-partner.google.com, Mar 2 2017

Issue description

The backlight_dbus_tool test tool is useful for controlling the screen backlight from the command line. It's trivial to add the ability to control the keyboard backlight too, and I needed the code, so I did it.

What went wrong?
Nothing. Everything's fine. How are you?
 

Comment 1 by derat@chromium.org, Mar 20 2017

Components: OS>Kernel>Power
Status: Started (was: Unconfirmed)
Is this just for debugging, or is some other process going to be calling this?
Just for debugging. I made the change for testing purposes, so since I already made the code changes I figured I'd check them in just in case they were helpful for someone else.

Comment 3 by derat@chromium.org, Mar 20 2017

Thanks, sounds good!
Project Member

Comment 4 by bugdroid1@chromium.org, Mar 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/64e02c32d884c258fa6c0bd116da8a04ac1cd245

commit 64e02c32d884c258fa6c0bd116da8a04ac1cd245
Author: Nathan Baker <nathanb@lenovo-chrome.com>
Date: Tue Mar 21 15:50:10 2017

power: Modify dbus tool to control kb backlight

BUG= chromium:697988 

The backlight_dbus_tool is used to control the screen
backlight intensity from the command line. As the
keyboard backlight uses a similar methodology and I
needed a command-line way to manipulate the keyboard
backlight, it seemed like a reasonable place to
add this functionality.

TEST=Built and ran command-line tool

Change-Id: Ib55983afb51eede4066a21c0e4de6a3084581a39
Reviewed-on: https://chromium-review.googlesource.com/448856
Commit-Ready: Nathan Baker <nathanb@lenovo-chrome.com>
Tested-by: Nathan Baker <nathanb@lenovo-chrome.com>
Reviewed-by: Dan Erat <derat@chromium.org>

[modify] https://crrev.com/64e02c32d884c258fa6c0bd116da8a04ac1cd245/power_manager/tools/backlight_dbus_tool.cc

Comment 5 by derat@chromium.org, Mar 21 2017

Status: Fixed (was: Started)
Status: Verified (was: Fixed)
Verified in Chrome OS 9565.0.0;60.0.3102.0. 

Sign in to add a comment