28th May, 2020, 08:01 PM
Hi XBian community, I have been trying to set up my remote to work with kodi on xbian recently but I am facing problem after problem so I hope some of you will be able to help me with that.
So, lets start at the beggining:
I have RPi3B+, running on xbian: ( xbian@xbian ~ $ uname -a
Linux xbian 4.14.102+ #1 SMP PREEMPT Thu Feb 21 19:32:00 CET 2019 armv7l GNU/Linux )
With kodi 18.1 .
My remote is Windows media center remote, same as: https://images.app.goo.gl/MGKu2QPMzXbdv1ADA
I connected IR receiever to the GPIO pins and edited config.txt accordingly.
But then I had problems with irrecord throwing various problems so I fired up latest Raspbian.
Latest Raspbian has kaernel 4.19 and that changed something that makes mode2 output something differently and thus irrecord still doesnt work, so I had to apply a patch from RPi forum and after that patch irrecord worked ok, and irw recognized remote buttons correctly, so I copied recorded confing file from raspibian to Xbian.
But now there are following problems:
1. It seems that my lircd service isnt starting correctly because even if service is running, remote doesnt work, and irw halts with error "cannot connect" (not exact error message)
2. Even when lirc / lircd is stopped and not running kodi still reacts to some buttons on remote accordingly (arrows, key "enter" (not key "OK"), key play as play/pause toggle, and maybe one or two more.
3. when I run "lircd --driver=default --device=/dev/lirc0" Then remote and irw appears to work almost correctly with kodi with some exceptions: irw shows that most keys are recognized as "mceusb" config but I made my own config on raspbian, buttons from my config are recognized by irw but kodi doesnt react to them. Buttons recognized even with lirc NOT running like those arrow keys mentioned above, are with running "lircd --driver=default --device=/dev/lirc0" recognized like 2 presses for one press (like I press arrow down on remote, I get ONE entry in IRW but kodi shifts focus TWO items down.
4. I also have /home/xbian/.xbmc/userdata/Lircmap.xml, but it appears to have no effect. I used this article: http://wiki.xbian.org/doku.php/remotes
I can provide any other configuration files or other info on request, if it helps.
Thank you!
So, lets start at the beggining:
I have RPi3B+, running on xbian: ( xbian@xbian ~ $ uname -a
Linux xbian 4.14.102+ #1 SMP PREEMPT Thu Feb 21 19:32:00 CET 2019 armv7l GNU/Linux )
With kodi 18.1 .
My remote is Windows media center remote, same as: https://images.app.goo.gl/MGKu2QPMzXbdv1ADA
I connected IR receiever to the GPIO pins and edited config.txt accordingly.
But then I had problems with irrecord throwing various problems so I fired up latest Raspbian.
Latest Raspbian has kaernel 4.19 and that changed something that makes mode2 output something differently and thus irrecord still doesnt work, so I had to apply a patch from RPi forum and after that patch irrecord worked ok, and irw recognized remote buttons correctly, so I copied recorded confing file from raspibian to Xbian.
But now there are following problems:
1. It seems that my lircd service isnt starting correctly because even if service is running, remote doesnt work, and irw halts with error "cannot connect" (not exact error message)
2. Even when lirc / lircd is stopped and not running kodi still reacts to some buttons on remote accordingly (arrows, key "enter" (not key "OK"), key play as play/pause toggle, and maybe one or two more.
3. when I run "lircd --driver=default --device=/dev/lirc0" Then remote and irw appears to work almost correctly with kodi with some exceptions: irw shows that most keys are recognized as "mceusb" config but I made my own config on raspbian, buttons from my config are recognized by irw but kodi doesnt react to them. Buttons recognized even with lirc NOT running like those arrow keys mentioned above, are with running "lircd --driver=default --device=/dev/lirc0" recognized like 2 presses for one press (like I press arrow down on remote, I get ONE entry in IRW but kodi shifts focus TWO items down.
4. I also have /home/xbian/.xbmc/userdata/Lircmap.xml, but it appears to have no effect. I used this article: http://wiki.xbian.org/doku.php/remotes
I can provide any other configuration files or other info on request, if it helps.
Thank you!