I have an "EloTouchSystems,Inc Elo TouchSystems 2216 AccuTouch® USB Touchmonitor Interface"
/storage/.kodi/userdata/addon_data/service.touchscreen/ts.conf
Code
module_raw input grab_events=1
module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear
# or use swap_xy parameter to swap axes
module linear swap_xy=1
and /storage/.kodi/userdata/addon_data/service.touchscreen/ts_env.sh
Bash
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
# find touchscreen device by name (substring) using evtest program
# $ evtest
# No device specified, trying to scan all of /dev/input/event*
# Available devices:
# /dev/input/event0: Video Bus
# /dev/input/event1: Goodix Capacitive TouchScreen
# Select the device event number [0-1]:
TOUCHSCREEN_NAME="EloTouchSystems,Inc Elo TouchSystems 2216 AccuTouch® USB Touchmonitor Interface"
TSLIB_TSDEVICE=$(echo 999 | evtest 2>&1 >/dev/null | awk -F':' -v TS_NAME="$TOUCHSCREEN_NAME" '$0 ~ TS_NAME {print $1; exit}')
export TSLIB_TSDEVICE
export TSLIB_PLUGINDIR=$ADDON_DIR/lib
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_CALIBFILE=/storage/.kodi/userdata/addon_data/service.touchscreen/pointercal
export TSLIB_CONFFILE=/storage/.kodi/userdata/addon_data/service.touchscreen/ts.conf
# sometimes needed
export TSLIB_RES_X=1920
export TSLIB_RES_Y=1200
Display More
Code
service.touchscreen.service - Touchscreen support daemon
Loaded: loaded (/storage/.kodi/addons/service.touchscreen/system.d/service.touchscreen.service; enabled; vendor preset: disabled)
Active: active (exited) since Thu 2019-04-11 16:28:39 UTC; 1 years 7 months ago
Process: 590 ExecStartPre=/bin/sh -c exec /bin/sh /storage/.kodi/addons/service.touchscreen/bin/ts_calibrate.sh service (code=exite
Process: 625 ExecStart=/bin/sh -c exec /bin/sh /storage/.kodi/addons/service.touchscreen/bin/ts_uinput_touch.sh service (code=exite
Main PID: 625 (code=exited, status=1/FAILURE)
Apr 11 16:28:39 LibreELEC sh[625]: TSLIB_FBDEVICE: '/dev/fb0'
Apr 11 16:28:39 LibreELEC sh[625]: TSLIB_CALIBFILE: '/storage/.kodi/userdata/addon_data/service.touchscreen/pointercal'
Apr 11 16:28:39 LibreELEC sh[625]: TSLIB_CONFFILE: '/storage/.kodi/userdata/addon_data/service.touchscreen/ts.conf'
Apr 11 16:28:39 LibreELEC sh[625]: TSLIB_RES_X: '1920'
Apr 11 16:28:39 LibreELEC sh[625]: TSLIB_RES_Y: '1200'
Apr 11 16:28:39 LibreELEC sh[625]: TSLIB_TOUCH_HOME_TIME: '(null)'
Apr 11 16:28:39 LibreELEC sh[625]: using fb device: /dev/fb0
Apr 11 16:28:39 LibreELEC sh[625]: resolution: 1920x1200
Apr 11 16:28:39 LibreELEC sh[625]: using touch device:
Apr 11 16:28:39 LibreELEC systemd[1]: Started Touchscreen support daemon.
Display More
touch works but only a smaller range eg 1200x1000 or other, not to the boarder
and the toucb is invert and swap modul linear swap not work for me
an when i start the service touchscreen, the loaderbutton runs and not shown to calibrate
whats wrong?