[LIVE] Harmony One Configuration
#31
These are the steps SaM said he took...

Quote:First, on the harmony one I changed the delay settings to a 100 ms inter key delay (if you haven’t changed it already it might be where your problem is). In my case I still had the double key press due to both modules being loaded.

In any case, if it can be useful to you or anybody else (credit to whoever found this tip first, I only completed with a few things found with a few searches) :

After installing xbmcfreak maverick v3.
1- Blacklist the lirc_mceusb module so that only the mceusb module will be used :
#sudo sh -c ‘echo blacklist lirc_mseusb >> /etc/modprobe.d/blacklist.conf’

2- Update initramfs
#sudo update-initramfs -u -k all

3- Install input-utils
#sudo apt-get update && sudo apt-get install input-utils

4- Get the device corresponding to your receiver (should be /dev/input/eventX)
#sudo lsinput

5- Get the Vendor and Product id for your device (will be used for the following udev rule)
#sudo cat /proc/bus/input/devices

6- Create a udev rule so that the receiver will always be on a fixed device (I did this because I had a problem with my receiver and a keyboard sometimes switching devices after a reboot). I create a /dev/input/remote “fixed” device but you can use whatever you want. The values 147a and e03e I used are for my IR receiver, use the ones you found in the previous step
#sudo sh -c ‘echo KERNEL==”event*”,ATTRS{idVendor}==”147a”,ATTRS{idProduct}==”e03e”,SYMLINK=”input/remote” >> /etc/udev/rules.d/10-local.rules’

7- reboot or unplug and plug again your IR receiver and verify that /dev/input/remote (or whatever you used) was created properly

8- Reconfigure lirc. On the first question (remote control configuration) select “Linux input layer (/dev/input/eventX)”. On the IR tranmitter question, that depends on your configuration. When it asks for the Custom event interface for your dev/input device, choose /dev/input/remote (the device created at step 6).
#sudo dpkg-reconfigure lirc

9- Launch irw and press buttons on your remote, you should see the key press detected.
#irw
At that point your remote should work, but it might need some tweaking to arrange the buttons at your liking or if a few buttons don’t work immediately in xbmc.
If it’s the case continue reading.

10- Still with irw launched, press the buttons on your remote and note their names. irw output should be something like “000000008001006c 00 KEY_DOWN devinput” with KEY_DOWN being the key name in that example.
#irw

11- Modify /usr/share/xbmc/system/Lircmap.xml. A more proper way to do this is to create a custom Lircmap.xml in ~/.xbmc/userdata/ for future updates.
Modify the section by following instructions on xbmc wiki with the key names you get with irw : http://wiki.xbmc.org/?title=Lirc_and_Lircmap.xml
My custom Lircmap.xml (specific to my receiver and my remote configuration, so only use it as an example of how to modify it):

cx23885_remote
devinput
KEY_LEFT
KEY_RIGHT
KEY_UP
KEY_DOWN
KEY_ENTER
KEY_EXIT
KEY_EPG
KEY_INFO
KEY_DVD
KEY_PLAY
KEY_PAUSE
KEY_STOP
KEY_FASTFORWARD
KEY_REWIND
KEY_CHANNELUP
KEY_CHANNELDOWN
KEY_TITLE
KEY_LANGUAGE
KEY_POWER
KEY_NUMERIC_1
KEY_NUMERIC_2
KEY_NUMERIC_3
KEY_NUMERIC_4
KEY_NUMERIC_5
KEY_NUMERIC_6
KEY_NUMERIC_7
KEY_NUMERIC_8
KEY_NUMERIC_9
KEY_NUMERIC_0
KEY_RED
KEY_GREEN
KEY_YELLOW
KEY_BLUE
KEY_ZOOM
KEY_NUMERIC_POUND
KEY_NUMERIC_STAR

You may also want to create your own remote.xml in ~/.xbmc/userdata/keymaps/ by using /usr/share/xbmc/system/keymaps/remote.xml as a reference (see xbmc wiki http://wiki.xbmc.org/index.php?title=Keymap.xml) to adjust the key mapping in xbmc according to your modifications in Lircmap.xml (Not necessary but you can tweak a few things with it).
Reply


Messages In This Thread
[No subject] - by bmcclure937 - 2011-02-14, 01:49
[No subject] - by hansh - 2011-02-14, 02:56
[No subject] - by kaiser423 - 2011-02-14, 07:55
[No subject] - by bmcclure937 - 2011-02-14, 14:20
[No subject] - by kaiser423 - 2011-02-14, 15:23
[No subject] - by bmcclure937 - 2011-02-14, 15:31
[No subject] - by bmcclure937 - 2011-02-15, 07:49
[No subject] - by bmcclure937 - 2011-02-15, 07:50
[No subject] - by poofyhairguy - 2011-02-15, 23:14
[No subject] - by bmcclure937 - 2011-02-15, 23:17
[No subject] - by bmcclure937 - 2011-02-15, 23:49
[No subject] - by poofyhairguy - 2011-02-16, 00:47
[No subject] - by bmcclure937 - 2011-02-16, 00:54
[No subject] - by poofyhairguy - 2011-02-16, 01:22
[No subject] - by bmcclure937 - 2011-02-16, 01:23
[No subject] - by poofyhairguy - 2011-02-16, 01:30
[No subject] - by bmcclure937 - 2011-02-16, 01:51
[No subject] - by poofyhairguy - 2011-02-16, 02:21
[No subject] - by bmcclure937 - 2011-02-16, 02:23
[No subject] - by poofyhairguy - 2011-02-16, 02:49
[No subject] - by poofyhairguy - 2011-02-16, 08:51
[No subject] - by bmcclure937 - 2011-02-16, 15:02
[No subject] - by Spaggi - 2011-02-16, 15:25
[No subject] - by BigO - 2011-02-16, 15:36
[No subject] - by bmcclure937 - 2011-02-16, 15:58
[No subject] - by poofyhairguy - 2011-02-17, 00:43
[No subject] - by bmcclure937 - 2011-02-17, 00:45
[No subject] - by bmcclure937 - 2011-02-17, 01:03
[No subject] - by bmcclure937 - 2011-02-17, 01:24
[No subject] - by bmcclure937 - 2011-02-17, 01:28
[No subject] - by bmcclure937 - 2011-02-17, 01:37
[No subject] - by bmcclure937 - 2011-02-17, 02:08
[No subject] - by bmcclure937 - 2011-02-17, 02:28
[No subject] - by poofyhairguy - 2011-02-17, 05:28
[No subject] - by bmcclure937 - 2011-02-17, 06:08
[No subject] - by bmcclure937 - 2011-02-17, 06:17
[No subject] - by poofyhairguy - 2011-02-17, 06:33
[No subject] - by bmcclure937 - 2011-02-17, 06:39
[No subject] - by bmcclure937 - 2011-02-17, 06:58
[No subject] - by poofyhairguy - 2011-02-17, 07:00
[No subject] - by bmcclure937 - 2011-02-17, 07:09
[No subject] - by bmcclure937 - 2011-02-18, 00:22
[No subject] - by bmcclure937 - 2011-02-21, 14:47
[No subject] - by Mickeyjuice - 2011-03-03, 07:23
[No subject] - by bmcclure937 - 2011-03-03, 07:58
Logout Mark Read Team Forum Stats Members Help
[LIVE] Harmony One Configuration1