Kodi Community Forum

Full Version: LIRC_RPI on Raspberry Pi 2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello, i have one major problem with my new rpi2. I cant get the lirc_rpi-module loaded to hook up my tsop to the gpio-pins and use it with lircd.
Didt anything change? Is there a hint what i could do to get it working?
Do you use OSMC? If so, report it here: https://discourse.osmc.tv
I believe there are some issues with lircd at the moment.
Im not really sure what osmc is?!?
The site is unknown to me Undecided
I use openelec and the module seems to be there but is not loading. The Testbuilds dont get it working too.
Manual loading is not working..
What OS are you running?
Openelec..
I think openelec is missing some overays. Try adding these:
https://github.com/raspberrypi/firmware/...t/overlays

(or at least the lirc-rpi one)

and adding to config.txt
dtoverlay=lirc-rpi

See here for more info.
But the whole Openelec-System is readonly. so it wouldnt be possible to add those file without recompiling or re-squashing the Systempartition right?
Put the SD card in your PC, and look for the overlays folder in the root of the FAT partition. If it is there and contains lirc-rpi-overlay.dtb then you are good to go. Just add:

dtoverlay=lirc-rpi

to your config.txt.

You can add parameters after the overlay name, like this:

dtoverlay=lirc-rpi,gpio_out_pin=17,gpio_in_pin=18,gpio_in_pull=down

Those are the default parameter values, so change them as necessary.

You can find more details in the README file in the overlays folder.
Very big thanks. Adding dtoverlay=lirc-rpi to config.txt did the trick with ALL releases. The Openelec-Stable for the Pi has the overlays too so only adding the line to config.txt works.
Hi
I've been using Ir remote with tsop via gpio by adding Lircd.con to the sys config folder openelec 5.01 Rpi B+
Now I have Rpi 2 with clean install of openelec 5.02 I can no longer get the remote to work.
struggling with this for past few days now with no success.

overlays folder has lirc-rpi-overlay.dtb
I have added dtoverlay=lirc-rpi to config.txt

Just added dtoverlay=lirc without hash to an empty line using note pad,
is this correct ? as not too familiar with editing config.txt.
Do I need to add any parameters ?
Shouldn't need any extra parameters.

On the Pi2, run "vcdbg log msg 2>&1 | pastebinit" followed by "dmesg | pastebinit" and then paste the urls to this thread.
Ok so after OE update to 5.03 last night Its now working again !

worth a mention :
My
OE 5.01 had empty Overlays folder, adding lirc-rpi-overlay.dtb and dtoverlay=lirc-rpi to config.txt didn't work.

OE 5.02 had Overlays folder with lirc-rpi-overlay.dtb adding dtoverlay=lirc-rpi to config.txt didn't work.

OE 5.03 had Overlays folder with lirc-rpi-overlay.dtb adding dtoverlay=lirc-rpi to config.txt did work !

Its good to know it wasn't me doing something wrong.
Thanks guys for sharing & Thanks Openelec for Update !
Spoke too soon Sad
Just turned it on and Lirc not working.
dont understand as nothing has changed ?
Hi Milhouse

Thanks for your help.
Have posted URLs as suggested

http://sprunge.us/bFcc
http://sprunge.us/aJLS
I've worked out whats happening but cant explain why.
If I plug the ethernet cable in the remote works Huh
Remove it and remote stops working.

I have a usb dongle and 32gb usb flash drive attatched, the above still applies if these are removed.
Pages: 1 2