LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > serafean
User Name
Password

Notices


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 :
Code:
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 1611 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 01:03 AM.

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