Maybe here is something useful? Index of /
Posts by vpeter
-
-
Henne: I think I know what is your problem.
Waveshare files are used only when hidraw device is used for such displays. But your is not like that.That's why you need to copy ts_env.sh-sample to ts_env.sh (and change TOUCHSCREEN_NAME) and copy ts.conf-generic to ts.conf. I think then you could calibrate and everything will be fine.
Let me know the result.
-
You can follow code here tslib/ts_calibrate.c at master · kergoth/tslib · GitHub
But if you are using data in advancedsettings.xml then you don't need this addon.
-
-
You don't need to kill kodi because at that time it doesn't even run
Also sleep 10 will delay of kodi starting for 10 seconds (in case you don't want that).
-
-
-
Your touchscreen: /dev/input/event2: ADS7846 Touchscreen
New input device created by addon /dev/input/event3: tslib to uinput daemon and used by kodi
Frankly I don't know what is wrong. Your touchscreen works fine according to evtest. Maybe there is something wrong with addon itself. I don't have any such touchscreen to actually test it.
You can try to stop kodi (systemctl stop kodi) and select /dev/input/event3: tslib to uinput daemon with evtest. And again tap top/left, top/right, bottom/right, bottom/left and put result on pastebin page to see if daemon works correctly. I assume no.
-
And if you tap somewhere else on the screen then it moves to next point?
Or it stays on first point indefinitely?
-
-
Ok, picture is better but video is even more
I do not understand your problem actually. Run calibration and tap on those points. After that screen will be calibrated. Ignore mouse cursor at this point.
-
Data seems fine to me. At least all the four values.
But orientation is off or maybe you just didn't follow order correctly.
Anyway, from what I see it should work. I mean moving mouse cursor all over the screen.
-
You don't need to modify advancedsettings.xml. OR just use that and not this addon.
Stop kodi and start evtest. Make short presses on top/left, top/right, bottom/right, bottom/left and put result on pastebin page.
-
You have in ts.conf two variables TSLIB_RES_X and TSLIB_RES_Y. Check if they are set correctly and remove # in front of the line.
-
-
This changes were used on v8.2.4 in my image:
External Content pastebin.comContent embedded from external sources will not be displayed without your consent.Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy. -
It´s only for Generic systems. You need the version of java for ARM processors, but I don´t know if its working on the Pi.
Maybe vpeter has a solution for you.
Sorry but vpeter doesn't have any RPi. Which means I'm not looking how to run java there
-
Just change init file packages/sysutils/busybox/scripts/init and build the image. It would be easier than changing initramfs in kernel.
And if works with noram then just use this option. This option just disables copying SYSTEM file to ram and mounting from there instead of hdd or sd card or usb stick. Maybe there is very, very small performance hit but you will not notice it anyway.