Latest LQ Deal: Linux Power User Bundle
Go Back > Blogs > serafean
User Name


Rate this Entry

Lirc & xbmc time

Posted 09-21-2011 at 12:34 PM by serafean
Tags htpc, imon, lirc, xbmc

The Enna media center project stagnating, and the KDE Plasma Media center being developed in GSoC bursts, I got back to using xbmc. xbmc supports lirc, and having an imon panel with a remote, I finally decided to set it up.

The key here was understanding that the iMon device is now supported in the kernel using the new infrastructure. What this did is make the iMon device send normal input events. (I think this is mostly because it does the IR decoding directly in hardware). What this means is that for basic functionality the X evdev driver is enough (arrow keys, enter, backspace etc...). For advanced keys, The only way I have found to use them is Lirc.

First I copied the /usr/share/lirc/remotes/devinput/ file to /etc/lirc/lirc.conf.

Next, lirc must be started with the devinput driver binding the correct device :
lircd -H devinput -d /dev/input/by-id/usb-15c2_0039-event-if00
where usb-15c2_0039-event-if00 is the path of the device.

Now I could test my remote using the irw command. It Worked. Next up, configuring xbmc.

It worked out of the box... To customize a bit, modification of the ~/.xbmc/userdata/keymaps/remote.xml and ~/.xbmc/userdata/Lircmap.xml was necessary. I will not develop this further here, since it is quite well documented on the xbmc wiki.
Views 1363 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 10:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration