problems with inputlirc and imon remote
#1
Hi there,

I guess I'm simply to stupid to get that thing of remote working. Somewhere a small but important detail is missing in my efforts.

The facts:
OS: Gentoo 64bit
XBMC: xbmc-pvr-11.0_p57 (Opdenkamp PVR-version Eden)
Remote: iMON remote (15c2:0036)

Udev-Rules (/etc/udev/rules.d/99-remote.rules):
Code:
SUBSYSTEMS=="input",ATTRS{name}=="iMON Panel, Knob and Mouse(15c2:0036)",SYMLINK="input/irknob"
SUBSYSTEMS=="input",ATTRS{name}=="iMON Remote (15c2:0036)",SYMLINK="input/irremote"

Instead of lirc I switched to inputlirc (lirc seems to be getting obsolete). The softlink is set (/var/run/lirc/lircd -> /dev/lircd).

irw gives me for the buttons 1-4:
Code:
201 0 KEY_NUMERIC_1 irremote
202 0 KEY_NUMERIC_2 irremote
203 0 KEY_NUMERIC_3 irremote
204 0 KEY_NUMERIC_4 irremote

According to this tutorial I created the following files:

/home/xbmc/.xbmc/userdata/keymaps/Lircmap.xml:
Code:
<lircmap>
        <remote device="irremote">
                <one>KEY_NUMERIC_1</one>
                <two>KEY_NUMERIC_2</two>
                <three>KEY_NUMERIC_3</three>
                <four>KEY_NUMERIC_4</four>
                <five>KEY_NUMERIC_5</five>
                <six>KEY_NUMERIC_6</six>
                <seven>KEY_NUMERIC_7</seven>
                <eight>KEY_NUMERIC_8</eight>
                <nine>KEY_NUMERIC_9</nine>
                <zero>KEY_NUMERIC_0</zero>
        </remote>
</lircmap>

/home/xbmc/.xbmc/userdata/keymaps/remote.xml
Code:
<keymap>
        <global>
                <remote>
                        <zero>number0</zero>
                        <one>KEY_NUMERIC_1</one>
                        <two>number2</two>
                        <three>number3</three>
                        <four>number4</four>
                        <five>number5</five>
                        <six>number6</six>
                        <seven>number7</seven>
                        <eight>number8</eight>
                        <nine>number9</nine>
                </remote>
        </global>
        <Teletext>
                <remote>
                        <zero>number0</zero>
                        <one>number1</one>
                        <two>number2</two>
                        <three>number3</three>
                        <four>number4</four>
                        <five>number5</five>
                        <six>number6</six>
                        <seven>number7</seven>
                        <eight>number8</eight>
                        <nine>number9</nine>
                </remote>
        </Teletext>
</keymap>
I thought, the best way to check the numbers is to do it within the videotext of the tv-channels.

If I press one of those buttons, I can see in the logfile xbmc.log:
Code:
21:24:39 T:139957895522112   DEBUG: LIRC: Update - NEW at 138433:201 0 KEY_NUMERIC_1 irremote (KEY_NUMERIC_1)
But within the xbmc nothing happens. What's the missing step?
Reply
#2
Ok, I'll answer by myself:

Lircmap.xml has to be in /home/xbmc/.xbmc/userdata and not in the subfolder keymaps.
Reply

Logout Mark Read Team Forum Stats Members Help
problems with inputlirc and imon remote0