I've been struggling to get remote fuctionality back in XBMC.
Historically,
Quote:
I created a sample Keymap file
/home/mythtv/.xbmc/userdata/keymaps/keymap.xml
CODE: SELECT ALL
<keymap>
<global>
<remote>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>Select</select>
<back>PreviousMenu</back>
</remote>
</global>
</keymap>
However, it seems that keymap was depreciated in the time between XBMC 9 and XBMC 10
So here are the dependencies
Remote Name: Snapstream_Firefly
/etc/lircd.conf
include "/usr/MythVantage/templates/remotes/snapstream_firefly/lircd.snapstrm.conf"
XBMC
/usr/share/XBMC/system/Lircmap.xml (has the name of the remote)
Historically the
/home/mythtv/.xbmc/userdata/Lircmap.xml
and
/home/mythtv/.xbmc/userdata/keymaps/keymap.xml
IRW works and correctly displays the name Snapstream_Firefly
tama103 says
Quote:
I thought I had things working smoothly with xbmc and lirc, but after playing around last night I still have some work to do. In my setup I am using a serial receiver on ttyS0, and a One4All URC-6131 remote with a custom lircd and lircrc file (which I put in "/usr/MythVantage/templates/remotes/One4all_6131/", overwriting the existing files. I also put my lircd.conf file in /etc/lirc/, but am not sure that is necessary). On the xbmc side, the only file I updated was /usr/share/XBMC/system/Lircmap.xml
OK so can you post your lirc.conf file? Let's see how that compares to the pathed out one in MythVantage. I think maybe a symbolic link might be in order instead. Also please post your Lirmap.xml to see the changes.
Quote:
Lirc works fine on boot within linhes. irw is outputting the remote keys as I expect. However when I start xbmc from the menu, the remote does not work. However, if I exit out of xbmc and restart lirc (sudo /etc/rc.d/lircd restart), then the remote works! Its very annoying. Another annoying thing is that lirc has a hard time restarting or starting. Most of the time when I do a sudo /etc/rc.d/lircd restart, x-term just shows that lirc stopped, but never started. when trying to start lirc, I often get a message saying "ln: failed to create symbolic link `/dev/lircd': File exists " But when lirc finally does start or restart from x-term, my remote works with xbmc.
I can't get the remote to start in XBMC at all so one of your changes works but a second change is in order to handle the path.
Quote:
I think I am narrowing in on the problem. After google searching, I tried starting xbmc after a reboot from x-term by typing 'xbmc'. xbmc starts, put the remote does not work just like before. However, if I start xbmc in x-term using the command 'xbmc --lircdev /var/run/lirc/lircd' then the remote works, no restart of lirc necessary!
This does not work for me at the moment since I don't have a change to /etc/lirc
Thanks