[oe-commits] Martin Jansa : xserver-common: use only xinput_calibrator for calibration ( used only for SHR)

git version control git at git.openembedded.org
Thu May 27 13:33:39 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: fa32ebe81050abf55f73f8431f6529362f3080d7
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=fa32ebe81050abf55f73f8431f6529362f3080d7

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Tue May 25 09:24:29 2010 +0200

xserver-common: use only xinput_calibrator for calibration (used only for SHR)

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../files/89xTs_Calibrate.xinput_calibrator.patch  |   24 +-------------------
 recipes/xserver-common/xserver-common_1.33.bb      |    2 +-
 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 0409a1f..e23bbf0 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 f1fcfc3..470bc4c 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"





More information about the Openembedded-commits mailing list