Can't get GPIO IR Remote Working on RPi3

  • Hi,

    I can't get LE v 7.0.0 working with a GPIO IR Remote on a RPi3. I put:

    Code
    device_tree_overlay=lirc-rpi


    in config.txt and when I dmesg I don't receive anything in regards to lirc_rpi.

    However when I first install OE and insert above in config.txt and then upgrade to LE, it works. When I dmesg I get:

    Code
    5.437279] lirc_rpi: auto-detected active low receiver on GPIO pin 18
    [    5.437449] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
    [    5.437453] lirc_rpi: driver registered!
    [    5.575090] input: lircd as /devices/virtual/input/input0

    Is there something missing in LE v7.0.0 that OE has? Thanks,


  • Hi,

    I can't get LE v 7.0.0 working with a GPIO IR Remote on a RPi3. I put:

    Code
    device_tree_overlay=lirc-rpi


    in config.txt and when I dmesg I don't receive anything in regards to lirc_rpi.

    However when I first install OE and insert above in config.txt and then upgrade to LE, it works. When I dmesg I get:

    Code
    5.437279] lirc_rpi: auto-detected active low receiver on GPIO pin 18
    [    5.437449] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
    [    5.437453] lirc_rpi: driver registered!
    [    5.575090] input: lircd as /devices/virtual/input/input0

    Is there something missing in LE v7.0.0 that OE has? Thanks,

    I just tried this on 7.0.1 and it worked without any further configuration. I wrote a post on what I did here XBMCNut: How to enable a GPIO IR Receiver on LibreELEC 7.x.x

    Edited once, last by xbmcnut (July 6, 2016 at 5:24 AM).

  • It's not working for me either.
    LE seems to reconize the receiver perfectly by only adding in device_tree_overlay=lirc-rpi in config.txt.
    But it's not receiving any signal by irw using a standard MCE remote from my Asrock HT330 (asrock_ion330ht_blu_ray_4.jpg)

    Using LE 7.0.2 on RPI 3.

    Any help?

  • Mine just seems to work without any configuration, sorry. Results from 'irw' below. Could it be your actual sensor?


    [hr]
    Here's my GPIO Receiver.

    Edited once, last by xbmcnut (July 6, 2016 at 10:25 AM).

  • Thanks xbmcnut,

    My IR sensor is fine. I just put it back in Astock HTPC and still working.
    But I also ordered a TSOP4838 sensor so will try tommorrow with that one too.


  • Thanks xbmcnut,

    My IR sensor is fine. I just put it back in Astock HTPC and still working.
    But I also ordered a TSOP4838 sensor so will try tommorrow with that one too.

    What type of IR receiver are you using now?


  • What type of IR receiver are you using now?

    I don't know the exact type of the sensor. It was recognized as Tenx Technologies Inc.
    As far as I know It was using the Nuvoton MCE driver in the past when it was built-in the Asrock.
    Hopefully receive my order tomorrow so I can test with the TSOP4838.

  • Strange, I just can't get it working.

    I have new IR sensors now and I'm fully sure this is remote is working fine. (it still works on my asrock).
    I re-imaged the SD Card with a clean LibreElec 7.0.2 and only put device_tree_overlay=lirc-rpi in end of config.txt.
    Boots up but remote ain't working, neither irw is picking up something.

    Any ideas?


    Edited once, last by BiTRiP (July 8, 2016 at 3:17 PM).


  • Don't the component strips on your breadboard go across the short way?

    Ah yes, that was pretty lame. It's the first time I use a breadboard. Thanks

    Unfortunally it's still not working when putting it the short way.


    Code
    LibreELEC:~ # dmesg | grep lirc
    [    4.713545] lirc_dev: IR Remote Control driver registered, major 244 
    [    4.762167] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
    [    5.653958] lirc_rpi: auto-detected active high receiver on GPIO pin 18
    [    5.654135] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
    [    5.654140] lirc_rpi: driver registered!
    [    5.896071] input: lircd as /devices/virtual/input/input0

    Edited once, last by BiTRiP (July 8, 2016 at 4:54 PM).

  • Ok, got a little further but it also got stranger.

    It turns out that my Samsung TV is disabling this IR somehow, even when I disable AnyNet (CEC) on TV.
    When I plug my RPi on my pc monitor (also samsung) with the same HDMI cable the IR is just working fine!!

    I disabled CEC in Pheriphials settings in Kodi, disabled Anynet on TV but it ain't just work with this TV.
    What has that to do with the GPIO IR? Except from CEC.

    Thanks,
    BiTRiP

    Edited once, last by BiTRiP (July 10, 2016 at 12:48 PM).

  • No, because my gpio IR is just working fine when I hook my monitor onto it.
    It's just not working when my TV is connected to it.

    And your TV might cause noise on the 5V line, so try the 3.3V line like suggested in the post above (or vice versa). You might also need a better power source in that case.

    Edited once, last by Grimson (July 10, 2016 at 1:52 PM).

  • I tried on both 5V and 3.3V. but no luck with on this TV.
    The powersupply is bought together with the RPi and is a 2A adapter.

    Can try another one but I doubt if that will work. I'll let you know ;)

  • I already disabled CEC on TV and in LibreELEC under Settings/System/Input devices/Periphials/CEC.
    It's not possible to totally disable CEC on a RPi.