fix fb soft rending, ts

This commit is contained in:
Angell Fear
2010-09-22 21:11:15 +06:00
parent b0afbbbb1d
commit 467299d85c
11 changed files with 378 additions and 294 deletions

View File

@@ -43,7 +43,7 @@ sleep 1
mount -t proc proc /proc
mount -t sysfs sys /sys
#exec /bin/sh
/bin/MAKEDEVS
fail() {
@@ -108,7 +108,15 @@ if [ -e /sdcard/ANDROID/userscript.sh ] ; then
/data/userscript.sh
fi
#ls /sys/class/timed_output/
export LD_PRELOAD=/system/lib/libts.so:/system/lib/ts/pthres.so
if [ -f /sdcard/ts ] ; then
echo "EXECUTE CALIBRATE TOUCHSCREEN!!!"
/bin/mkdir -m 0777 /data/system/tslib
/system/bin/ts_calibrate
/bin/rm /sdcard/ts
fi
#exec /bin/sh
exec /init_1