Can't install GPIO tools

  • Hello,

    I want to implement pwm fan control and status LEDs via python scripts, but I'm running into an issue with trying to install the RPi Tools add-on.

    In the stock supplied "LibreELEC Add-ons" repo, there's nothing with RPi, wiring, or GPIO at all. When I bring up the GitHub page, I can see that RPi.GPIO is listed in the directory (here).

    When I download the .zip and attempt to install within Kodi, I get the following error in the log:

    Code
    17:25:53.605 T:548179947520 ERROR: Failed to read 'zip://%2fstorage%2fdownloads%2fLibreELEC.tv-libreelec-8.2.zip/LibreELEC.tv-libreelec-8.2/addon.xml'

    Not really sure how to continue, as no one (according to my google searches) seems to have covered an issue like this. Any ideas?


    I'm on LibreELEC 8.2

  • Code
    wget http://addons.libreelec.tv/8.2/RPi2/arm/virtual.rpi-tools/virtual.rpi-tools-8.2.104.zip
    or
    wget http://addons.libreelec.tv/8.2/RPi/arm/virtual.rpi-tools/virtual.rpi-tools-8.2.104.zip

    I've no idea whether RPi (0/1) or RPi2 (2/3) will be binary compatible with an Odroid_C2, and most other SBC manufacturers lie through their arses about Pi compatibility for their boards (form-factor compatible but almost never GPIO compatible) but ^ those are the URLs for the add-on zips.

    If things work it's great. If things don't work, it's not our problem to solve :)

  • Little update:

    I've managed to successfully build a docker container utilizing ubuntu and have rpi-tools and all dependencies up and running.

    But I am unable to use the gpio utility due to an issue with the /proc/cpuinfo file.

    The file is missing crucial information for gpio to operate properly:

    Code
    Hardware    : ODROID-C2
    Revision    : 020c

    Now to figure out how to get that corrected...