summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/power-manager.changes4
-rw-r--r--pm_x_lcd_onoff.c7
2 files changed, 11 insertions, 0 deletions
diff --git a/packaging/power-manager.changes b/packaging/power-manager.changes
index 85c057a..04391fa 100644
--- a/packaging/power-manager.changes
+++ b/packaging/power-manager.changes
@@ -1,3 +1,7 @@
+* Tue Jul 10 2012 william.douglas@intel.com <william.douglas@intel.com> build/2012-07-04.095101@b69ceab
+[ William Douglas ]
+- Use "standby" for arm when turning the lcd on with xset.
+
* Wed Jul 04 2012 Anas Nashif <anas.nashif@intel.com> d891f8d
- Do not use bin sub-package, cleanup spec
[ Austin Zhang ]
diff --git a/pm_x_lcd_onoff.c b/pm_x_lcd_onoff.c
index cc6b69f..6e04706 100644
--- a/pm_x_lcd_onoff.c
+++ b/pm_x_lcd_onoff.c
@@ -24,8 +24,15 @@
#include "pm_device_plugin.h"
+/* Need more information but right now xset using "on" doesn't work
+ * for arm and so we define CMD_ON as CMD_STANDBY when not on x86.
+ */
#define CMD_STANDBY "standby"
+#ifndef X86
+#define CMD_ON CMD_STANDBY
+#else
#define CMD_ON "on"
+#endif
#define CMD_OFF "off"
static int pm_x_set_lcd_backlight(struct _PMSys *p, int onoff)