Archive:Configure your Cyberlink Media Centre Remote on Linux: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Rumburake
(Created page with '__TOC__ ==Introduction== Cyberlink Media Centre Remote Control is some £5 USB remote control. It looks like this: File:CyberlinkRemote.jpg‎ On Linux (>=2.6.29)it is dete…')
 
>Rumburake
Line 18: Line 18:


==Lirc setup==
==Lirc setup==
* Install Lirc.
<pre>sudo apt-get install lirc</pre>
* You will be asked which remote to setup. You can choose "hauppauge nova-t 500" and as device select whatever you get from this command:
<pre>`cat /proc/bus/input/devices | grep -A4 "TopSeed" | grep event | tail -n1 | sed 's/.*\(event[0-9]\+\).*/\/dev\/input\/\1/'`</pre>
This command is selecting the second input device (the one with mouse and keyboard) created by the kernel driver when you insert the USB receiver. It will look similar to:
<pre>/dev/input/event14</pre>

Revision as of 21:44, 23 January 2011

Introduction

Cyberlink Media Centre Remote Control is some £5 USB remote control. It looks like this: CyberlinkRemote.jpg

On Linux (>=2.6.29)it is detected as some kind of keyboard/mouse combo. The device mostly generates keyboard presses, like "0", "1", "2", "XF86AudioPlay", "Enter", "Delete" and so on. But unfortunately not all buttons will work, like "Subtitle" or the 4 coloured buttons (DVD/Music/Pictures/Videos) - which will impair your experience with XBMC.

The solution here involves:

  • Setting up Lirc and the remote as a devinput Lirc device
  • Setting up a Lircmap.xml file

Credits go to MrLux's forum post [1]. I added a few correction as:

  • Lirc config has a mistake because event id doesn't always match device id
  • probably becose the post is kind of old Lircmap.xml was not complete

The config files here will get your remote going on XBMC 10.00 on Ubuntu Maveric 10.10.

Lirc setup

  • Install Lirc.
sudo apt-get install lirc
  • You will be asked which remote to setup. You can choose "hauppauge nova-t 500" and as device select whatever you get from this command:
`cat /proc/bus/input/devices | grep -A4 "TopSeed" | grep event | tail -n1 | sed 's/.*\(event[0-9]\+\).*/\/dev\/input\/\1/'`

This command is selecting the second input device (the one with mouse and keyboard) created by the kernel driver when you insert the USB receiver. It will look similar to:

/dev/input/event14