diff options
Diffstat (limited to 'tslib')
-rw-r--r-- | tslib/tslib/initialize_djs.patch | 20 | ||||
-rw-r--r-- | tslib/tslib/omap1610h2/tslib.sh | 5 |
2 files changed, 25 insertions, 0 deletions
diff --git a/tslib/tslib/initialize_djs.patch b/tslib/tslib/initialize_djs.patch index e69de29bb2..bfd8d1cc18 100644 --- a/tslib/tslib/initialize_djs.patch +++ b/tslib/tslib/initialize_djs.patch @@ -0,0 +1,20 @@ +Sometimes after ts_open/ts_close/ts_open on the first +sample(s) dejitter will crash (sorry no backtrace) + +memsetting tslib_dejitter so djt->nr is not random anymore + + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- tslib/plugins/dejitter.c~initialize_djs ++++ tslib/plugins/dejitter.c +@@ -205,6 +205,7 @@ + if (djt == NULL) + return NULL; + ++ memset(djt, 0, sizeof(struct tslib_dejitter)); + djt->module.ops = &dejitter_ops; + + djt->delta = 100; diff --git a/tslib/tslib/omap1610h2/tslib.sh b/tslib/tslib/omap1610h2/tslib.sh index e69de29bb2..040f4de3d5 100644 --- a/tslib/tslib/omap1610h2/tslib.sh +++ b/tslib/tslib/omap1610h2/tslib.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +TSLIB_TSDEVICE=/dev/input/event1 + +export TSLIB_TSDEVICE |