Lirc Problem
xOrphenochx
Junior Member Posts: 9 Joined: May 2008 Reputation: 0 |
2012-02-05 02:29
Post: #1
I followed everything from this post and irw sees input fine, but XBMC doesn't do anything when I press a key. Using same hardware and same configs that were posted with Eden Beta 2 on Ubuntu 10.04.
|
| find quote |
dnixx
Junior Member Posts: 39 Joined: Dec 2011 Reputation: 5 |
2012-02-05 16:56
Post: #2
Are you sure that you have specified the correct device in Lircmap.xml? (<remote device="<device>")
<device> should be the same string that shows up when running irw: # irw 00000000000ecfd3 00 KEY_PLAY <device> 00000000000ecfd3 01 KEY_PLAY <device> Also, check what happens in the xbmc log when pressing the buttons on your remote: tail -f ~/.xbmc/temp/xbmc.log |
| find quote |
xOrphenochx
Junior Member Posts: 9 Joined: May 2008 Reputation: 0 |
2012-02-05 22:59
Post: #3
dnixx Wrote:Are you sure that you have specified the correct device in Lircmap.xml? (<remote device="<device>") Looks like XBMC wasn't pointed to the correct Lirc device, adding --lircdev /var/run/lirc/lircd worked. |
| find quote |
xOrphenochx
Junior Member Posts: 9 Joined: May 2008 Reputation: 0 |
2012-02-06 08:00
Post: #4
Well I got nearly everything configured the way I want, but for some reason pressing some types of buttons don't go back after a second press, IE pressing the key for OSD brings it up and pressing it once more doesn't do anything, same goes for Info, which brings it up again upon a second press.
|
| find quote |
dnixx
Junior Member Posts: 39 Joined: Dec 2011 Reputation: 5 |
2012-02-06 16:48
Post: #5
xOrphenochx Wrote:Well I got nearly everything configured the way I want, but for some reason pressing some types of buttons don't go back after a second press, IE pressing the key for OSD brings it up and pressing it once more doesn't do anything, same goes for Info, which brings it up again upon a second press. That's because the Info key should be mapped to "Back" when the info screen is displayed. If you look at the default remote.xml (/usr/local/share/xbmc/system/keymaps/remote.xml) you'll see: Code: <FullscreenInfo>This is true for several screens and dialogues. I only map the keys in the <global> section of my remote.xml (~/.xbmc/userdata/keymaps/remote.xml), plus a couple of other sections I want/need to change. That way most of the default keys are intact. For example, the Info key is mapped to the "Back" action when viewing the Info dialogue, because this is how it is defined in the the default remote.xml (XBMC reads this one and the user-defined one).
(This post was last modified: 2012-02-06 16:59 by dnixx.)
|
| find quote |
xOrphenochx
Junior Member Posts: 9 Joined: May 2008 Reputation: 0 |
2012-02-06 20:17
Post: #6
dnixx Wrote:That's because the Info key should be mapped to "Back" when the info screen is displayed. If you look at the default remote.xml (/usr/local/share/xbmc/system/keymaps/remote.xml) you'll see: Much appreciated, I get the concept, I was thinking that it was probably the case, but I'm unsure how to put into the config I have right now. Here's what the main part of it looks like. Code: <keymap> |
| find quote |
dnixx
Junior Member Posts: 39 Joined: Dec 2011 Reputation: 5 |
2012-02-06 22:28
Post: #7
Here's your remote.xml with two examples added:
Code: <keymap>In this example there are three "sections": global (which you already have), MusicInformation and MovieInformation. Go through the default remote.xml which is located at /usr/local/share/xbmc/system/keymaps/remote.xml. Look for sections you may want to override and add these to your user-specific remote.xml (~/.xbmc/userdata/keymaps/remote.xml). Remember to use the correct keynames; where the default remote.xml says "<one>Number1</one>", yours should say "<obc101>Number1</obc101>" (the keynames are found in the remote.xml you pasted in your last post). Notice that everything is encapsulated in <keymap> and </keymap> -- don't put anything outside those. And remember <universalremote></universalremote>: Code: <keymap>Did I make any sense?
(This post was last modified: 2012-02-06 22:43 by dnixx.)
|
| find quote |
xOrphenochx
Junior Member Posts: 9 Joined: May 2008 Reputation: 0 |
2012-02-07 00:12
Post: #8
dnixx Wrote:Here's your remote.xml with two examples added: All fixed, I wasn't looking close enough at how this worked and placing the Backs in the wrong spots. Thanks!
(This post was last modified: 2012-02-07 17:51 by xOrphenochx.)
|
| find quote |

Search
Help