remote control issue
#1
I made my remote working with a combination of HP MCE, mceremote and an asrock config.

It works fine, all buttons are configured the way I want but there is one silly problem: when I press a button 2 or 3 times in quick succession, the cursor just jumps waaay ahead real fast.

My lircd.conf file is here.

Can anyone help me fix this?

Thanks![/code]
Reply
#2
Well with this page and one on Ubuntu's forum and a lot of searching I managed to get to work properly. Only took me the better part of the day Undecided.

And my brain is numb ...

Four buttons don't do what I want and looking at these guides my eyes just glaze over right now ...

KEY_EPG (0x016d) --> How do I map that to codec_info?
KEY_SLEEP (0x008e) --> Quit XBMC
KEY_NUMERIC_STAR (0x020a) --> Cycle audio tracks
KEY_NUMERIC_POUND (0x020b) --> Cycle subtitles

Something to get me on my way again?

Thanks!
Reply
#3
Are you talking about in a list ?

My remote does that as well but its by design ...

If I push the 5 button 2 times it will jump down to J, 3 times K, 4 times L

You might be able to turn that off but I'm not sure
Reply
#4
Thanks but I got that fixed. I just need to remap those 4 buttons then I'm done.
Reply
#5
(2013-12-08, 22:06)inflatablemouse Wrote: Well with this page and one on Ubuntu's forum and a lot of searching I managed to get to work properly. Only took me the better part of the day Undecided.

And my brain is numb ...

Four buttons don't do what I want and looking at these guides my eyes just glaze over right now ...

KEY_EPG (0x016d) --> How do I map that to codec_info? CodecInfo
KEY_SLEEP (0x008e) --> Quit XBMC Quit
KEY_NUMERIC_STAR (0x020a) --> Cycle audio tracks AudioNextLanguage
KEY_NUMERIC_POUND (0x020b) --> Cycle subtitles NextSubtitle

Something to get me on my way again?

Thanks!
Reply
#6
It's not clear to me where I'm supposed to put this.

The guide here discusses keyboard.xml but doesn't explain how to map remote control keys. Another site speaks of lircmap.xml buts its outdated and file locations are wrong (and possibly other info as well).

Which files do I need to edit and what do I place in them?

Thanks.
Reply
#7
You need to place a <remote> section in the keyboard.xml file

http://wiki.xbmc.org/index.php?title=key...te_Section
Reply
#8
(2013-12-14, 15:21)inflatablemouse Wrote: It's not clear to me where I'm supposed to put this.

The guide here discusses keyboard.xml but doesn't explain how to map remote control keys. Another site speaks of lircmap.xml buts its outdated and file locations are wrong (and possibly other info as well).

Which files do I need to edit and what do I place in them?

Thanks.


You can find the information you need here.

You dont have to follow the tutorial but all the information you want is there. Maybe start around step 22
Reply
#9
Thanks for the links. I'll have a look at that in the coming days.
Reply
#10
Finally came around to fix this.

I created Lircmap.xml in userdata with the following contents:
<lircmap>
<remote device="devinput">
<Power>KEY_SLEEP</Power>
<CodecInfo>KEY_DVD</CodecInfo>
<NextSubtitle>KEY_NUMERIC_POUND</NextSubtitle>
<AudioNextLanguage>KEY_NUMERIC_STAR</AudioNextLanguage>
</remote>
</lircmap>

Device name is taken from '/usr/share/lirc/remotes/devinput/lircd.conf.devinput' and confirmed by 'irw'.

The power button works, but the other three do not. What gives? Huh.
Reply
#11
(2013-12-27, 14:23)inflatablemouse Wrote: Finally came around to fix this.

I created Lircmap.xml in userdata with the following contents:
<lircmap>
<remote device="devinput">
<Power>KEY_SLEEP</Power>
<CodecInfo>KEY_DVD</CodecInfo>
<NextSubtitle>KEY_NUMERIC_POUND</NextSubtitle>
<AudioNextLanguage>KEY_NUMERIC_STAR</AudioNextLanguage>
</remote>
</lircmap>

Device name is taken from '/usr/share/lirc/remotes/devinput/lircd.conf.devinput' and confirmed by 'irw'.

The power button works, but the other three do not. What gives? Huh.

Better read that tutorial again. You kinda got it backwards.
Pay attention to the lirc xbmc relationship. It imperative that you understand that.
Reply
#12
Appreciate your help but this is becoming very frustrating.

So this relationship ... I read the other link from that guide as well, you said "xbmc sends the EjectTray() COMMAND which is tied to the star NAME which is tied to the OpenClose BUTTON on the remote".

So to put in order, my remote sends a code which is given a name in Lircmap.xml, this name is given a command in remote.xml for Xbmc to execute.

Lircmap.xml is now:
<lircmap>
<remote device="devinput">
<Power>KEY_SLEEP</Power>
<menu>KEY_DVD</menu>
<hash>KEY_NUMERIC_POUND</hash>
<star>KEY_NUMERIC_STAR</star>
</remote>
</lircmap>

In remote.xml:
<keymap>
<global>
<remote>
<hash>NextSubtitle</hash>
<star>AudioNextLanguage</star>
<menu>CodecInfo</menu>
</remote>
</global>
</keymap>

Needless to say its still not working.
Reply
#13
(2013-12-27, 21:14)inflatablemouse Wrote: Appreciate your help but this is becoming very frustrating.

So this relationship ... I read the other link from that guide as well, you said "xbmc sends the EjectTray() COMMAND which is tied to the star NAME which is tied to the OpenClose BUTTON on the remote".

So to put in order, my remote sends a code which is given a name in Lircmap.xml, this name is given a command in remote.xml for Xbmc to execute.

Lircmap.xml is now:
<lircmap>
<remote device="devinput">
<Power>KEY_SLEEP</Power>
<menu>KEY_DVD</menu>
<hash>KEY_NUMERIC_POUND</hash>
<star>KEY_NUMERIC_STAR</star>
</remote>
</lircmap>

In remote.xml:
<keymap>
<global>
<remote>
<hash>NextSubtitle</hash>
<star>AudioNextLanguage</star>
<menu>CodecInfo</menu>
</remote>
</global>
</keymap>

Needless to say its still not working.

If you are using the lircd.conf file in the first post your remote name is incorrect.
Reply
#14
Correct, that has changed.

Lircd.conf contains:
include "/usr/share/lirc/remotes/devinput/lircd.conf.devinput

First few lines of that file are:
# generated by devinput.sh
begin remote
name devinput
Reply

Logout Mark Read Team Forum Stats Members Help
remote control issue0