IR Remote on Libreelec

  • Im running a RPI2, booting with berryboot into Libreelec. I have an ir reciever hooked up to +3.3V, Gnd and GPIO pin 18. However, I can not get lirc to work and detect my remote at all. I hooked up my oscilloscope and measured the pin on the IR receiver, so I know it is reacting to the button presses from the remote. But the remote produce nothing when running irw.

    Some additional info;

    config.txt:
    disable_overscan=1
    start_x=1
    gpu_mem=128
    max_usb_current=1

    # Enable on-board audio
    dtparam=audio=on

    # Enable I2C Bus
    dtparam=i2c_arm=on,spi=on

    #Enable IR Sensor
    dtoverlay=lirc-rpi,gpio_in_pin=18,gpio_out_pin=7

    #Enable Activity Led on GPIO
    dtparam=act_led_gpio=22

    #Enable Power Led on GPIO
    dtparam=pwr_led_gpio=27,pwr_led_trigger=heartbeat

    /etc/modules-load.d/rasberrypi.config
    i2c-bcm2708
    i2c-dev
    lirc-dev
    lirc-rpi

    LibreELEC:~/.config/modules-load.d # lsmod | grep lirc
    lirc_dev 7858 0
    rc_core 15976 1 lirc_dev

    LibreELEC:~/.config/modules-load.d # systemctl | grep fail
    ● systemd-modules-load.service loaded failed failed Load Kernel Modules

    dmesg | grep lirc output:
    LibreELEC:~ # dmesg | grep lirc
    [ 18.876620] lirc_dev: IR Remote Control driver registered, major 243
    [ 18.888300] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
    [ 18.890430] lirc_rpi: gpio chip not found!
    [ 22.771208] input: eventlircd as /devices/virtual/input/input4