I want to use the GPIO Pins to controll a 433Hz transmitter on a pi 2 with openelec. It is possible to use ssh, but I am not able to install the software (Commands are in description: https://www.youtube.com/watch?v=ZOgJtNaJZ_4). The software is running perfectly on raspbian and maybe i can built it there and copy to openelec.

Because of lags in the commands of openelec, i cannot run the software, e.g. missing sudo. Any advice, how i can do this?

Edit: I cannot access the console on the pi, but ssh is possible.

  • 2
    It's massively more straightforward to do this running Kodi on Raspbian, rather than OpenELEC. There isn't that much performance difference between the two. If you don't absolutely, positively need it to boot that few seconds faster I would just re-image your Pi with Raspbian and start from there.
    – goobering
    May 1, 2016 at 13:01
  • Did you test Kodi on Raspbian? I had terrible performance, but maybe it was caused by other programms running
    – Motte001
    May 1, 2016 at 13:36
  • I've yet to have any serious issues with it on a pi 2.
    – goobering
    May 1, 2016 at 13:44
  • I think goobering's probably right, but I've used neither Kodi nor OpenELEC. Anyway, there must be a root user, the issue is accessing the account. Can you get a console? Preferably not inside the GUI, but by checking Ctrl-Alt-F1 through F6. They probably aren't there though, and if there's then no terminal app in the interface, the system really is black boxed and would require a lot of hacking to do this kind of thing with.
    – goldilocks
    May 1, 2016 at 15:18
  • OpenELEC is just another GNU/Linux distribution centred around Kodi. I wouldn't bet OpenELEC maintainers have disabled GPIO access from their Pi-dedicated release so GPIOs must probably be accessible. If your software can be converted into Python, that'd be your best option as Kodi extensions mostly use Python. Ultimately you can also run native executables from Python, too. And if my memory serves me well, Kodi runs as root on OpenELEC — allright, not the best but no need for sudo. Otherwise you still have the option to compile your custom flavour using their development environment.
    – user29510
    May 1, 2016 at 16:51

1 Answer 1


Better Solution: OSMC. It's nearly the same like OpenELEC, but it has more console programms

Solution: installing kodi on Raspbian. Don't forget to split memory between CPU and GPU

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.