Touchsupport

  • vpeter - I did some more experimenting. Starting with a clean install of 7.90.007 the screen works fine, but as soon as I change audio output to ALSA/hifiberry the screen goes white. Remote app no longer works, but ssh and samba do work at least for a while. After a hard reset the screen worked again but the audio out had been changed. Selecting ALSA/hifiberry again, the screen went white again...

  • vpeter - still tinkering. Started with a new fresh version of 7.90.007 and installed tslib and estouchy as you suggested in post #59. The touchscreen doesn't seem to be recognised: evtest doesn't run unless I specify a device and in /dev/input there are no files called event* - the only file I see is mice. So I presume I need to activate the touchscreen using some setting somewhere? Any thoughts?


    Thanks!


  • evtest doesn't run unless I specify a device and in /dev/input there are no files called event* - the only file I see is mice. So I presume I need to activate the touchscreen using some setting somewhere? Any thoughts?


    Maybe I missed something but which touchscreen exactly are you using?


    Btw: I send addon to libreelec repository and it will be available soon.

    Done giving support here because of last events.

  • vpeter it is this one:
    Amazon.com: 5 inch 800480 Resistive Touch Screen HDMI interface custom Raspbian LCD mini PC Supports Raspberry Pi 3 2 1 Model B B+ A+ & BeagleBone Black & Banana Pi / Banana Pro @XYG: Computers & Accessories


    It shows up as "d-wav scientific co. ltd" in lsusb. dmesg also sees it "New USB device found, idVendor=0eef, idProduct=0005". A google search suggests it is a eGalax touchscreen.


    Great news on the addon, I look forward to it!

    Maybe I missed something but which touchscreen exactly are you using?


    Btw: I send addon to libreelec repository and it will be available soon.

  • This is not egalax but waveshare touchscreen device. It is very stupid device and hard to support without manufacturers driver.


    You only need to copy config files ts.conf-waveshare to ts.conf and ts_env.sh-waveshare to ts_env.sh. After reboot it should magically work.


    Update: Touchcreen addon is now available in LibreELEC repository :cool:

    Done giving support here because of last events.

    Edited once, last by vpeter ().

  • What do I have to do, to add Estouchy back in the LibreElec compilation-process? For our touch-screen solution it seems the best way to do so.

  • I'm using this 2 package.mk to get touchscreen addon + Estouchy theme in image.


    I will ask if LibreELEC could have Estouchy theme as addon.


    Update: There is not much intention in LE to ship Estouchy addon. I will make it from time to time.

    Done giving support here because of last events.

    Edited once, last by vpeter ().

  • I'm sorry, I know that is a noob question: but where to put these two package.mk files, so that they will get cought by the building-process?


    Thank you!

  • create 2 folders in packages and put package.mk in them. Then add touchscreen-image in linux/package.mk under PKG_DEPENDS_TARGET.

    Done giving support here because of last events.

  • One step further, but now:


    BUILD touchscreen-image (target)
    cp: cannot stat '/home/username/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/addons/touchscreen/service.touchscreen': No such file or directory
    Makefile:12: die Regel für Ziel „image“ scheiterte
    make: *** [image] Fehler 1

  • Run

    Code
    1. PROJECT=... ./scripts/clean touchscreen-image
    2. PROJECT=... ./scripts/clean touchscreen
    3. PROJECT=... make image 2>&1 | tee log_file


    and put log_file somewhere to see what was build.
    And for which project are you building? Supported projects for touchscreen addon are Generic, RPi, RPi2 and imx6 defined in PKG_ADDON_PROJECTS packages/addons/service/touchscreen/package.mk.

    Done giving support here because of last events.

  • Maybe linux package is to early to use. I have all extra packages used in OEM. Remove both packages you copied and unpack this in packages folder. Then build image and at the end you should see

    Code
    1. INSTALL    oem (target)
    2.     INSTALL    RPi2 (target)


    Code
    1. PROJECT=RPi2 ARCH=arm ./scripts/clean touchscreen-image
    2. PROJECT=RPi2 ARCH=arm ./scripts/clean touchscreen
    3. PROJECT=RPi2 ARCH=arm OEM=yes make image


    Sadly we don't have mechanism to just putting packages in some predefined folder and would be automatically picked for building (I tried with this idea but was not accepted).

    Done giving support here because of last events.


  • Can anyone share latest LE 7.90.x build which contains touchscreen support?


    Just install latest LE 7.90.x build and install touchscreen addon from repository. And then configure it as always before.

    Done giving support here because of last events.


  • Just install latest LE 7.90.x build and install touchscreen addon from repository. And then configure it as always before.


    vpeter :
    I have intergrated RPi2 (LE Milhouse build newest verrsion) connect with Head Unit (HU) on my car via HDMI. My HU is touch screen support Mirror link, CarPlay.
    So can I using your Estouchy skin in this case ?
    Thank you.