Posts: 82
Joined: Mar 2013
Reputation:
0
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?
Posts: 82
Joined: Mar 2013
Reputation:
0
But the whole Openelec-System is readonly. so it wouldnt be possible to add those file without recompiling or re-squashing the Systempartition right?
Posts: 49
Joined: Dec 2014
Reputation:
2
PhilE
Junior Member
Posts: 49
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.
Posts: 82
Joined: Mar 2013
Reputation:
0
2015-02-05, 11:36
(This post was last modified: 2015-02-05, 11:42 by PeaceMkr.)
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.
Posts: 16
Joined: Dec 2014
Reputation:
0
arm247
Junior Member
Posts: 16
2015-02-10, 16:06
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 ?
Posts: 17,855
Joined: Jan 2011
Reputation:
1,056
Milhouse
Retired Team-Kodi Member
Posts: 17,855
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.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 16
Joined: Dec 2014
Reputation:
0
arm247
Junior Member
Posts: 16
2015-02-11, 12:34
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 !