Lirc not working in XBMC 10
#1
At the moment I cannot figure out how to get XBMC to recognize my remote control. Lirc has been working fine for years here (using a USB IR receiver + Philips MCE remote), but with the upgrade to XBMC it has stopped working.

My situation:

1) irw -> working, gives the expected output
2) My remote works in other programs (ircat works too with those configs)
3) XBMC worked fine before upgrade to XBMC 10

I've looked on the forums, and read the wiki, but I cannot find any (new) information on how to configure LIRC for XBMC 10.

I'm running Debian.

The ~/.xbmc/userdata/Lircmap.xml looks fine (and is also unchanged).

irw gives output like:

000000037ff07be1 00 Up mceusb
000000037ff07be1 00 Up mceusb
000000037ff07be1 00 Up mceusb
000000037ff07be0 00 Down mceusb
000000037ff07be0 00 Down mceusb

Anybody able to help me diagnose this problem?
Thanks!
Reply
#2
Check the location of the lircd socket, the default location has changed in some recent release of lirc.
Reply
#3
Solved it now, although I do think XBMC's behaviour is odd.

I had to configure /dev/lircd as well (using --output parameter for lirc).

I was running xbmc with option "-l /dev/lirc0", but it would refuse to use lirc. It claims the default is "/dev/lircd" which I didn't have at the time, so I overrode that to use /dev/lirc0.

For some reason XBMC seems to insist on using /dev/lircd and won't run initialize lirc properly without it.

I suppose it could be the packaging in Debian that is causing a problem. It cannot seem to detect my Linux properly, see below:

21:28:42 T:3004544848 M:2649866240 WARNING: Unable to determine Linux distribution
21:28:42 T:3004544848 M:2649866240 NOTICE: Starting XBMC, Platform: Linux (Unknown, 2.6.35.5 i686). Built on Dec 21 2010 (SVN:Unknown)

And this on the console:
Traceback (most recent call last):
File "/usr/bin/lsb_release", line 317, in <module>
main()
File "/usr/bin/lsb_release", line 281, in main
distinfo = get_distro_information()
File "/usr/bin/lsb_release", line 244, in get_distro_information
distinfo = guess_debian_release()
File "/usr/bin/lsb_release", line 203, in guess_debian_release
rinfo = guess_release_from_apt()
File "/usr/bin/lsb_release", line 148, in guess_release_from_apt
releases = parse_apt_policy()
File "/usr/bin/lsb_release", line 132, in parse_apt_policy
policy = commands.getoutput('apt-cache policy 2>/dev/null')
File "/usr/lib/python2.5/commands.py", line 44, in getoutput
return getstatusoutput(cmd)[1]
File "/usr/lib/python2.5/commands.py", line 55, in getstatusoutput
sts = pipe.close()
IOError: [Errno 10] No child processes
Reply

Logout Mark Read Team Forum Stats Members Help
Lirc not working in XBMC 100