Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: client/deps/factory/startx.sh

Issue 2877021: factory external display test (Closed) Base URL: ssh://git@chromiumos-git/autotest.git
Patch Set: uncomment repeat_forever Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/deps/factory/fhorn.wav ('k') | client/site_tests/factory_ExtDisplay/factory_ExtDisplay.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/deps/factory/startx.sh
diff --git a/client/deps/factory/startx.sh b/client/deps/factory/startx.sh
index d960e4d01c26571fefee0ca11c3ccc04f7ba3497..52a5917ee9af00859e7fef5db3cafe2558119d7e 100755
--- a/client/deps/factory/startx.sh
+++ b/client/deps/factory/startx.sh
@@ -27,6 +27,16 @@ while [ -z ${SERVER_READY} ]; do
sleep .1
done
+export DISPLAY=${DISPLAY}
+export XAUTHORITY=${XAUTH_FILE}
+
+# TODO : currently necessary as ch7036 stuff only launches if upstart ui but in
+# future it will be tied to udev
+if [ -e /usr/bin/ch7036_monitor ] ; then
+ /sbin/modprobe i2c-dev
+ /usr/bin/ch7036_monitor -v > /var/log/factory_ch7036_monitor.log &
+fi
+
/sbin/initctl emit factory-ui-started
cat /proc/uptime > /tmp/uptime-x-started
« no previous file with comments | « client/deps/factory/fhorn.wav ('k') | client/site_tests/factory_ExtDisplay/factory_ExtDisplay.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698