Solved Issue Strange behavior of LIRC with XBMC

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ulrith Offline
Junior Member
Posts: 7
Joined: Jun 2011
Reputation: 0
Post: #1
Hi people!Nod

I've just configured my remote for using with xbmc (XBMC 12 Beta 3):

Code:
pi@raspbmc:~$ irw
161 0 KEY_SELECT devinput
161 0 KEY_SELECT_UP devinput

I have <enter> entry in my ~/.xbmc/userdata/Lircmap.xml:

Code:
<lircmap>
  <remote device="bbk">
    <back>KEY_BACK</back>
    <menu>KEY_MENU</menu>
    <up>KEY_UP</up>
    <left>KEY_LEFT</left>
    <enter>KEY_SELECT</enter>
    <right>KEY_RIGHT</right>
    <down>KEY_DOWN</down>
    <stop>KEY_STOP</stop>
    <volumeup>KEY_VOLUMEUP</volumeup>
    <volumedown>KEY_VOLUMEDOWN</volumedown>
    <mute>KEY_MUTE</mute>
    <fastforward>KEY_FORWARD</fastforward>
    <play>KEY_PLAY</play>
    <rewind>KEY_BACK</rewind>
    <previousmenu>KEY_CANCEL</previousmenu>
    <number0>KEY_0</number0>
    <number1>KEY_1</number1>
    <number2>KEY_2</number2>
    <number3>KEY_3</number3>
    <number4>KEY_4</number4>
    <number5>KEY_5</number5>
    <number6>KEY_6</number6>
    <number7>KEY_7</number7>
    <number8>KEY_8</number8>
    <number9>KEY_9</number9>
    <scrollup>KEY_SCROLLUP</scrollup>
    <scrolldown>KEY_SCROLLDOWN</scrolldown>
    <XBMC.ActivateWindow(Home)>KEY_MENU</XBMC.ActivateWindow(Home)>
  </remote>
</lircmap>

But if I push Select button on my remote xbmc does not react.
So I'm unable to open my Video section or any other one.
Right, left, up, down and volume keys work perfectly.

Please help me to find a cause of this xbmc behavior...

Thanks!
(This post was last modified: 2012-12-25 23:46 by ulrith.)
find quote
artrafael Offline
Team-XBMC Forum Moderator
Posts: 4,424
Joined: Jul 2010
Reputation: 78
Location: USA
Post: #2
Try adding:
Code:
<return>KEY_SELECT</return>
and see if this works.

Also, I don't believe this is a valid statement:
Code:
<XBMC.ActivateWindow(Home)>KEY_MENU</XBMC.ActivateWindow(Home)>
find quote
ulrith Offline
Junior Member
Posts: 7
Joined: Jun 2011
Reputation: 0
Post: #3
(2012-12-25 22:31)artrafael Wrote:  Try adding:
Code:
<return>KEY_SELECT</return>
and see if this works.

Also, I don't believe this is a valid statement:
Code:
<XBMC.ActivateWindow(Home)>KEY_MENU</XBMC.ActivateWindow(Home)>

Added first, removed second—same situation. Sad
find quote
Dilligaf Offline
Fan
Posts: 309
Joined: Dec 2008
Reputation: 9
Post: #4
That looks like an RC6 MCE remote, try deleting lircmap.xml from your userdata and letting it use the default one in system then copying remote.xml to userdata/keymaps and making your edits in that

If I have been of help, please add to my reputation as a way of saying thanks.
find quote
ulrith Offline
Junior Member
Posts: 7
Joined: Jun 2011
Reputation: 0
Post: #5
(2012-12-25 23:01)Dilligaf Wrote:  That looks like an RC6 MCE remote, try deleting lircmap.xml from your userdata and letting it use the default one in system then copying remote.xml to userdata/keymaps and making your edits in that

Thank you, Dilligaf: I've removed my Lircmap.xml and nothing changes—it looks like the system does not use it.

My questions now:
1) why the system does not use my Lircmap.xml?
2) how could I make changes in userdata/keymaps/remote.xml to enable my Select button?
(This post was last modified: 2012-12-25 23:30 by ulrith.)
find quote
ulrith Offline
Junior Member
Posts: 7
Joined: Jun 2011
Reputation: 0
Post: #6
Thank you all!
It looks like my system does not use custom Lircmap.xml at all.

Only thing I had to do to solve my problem is to remap my remote event from KEY_SELECT to KEY_ENTER.

Now all is working fine with the system default configuration. Thanks everybody.
find quote