summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/xserver-common/files/89xTs_Calibrate.xinput_calibrator.patch24
-rw-r--r--recipes/xserver-common/xserver-common_1.33.bb2
2 files changed, 2 insertions, 24 deletions
diff --git a/recipes/xserver-common/files/89xTs_Calibrate.xinput_calibrator.patch b/recipes/xserver-common/files/89xTs_Calibrate.xinput_calibrator.patch
index 0409a1faef..e23bbf0347 100644
--- a/recipes/xserver-common/files/89xTs_Calibrate.xinput_calibrator.patch
+++ b/recipes/xserver-common/files/89xTs_Calibrate.xinput_calibrator.patch
@@ -2,31 +2,9 @@ Index: xserver-common/X11/Xsession.d/89xTs_Calibrate_xinput_calibrator
===================================================================
--- xserver-common/X11/Xsession.d/89xTs_Calibrate_xinput_calibrator (revision 0)
+++ xserver-common/X11/Xsession.d/89xTs_Calibrate_xinput_calibrator (revision 0)
-@@ -0,0 +1,34 @@
+@@ -0,0 +1,12 @@
+#!/bin/sh
+
-+SYSFS_CALIBRATION_DIR=/sys/bus/i2c/devices/0-0073/s3c2440-ts/calibration
-+
-+if [ ! -d $SYSFS_CALIBRATION_DIR ]; then
-+ # moved in 2.6.31
-+ SYSFS_CALIBRATION_DIR=/sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/s3c2410-ts/calibration
-+fi
-+
-+if [ ! -d $SYSFS_CALIBRATION_DIR ]; then
-+ # moved in 2.6.32
-+ SYSFS_CALIBRATION_DIR=/sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/s3c2410-ts/calibration
-+fi
-+
-+if [ -d $SYSFS_CALIBRATION_DIR ]; then
-+ echo 0 > $SYSFS_CALIBRATION_DIR/0
-+ echo 80000 > $SYSFS_CALIBRATION_DIR/1
-+ echo -8000000 > $SYSFS_CALIBRATION_DIR/2
-+ echo -81000 > $SYSFS_CALIBRATION_DIR/3
-+ echo 0 > $SYSFS_CALIBRATION_DIR/4
-+ echo 75000000 > $SYSFS_CALIBRATION_DIR/5
-+ echo 65536 > $SYSFS_CALIBRATION_DIR/6
-+fi
-+
+if [ -e /usr/bin/xinput_calibrator_once.sh ] ; then
+ if [ -e /etc/pointercal.xinput ] ; then
+ if [ -e /usr/bin/fsoraw ] ; then
diff --git a/recipes/xserver-common/xserver-common_1.33.bb b/recipes/xserver-common/xserver-common_1.33.bb
index f1fcfc337a..470bc4c7ab 100644
--- a/recipes/xserver-common/xserver-common_1.33.bb
+++ b/recipes/xserver-common/xserver-common_1.33.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts and support files"
LICENSE = "GPL"
SECTION = "x11"
RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo"
-PR = "r2"
+PR = "r3"
PACKAGE_ARCH = "all"
DEFAULT_PREFERENCE = "-1"