From 5878e8a69e67e743c03a970747980710d68228f5 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 22 Dec 2009 20:15:58 +0100 Subject: xserver-kdrive-common: update sysfs ts calibration node for shr and kernel 2.6.32 Signed-off-by: Martin Jansa --- .../xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'recipes/xserver-kdrive-common') 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 -- cgit v1.2.3