Schorschi79, don't use sudo with the command - now it didn't show anything
Posts by vpeter
-
-
Is it possible to know the pattern of operation of the addon?
There is a daemon named ts_uinput_touch which translates tslib events to uinput. This daemon gets events from touchscreen using tslib library. On the other end it creates one new virtual device using uinput kernel module that allows to handle the input subsystem from user land. Inside application data from tslib is translated to uinput events. That's why this daemon must start BEFORE kodi so kodi can use this new virtual input device.
And this daemon must have two config files: ts.conf and ts_env.sh located in addon's userdata folder. Without this 2 files whole stuff will not work (meaning calibration addon will not start and get the touch points). Configuration is more explained on link in my signature. -
sengol, then just configure this 2 files I mentioned above and it should work.
-
-
I put addon service.system.touchscreen in Index of /touchscreen/. It must be manually installed along with Estouchy skin.
To actually use touchscreen it must be manually configured. I would like to automate it or at least make more user friendly in the future but for now it is like that - follow post #59 for setting ts_env.sh and ts.conf. File can be edited on Windows over samba too.
After this 2 files are correctly set the system must be rebooted.If all goes well I will put addon in libreelec repository for easy install.
[hr]
But i don't see my touch in the event list.
Then it is not enabled in kernel? In which image it works and in which image it doesn't - so I can compare kernel config. -
It runs as root.
-
Something to start with: home-automation-with-xbmc
-
Yes, you build app for your host. Install process was intended to install on host that's why I change it a little (can be done better way probably).
-
-
Show your package.mk.
-
I don't see my touchdevice in the eventlist.
So i can't Integrate the input/event number into the script 'ts_env.sh'.Install System tools addon and run evtest program. There should be your touchscreen. Which one is exactly?
-
With empty PKG_URL you will not build anything. You can put source archive file to some web server or you can copy it directly to sources folder. Then you need to create md5 and url file.
-
I add OEM_SUPPORT=yes in project's options file.
Then I create virtual package named as your project is (Generic for example) and set all the packages to be installed in PKG_DEPENDS_TARGET. -
Do you make this addon also for other platforms? I assume this one is only for the raspberry?
Yes, this one is only for RPi. The idea is to put this addon into libreelec repository for everyone who needs it without requiring special image with everything included.I need to make few more tests before that. If you need addon for some other platform let me know.
-
Schorschi79, if you can try this addon I just made. I made only few tests and seems to be working.
Install addons manually
service.system.tslib-8.0.100.100-RPi-arm.zip
or
service.system.tslib-8.0.100.100-RPi2-arm.zip
and Estouchy skin
kodi-theme-Estouchy-17.0-beta1-81d5d26.zipThen you need to configure it like described in LibreELEC
follow steps in 7.1 regarding ts_env.sh file. The only change is that path is not
but /storage/.kodi/userdata/addon_data/service.system.tslib. Skip autostart and calibration part. Just reboot and under addons look for calibration addon and calibrate screen. Immediately after calibration touch should work and you can switch to Estouchy skin.I only have two special LVDS displays which works out of the box on Udoo imx6 board. I don't have any HDMI screen with USB touch but I know they work well when configured properly. The biggest I know of is 40" display on RPi used in museum used by visitors
UPDATE: rearranged few things and now I have service.system.touchscreen addon.
-
Final question, if nobody can answer or do not want to, can anyone tell me how to install LibreELEC on the USB hard drive? That way I can at least eliminate the extra USB flash drive. I can't find any information on the forums or Internet on how to to this.
It's not about not want to answer. Sometimes there are just no answer possible. I can't fix problems I can't reproduce. I can't even fix problems I can reproduce if they are some deep imx6 related stuff. This platform just newer got much attention from devs (there are only few who has knowledge about it - and I'm not one of them). I wish I could make perfect 100% working image but I think this will newer happen. I think 7.0.2 was very close to that (for some).And about installing to USB: You still need SD card to boot from. The procedure is the same as for RPi (boot from sd card, system from usb).
-
Currently all this extra touchscreen stuff is build as part of the image. I did rewrote some parts and transform this functionality into addon. Will take few days to test and then I will give you the addon.
I'm using Ubuntu 14.04.5 LTS but v16 is fine too (64 bit of course).
-