Posts by brownandi

    Hi vpeter, I use the following shortened (because of #133) Version of post #11.

    Can you please check, if I have shortened to much, because tslib ist not working anymore. And tslib plugin is not availabe in addons.

    Thank you!



    A) Preparing for Cross-Compiling:

    - Open a 'Terminal'

    Code
    git clone https://github.com/LibreELEC/LibreELEC.tv.git

    Now the source code files were copied to your home folder

    - Move into the source code directory

    Code
    [code]
    cd ~/LibreELEC.tv


    [/code]

    - Choose the version (Branch/Tag) of LibreELEC to Cross-Compile

    Code
    git checkout 7.95.1

    -> The possible versions of LibreELEC you can checkout are available on Github --> here
    I chose the latest stable version 7.95.1


    B) Cross-Compile a clean build to check possible errors:

    Code
    PROJECT=RPi2 ARCH=arm make image

    C) In this step we intergate the 'tslib' from vpeter into LibreELEC to get egalax touchscreen support:

    -> Open the file http://LibreELEC.tv/packages/linux/package.mk

    - Change the line:

    Code
    PKG_DEPENDS_TARGET="toolchain cpio:host kmod:host pciutils xz:host wireless-regdb keyutils"

    to

    Code
    PKG_DEPENDS_TARGET="toolchain cpio:host kmod:host pciutils xz:host wireless-regdb keyutils tslib"

    -> Safe the file and exit

    D) Changing kernel configuration (linux.arm.conf) to enable egalax touch support.

    - Open the file http://LibreELEC.tv/projects/RPi2/linux/linux.arm.conf
    - To enable egalax touchscreen support to your kernel you have to uncomment and set to yes the following lines:

    Code
    CONFIG_INPUT_TOUCHSCREEN=y
    CONFIG_TOUCHSCREEN_USB_COMPOSITE=y
    CONFIG_TOUCHSCREEN_USB_EGALAX=y
    CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y
    CONFIG_HID_MULTITOUCH=y

    -> Safe the file and exit


    E) Cross-Compiling LibreELEC for Raspberry PI 2/3 with tslib integration and egalax touchscreen support from kernel:

    - Go to LibreELEC.tv folder and delete the 'target' folder from the test building process before.
    - Open a 'Terminal'

    Code
    cd ~/LibreELEC.tv
    Code
    PROJECT=RPi2 ARCH=arm make image


    -> This second Cross-Compiling process should just take ca 10-15 minutes
    -> Now you can find your image with egalax touchscreen support in the target folder --> http://LibreELEC.tv/target

    Hi, tried to compile the new 07.90.009, but i get this failure:

    Error - multiple package folders:
    /home/user/http://LibreELEC.tv/packages/addons/addon-depends/tslib
    /home/user/http://LibreELEC.tv/packages/tslib

    Makefile:12: die Regel für Ziel „image“ scheiterte
    make: *** [image] Fehler 1

    Then I tried without step 4 in post #11. Then compiling works, but after updating my raspi, the touchscreen is not working any more.

    Any idea, what i'm doing wrong?

    Thank you!

    Hi vpeter,

    I just builded a new Version with the new Kodi beta an all the additional stuff needed for my touchscreen.
    Can I update the existing and fully configured version without loosing my touchscreen configuration?
    Or do I have to start from the beginning?

    A big thank you Grruhn and vpeter!!!

    I compiled the masterbranch with Kodi Krypton Alpha 3 and the tslib integration yesterday.
    I updated the addon after the first reboot as described in post #21.

    Everything works like a charm on my DELL touchscreen now. So, a big thank you!

    I also checked out the masterbranch of Estouchy and installed it in Kodi.
    Everything works fine but i can not restart or shutdown the raspi3 with this skin. The shutdown icon seems without function.

    But I'm up to 99,99% to perfection!