diff options
| author | Richard Purdie <richard@openedhand.com> | 2006-05-22 22:14:32 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2006-05-22 22:14:32 +0000 |
| commit | ad4b746c07563a50fd35f6f68ebb82acdc0f194c (patch) | |
| tree | 3d230c7788d0a504d083ff24c7be5c77a0568c23 | |
| parent | a21cef816585683556abd873c83ed0fdb5938f32 (diff) | |
| download | poky-ad4b746c07563a50fd35f6f68ebb82acdc0f194c.tar.gz | |
Don't run touchscreen calibration if a touchscreen isn't configured
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@405 311d38ba-8fff-0310-9ca6-ca027cbcb966
4 files changed, 8 insertions, 8 deletions
diff --git a/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/30xTs_Calibrate b/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/30xTs_Calibrate index de47b871a2..26d8551b18 100644 --- a/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/30xTs_Calibrate +++ b/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xinit.d/30xTs_Calibrate | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | if [ ! -f /etc/pointercal ]; then | 3 | if [ ! -f /etc/pointercal ] && [ ! -z "$TSLIB_TSDEVICE" ]; then |
| 4 | /usr/bin/xtscal | 4 | /usr/bin/xtscal |
| 5 | fi | 5 | fi |
| 6 | 6 | ||
diff --git a/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb b/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb index e8159dd98b..b1f06fe3b6 100644 --- a/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb +++ b/openembedded/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb | |||
| @@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts" | |||
| 2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
| 3 | SECTION = "x11" | 3 | SECTION = "x11" |
| 4 | RDEPENDS_${PN} = "xmodmap libxrandr xdpyinfo xtscal" | 4 | RDEPENDS_${PN} = "xmodmap libxrandr xdpyinfo xtscal" |
| 5 | PR = "r5" | 5 | PR = "r6" |
| 6 | 6 | ||
| 7 | SRC_URI = "file://etc" | 7 | SRC_URI = "file://etc" |
| 8 | S = ${WORKDIR} | 8 | S = ${WORKDIR} |
diff --git a/openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb b/openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb index 633f546117..4b224c22e5 100644 --- a/openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb +++ b/openembedded/packages/xserver-kdrive-common/xserver-nodm-init.bb | |||
| @@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)" | |||
| 2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
| 3 | SECTION = "x11" | 3 | SECTION = "x11" |
| 4 | PRIORITY = "optional" | 4 | PRIORITY = "optional" |
| 5 | PR = "r1" | 5 | PR = "r2" |
| 6 | 6 | ||
| 7 | SRC_URI = "file://xserver-nodm" | 7 | SRC_URI = "file://xserver-nodm" |
| 8 | S = ${WORKDIR} | 8 | S = ${WORKDIR} |
diff --git a/openembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm b/openembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm index dcafb9e98f..b2c4cf1558 100755 --- a/openembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm +++ b/openembedded/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm | |||
| @@ -14,7 +14,7 @@ case "$1" in | |||
| 14 | /etc/X11/Xserver & | 14 | /etc/X11/Xserver & |
| 15 | export DISPLAY=:0 | 15 | export DISPLAY=:0 |
| 16 | 16 | ||
| 17 | while [ ! -f /etc/pointercal ] | 17 | while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ] |
| 18 | do | 18 | do |
| 19 | /usr/bin/xtscal | 19 | /usr/bin/xtscal |
| 20 | done | 20 | done |
| @@ -24,10 +24,10 @@ case "$1" in | |||
| 24 | 24 | ||
| 25 | stop) | 25 | stop) |
| 26 | echo "Stopping XServer" | 26 | echo "Stopping XServer" |
| 27 | killproc /usr/bin/Xfbdev | 27 | killproc Xfbdev |
| 28 | killproc /usr/bin/Xomap | 28 | killproc Xomap |
| 29 | killproc /usr/bin/Xorg | 29 | killproc Xorg |
| 30 | killproc /usr/bin/Xepson | 30 | killproc Xepson |
| 31 | ;; | 31 | ;; |
| 32 | 32 | ||
| 33 | *) | 33 | *) |
