Posts by JimmySmith

    You need to enable debuging, component debugging and then select CEC related component. That could be done within Kodi menus (maybe you will need switch to the expert mode, and then you will see it somewhere in menu).

    Log file/Advanced - Official Kodi Wiki

    I would bet, that by default those wouldnt be enabled (ie. when you reset to factory settings).

    After appereance of a problem, you can disable it, and send logs here. That way some more experience users can examine those.

    CEC works fine on RPI3 here.

    Well, it depends also on TV type. From my experience, Samsung and Panasonic works just fine, but LG has some glitches - must be always manually selected from TV Menu (annoying), and also I had some troubles in some libCEC versions. Fortunatelly, 7.0.1 bundled libcec otherwise works.

    Maybe logs with enabling debug on CEC could be usefull. From your post:

    Libreelec with kodi 16.1 -> CEC (marked als pulse) doens't work with my RPI 3 and sharp tv
    Opeelec with kodi 16.1 -> CEC (marked als pulse) doens't work with my RPI 3 and sharp tv
    Opeelec with kodi 15.1 -> CEC (marked a differente CEC adaptor) works with my RPI3 and sharp TV. And also work with my RPI 1

    i would guess, that you are dependant to specific libCEC version (libCEC is updated continuously), so it will better try to catch something in logs, post bug report and hopefully wait for fix, than be stucked on old libCEC and must compile all new LibreElec version with it.

    5.0.8 uses 2.2.0 libcec (+ imx6 patch)
    7.0.2 uses 3.0.1 libcec (and some patches in addtion imx6 [email protected])

    Personally I cant comment 7.0.2, as it wasnt "deployed to production" yet.

    Hi vpeter, it is need to be worry about 7.0.2 compatibility? Related to Rpi, Linux kernel was updated to 4.4.13; not sure if thats related to mysql, but better ask before update, when you running library there on multiple environments

    Edit: I just put it right here, to not mess your thread more: Thank you! Compiling 7.0.2 right now.

    I copied nmap-services from into \storage\.kodi\addons\\bin\ (to test, if format of /etc/services isnt the problem)

    Starting Nmap 7.11 ( ) at 2016-06-28 06:09 CEST
    Segmentation fault (core dumped)

    So it is something else. So far I didnt figure out, how to examine core dump, but only thing which comes to my mind is SSL version - I noticed SSL libraries change in ELEC recently, and also I remember, that before year or such nmap works within OE.

    It will be available shortly in the network-tools add-on

    I tried it today, and I think its somehow broken ("Network Tools" version="7.0.100"):

    nmap -sT -p80 XX.XX.XXX.XXX
    Starting Nmap 7.11 ( ) at 2016-06-18 10:25 CEST
    Unable to find nmap-services!  Resorting to /etc/services
    Segmentation fault (core dumped)


    I would like to ask you guys, does anyone using Pi1 as client as video streaming client?

    I have a few years back Rpi1, and as far as I remember, I think that it was capable to play 720p x264 content from USB disc quite without problem - after buying VC-1 license.

    My idea is connect Rpi and via LAN get HD 720p x264 content from server. Does have Rpi1 enough performance to play those videos via LAN? I already using Rpi2 (without VC1) in my home and there is no problem obviously. But thinking about cheaper possibility, as my parents will move to the old house, and there will be more rooms (TVs) to connect in new infrastructure.

    Any tips on settings to tweak to optimise SQL?

    Did you mean for Kodi? If yes, I using

    query_cache_type        = 1
    query_cache_size        = 5M
    default-storage-engine  = innodb

    And it works pretty well for me (not big Library, two Pi's clients). Make sure that your Videos DB are innodb also (you can create it with default-storage-engine, or you can alter existing one).

    I modified also a few of other parameters (not sure which one, some of them are setuped already from vpeters template), not sure if it havinf much influence, but innodb and query cache are confirmed along Kodi forums..

    I can confirm, one question: in last few days before that happen, didnt you seen rainbow square? Watch out USB A -> USB micro cables, they can ruin a fair voltage from power adapter also..

    Recently I have experience with newly purchased Rpi2 and LE7.0 -> 7.1. I use USB A cable connected to universal power source, and rainbows shows almost always (4A, also 3.5A source). On the other Pi2's which I have I use 2A, 2.5A without problem. Rainbow dissappears after using power adapter without USB A connector, just AC --> micro USB. But my point is, even when LE 7 make it start after check/fix, I cant update (no SYSTEM and Kernel in tar!).

    Solution in my case was simple, filesystemcheck&repair doesnt work permanently. So I copy Storage, format partition and copy back. Then Update and LE start without problems. Just hoping that this was the case of power undervoltage, and nothing else (other 2 Pi's updated without problem).

    To avoid "the death of a thousand cuts" we have a long-standing history of avoiding server features in the distro. Sure it would only be a few extra KB to add support for OpenVPN server, but then we'd have to go along with adding NFS server, and a heap of other stuff too "because you added that server thing for those folks, why not my request!?" ..and before you know it we're trying to match general purpose distro's like Ubuntu, which has never been an objective.

    Our concession to appease the "I want my LE to do everything" user is docker support. This allows us to support one thing only (docker) but that one thing allows users to independently raid the docker candy store for containers that provide whatever app they want to run.

    So if you desperately want an OpenVPN server go find a docker container with OpenVPN server. If you hold breath wanting or waiting for it to be added to our core OS you're in for a long wait.

    I understand and agree with your point.

    On the other hand, reasons mentioned in escalade post also makes sense to me. I understand you dont want to bring difficulties and problems in future. Decision what include and what not isnt easy, and I like that ELEC is minimalistic and fast, with modification posibilities as benefit. But when you already have the binary included..

    Similiar situation is with vpeter's LAMP addon. I agree that LAMP is little bit overkill to "just Kodi as HTPC idea" (although very usefull and god bless you vpeter ), but I totally can imagine only Mysql plugin(with querry cache and innodb by default because Kodi performance) with predefined user,rights and minimalistic my.cnf, which would be serve primarily as Kodi Library purposes. If you think about LibreELEC as HTPC, considering IOT and number of devices in Home nowadays, it makes totally sense to me - allow share Movie/TV Show library out of the box.

    P.S.: I also have OpenVPN on router, and vpeters LAMP (MySQL) works just amazing, just my two cents..

    Just for the case, that someone would have same idea to test it, just remove --disable-server isnt enough. It goes through compile without problems, but the same problem :)


    I tried to test OpenVPN Server on Rpi2 (without plugins, just using openvpn, included on LibreElec base - openvpn Server.ovpn). But I cant get it working. Am I doing something wrong, or openvpn isnt mentioned to used there as server? I tried clients both on mobile and windows, but it stuck when tried to recieve server configuration or something:
    PUSH: Received control message: 'PUSH_REQUEST'
    WARNING: Received bad push/pull message: PUSH_REQUEST



    Server log
    Wed May 18 19:24:38 2016 us=559366 OpenVPN 2.3.10 armv7ve-libreelec-linux-gnueab -

    Client log
    Wed May 18 19:25:05 2016 us=265135 netbios_node_type = 0 Wed May 18 19:25:05 -

    Try to check Screensaver and Power savings feature. I would bet on that ones, because I upgraded OE to LE on multiple Rpi2s and didnt experience problem. Although, I didnt use AVR... so maybe you would like to check CEC settings also (Input/Peries) - there are some settings, which allows turn on/off interconnected devices based on each other status.

    That would be nice. I personally using both SoftEther server/client a few years, and I can say I am happy user - its multi-protocol, so I am using softether protocol on win-clients, L2TP/IPsec and OpenVPN for android clients. So I think it worth considering