You are not logged in.

#1 2013-10-29 02:44:20

slinkygn
Member
Registered: 2009-05-03
Posts: 15

XBMC no longer recognizes IR commands

Ever have one of those problems where you just *know* you're gonna feel stupid at the end?

So I pulled a pacman -Syu just a week or so ago, after not having done so for about a month, on my XBMC box.  The update didn't upgrade XBMC or lirc -- and yet afterward, XBMC stopped recognizing commands from my remote.  lirc seems to be fine; irw returns commands properly and everything.  My Lircmap.xml file didn't change, and everything seemed to map correctly within the file -- though, after triple-checking it and still not understanding why XBMC refused to recognize it, I went ahead and recreated it anyway, just to make sure.  I'm honestly not sure where to continue troubleshooting from here.  Any advice, folks?

Offline

#2 2013-10-29 16:58:08

slinkygn
Member
Registered: 2009-05-03
Posts: 15

Re: XBMC no longer recognizes IR commands

OK, update:
turns out that if I use RC-6:

echo rc-6 > /sys/class/rc/rc0/protocols

Then XBMC recognizes some basic keypresses, but it ignores the Lircmap.xml file (meaning most of my keys don't work, outside of directionals).  ir-keytable -t also works.  irw does not, unsurprisingly.

If I force LIRC:

echo lirc > /sys/class/rc/rc0/protocols

Then irw works fine, but ir-keytable -t no longer does and XBMC doesn't either.

So it could be XBMC, or it could be that lirc used to create events in /dev/input/event* and no longer does.

Offline

#3 2013-10-30 00:14:55

ontin000
Member
From: Carrollton, VA
Registered: 2010-04-06
Posts: 4

Re: XBMC no longer recognizes IR commands

I have the same issue, my remote no longer works with xbmc.  I also don't have a /sys/class/rc folder, either.  Not sure if I used to or not.  Pretty frustrating experience, altogether.

Offline

#4 2013-11-03 16:55:09

ontin000
Member
From: Carrollton, VA
Registered: 2010-04-06
Posts: 4

Re: XBMC no longer recognizes IR commands

I figured out my issue.  Turns out my system was no longer creating a /dev/lircd.  I had to edit my lirc.service file to create a symlink to /var/run/lirc/lircd, and obviously reload the daemon and xbmc.  Everything is back to normal now.  Hope this information is helpful.  I'll post the changes to lirc.service below.

ExecStartPre=/usr/sbin/ln -s /var/run/lirc/lircd /dev/lircd
ExecStart=/usr/sbin/lircd --driver=default --device=/dev/lirc0 
ExecStop=/usr/sbin/rm /dev/lircd

Offline

#5 2013-11-08 21:10:24

denn
Member
From: Russia
Registered: 2012-10-24
Posts: 5

Re: XBMC no longer recognizes IR commands

lirc-utils has dropped support for /dev/lircd socket link starting from version 1:0.9.0-63. Bug filed for xbmc to switch to /var/run/lirc/lircd by default: https://bugs.archlinux.org/task/37682

Offline

#6 2013-11-19 19:09:38

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: XBMC no longer recognizes IR commands

Thank you so much! You made my day! Great :3


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

Board footer

Powered by FluxBB