From: Martin Jansa Date: Tue, 22 Dec 2009 19:15:58 +0000 (+0100) Subject: xserver-kdrive-common: update sysfs ts calibration node for shr and kernel 2.6.32 X-Git-Tag: Release-2010-05/1~1185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5878e8a69e67e743c03a970747980710d68228f5;p=openembedded.git xserver-kdrive-common: update sysfs ts calibration node for shr and kernel 2.6.32 Signed-off-by: Martin Jansa --- diff --git a/recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate b/recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate index b852c0cb1d..e42e79c989 100644 --- a/recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate +++ b/recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate @@ -12,6 +12,11 @@ if [ ! -d $SYSFS_CALIBRATION_DIR ]; then 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