suite_Factory: initialize touchpad device in startx.sh adequately

On factory image, X is started by startx.sh which is different
from that of a ToT normal image which invokes /sbin/xstart.sh
to initialize the cmt driver. This CL copies some initialization
code from /sbin/xstart.sh into startx.sh to bring up the cmt driver
correctly.

factory_Touchpad works as before. This CL is to fix the initialization
of the cmt driver on factory image.

BUG=chrome-os-partner:7330
TEST=In factory test, press "ctrl-t" to perform touchpad test successfully.

Change-Id: I2685411fd8276255ba41a516794b2d6d229fecf6
Reviewed-on: https://gerrit.chromium.org/gerrit/13484
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Joseph Shyh-In Hwang <josephsih@chromium.org>
Commit-Ready: Joseph Shyh-In Hwang <josephsih@chromium.org>
1 file changed