Posts by musaci

    Now i tryed mode2 with this result:

    Code
    LibreELEC:~ # systemctl stop system-lircd.slice
    LibreELEC:~ # mode2
    Warning: cannot open /etc/lirc/lirc_options.conf
    Warning: cannot open /etc/lirc/lirc_options.conf
    Using driver default on device /dev/lirc0
    Trying device: /dev/lirc0
    Using device: /dev/lirc0
    Warning: Running as root.

    pushed many buttons on every remote i have on me, but nothing happened.

    Might be a faulty IR sensor If i done it properly. (config file contains this lines:

    Code
    dtoverlay=hifiberry-digi
    
    dtoverlay=gpio-ir,gpio_pin4

    And this is ir-keytable output:

    Code
    LibreELEC:~ # ir-keytable
    Found /sys/class/rc/rc0/ (/dev/input/event1) with:
            Driver gpio-rc-recv, table rc-rc6-mce
            Supported protocols: unknown other lirc rc-5 rc-5-sz jvc sony nec sanyo mce-kbd rc-6 sharp xmp
            Enabled protocols: lirc
            Name: gpio_ir_recv
            bus: 25, vendor/product: 0001:0001, version: 0x0100
            Repeat delay = 500 ms, repeat period = 125 ms

    Hello Hias,

    Thx for reply. Still confused...

    Edited config.file , but how can I try mode2, while it is not supported by libreelec?

    Then i Try ir-keytable command and get the same output as Jimmysmith from the topic you linked.

    Not sure If i should add this to config: gpio_pull=1,rc-map-name=rc-rc6-mce or with rc-samsung like Jimmy did.

    But tried several protocols and stil no response.

    Actually I still dont understand, how could ir-keytable get any info from controller if im not pushing button, so the sensor gets no data and therefore ir-keytable cant read any protocol....

    And things about kernell stuff, thats a bit above my linux knowledge.

    Hello,

    Can somebody help me to solve my issue?

    I got Raspberry Pi 3 with installed hifiberry digi + and it works ok.

    Have problems with hdmi CEC to my projector and passthrough video signal through Onkyo HTX 22HDX, but that would be probably caused by lenght of hdmi cable,

    which is more than 12m and the older Benq projector with poor support for CEC. And that brings us to my real issue.

    I want to use universal remote to control all devices (projector, Onkyo speaker set and of course Raspberry pi with LibreElec).

    But Im unable to make it work with Libreelec. So far I bought IR sensor TSOP31236, connected it to hifiberry board on GPIOs according to datasheet. Used 3,3V, Ground and GPIO4.
    Set these lines to config file :

    dtoverlay=hifiberry-digi (for hifiberry, which works just fine)

    dtoverlay=lirc-rpi

    dtparam=gpio_in_pin=04

    Then i try to follow many guides to make the IR works, but without any succes. Tryed turn on lirc and use keymap editor addon to verify communication - no response. Tryied Irrecord to map buttons directly from remote, but irrecord doesnt work for me on Libreelec. Tryed add several conf files to configuration folder - no response.

    Im not experienced in linux, but Im able to look up for some guides and forums but nothing helped me.

    Can you please give me some advice, how to make this work or how to find a source of a problem (sensor, Libreelec, config files, ...)

    Now Im going to install debian on anothe sd card to verify if the sensor and lirc is working...

    Thx for any answer.