Commit 2dd86aa7 authored by chirantan's avatar chirantan Committed by Commit bot

Update chrome os light bar location

Recent modifications to the kernel have changed the location of the
sysfs entry that controls the light bar.  Update the light bar class
with the new location.

BUG=none
Signed-off-by: default avatarChirantan Ekbote <chirantan@chromium.org>

Review URL: https://codereview.chromium.org/588293002

Cr-Commit-Position: refs/heads/master@{#296059}
parent 147010d8
...@@ -18,7 +18,8 @@ namespace chromeos { ...@@ -18,7 +18,8 @@ namespace chromeos {
namespace { namespace {
const int kDarkSuspendDelaySeconds = 4; const int kDarkSuspendDelaySeconds = 4;
const char kLightBarControlPath[] = const char kLightBarControlPath[] =
"/sys/devices/virtual/chromeos/cros_ec/lightbar/sequence"; "/sys/devices/platform/cros_ec_lpc.0/cros-ec-dev.0/chromeos/cros_ec/"
"lightbar/sequence";
const char kKonamiCommand[] = "KONAMI"; const char kKonamiCommand[] = "KONAMI";
} // namespace } // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment