Forum
Lirc doesn't work after reboot - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Remotes and CEC support (/forum-26.html)
+--- Thread: Lirc doesn't work after reboot (/thread-2494.html)



Lirc doesn't work after reboot - blokoko - 24th Sep, 2014 11:51 PM

Software
XBian version: 1.0 Beta 2

Problem description:

Hello everyone,

First, i'm french, sorry for my bad english.

It's been two weeks since I purchased an infrared receiver that I connected to my raspberry with a tutorial.

I configure my remote with "irrecord" function and test it with the "irw" function, everything works, the directional buttons configured by default normally respond, but after a reboot no response from xbmc, I have to re-run the command "sudo modprobe lirc_rpi" to be able to control xbmc. After much research I have absolutely no idea what to do.

Oh, and I can't seem to use the Lircmap.xml file, but we'll see later.

Thank you in advance for your help.


How to reproduce:


RE: Lirc doesn't work after reboot - blokoko - 25th Sep, 2014 05:27 AM

Nobody has an idea ?


RE: Lirc doesn't work after reboot - menakite - 25th Sep, 2014 09:24 AM

Add "lirc_rpi" to your /etc/modules. You'd need "sudo nano /etc/modules" to modify it.

With this change the module should auto-load just after boot.


RE: Lirc doesn't work after reboot - blokoko - 25th Sep, 2014 06:09 PM

Thank you for your answer, that was it, but it's too late, I found the answer on another forum yesterday. Wink

For the mapping, the problem came from differents sources:

First, I realized that xbian copy the files "hardware.conf" to "hardware.conf.xbian" and "lircd.conf" to "lircd.conf.xbian." It was necessary to simply replace the contents of these copies, by the original (your configuration of your remote).

Secondly, the "Lircmap.xml" file should not be placed in /home/xbian/.xbmc/userdata/keymaps/Lircmap.xml
but in /home/xbian/.xbmc/userdata/Lircmap.xml

And now everything works.