2009-01-25, 15:13
NismoC32 Wrote:I don't understand why it wont work !
The irw command picks every button I press and this is my Lircmap.xml under /home/xbmc/.xbmc/usersdata
The file looks good except that there are some commands twice in there (mypictures). This shouldn't matter but to be sure, just strip the file down to a minum:
Code:
<lircmap>
<remote device="IMON_RM200">
<pause>PAUSE</pause>
<stop>STOP</stop>
<forward>FAST_FWD</forward>
<reverse>FAST_REW</reverse>
<left>KNOB_LEFT</left>
<right>KNOB_RIGHT</right>
<up>KNOB_UP</up>
<down>KNOB_DOWN</down>
<select>SELECT</select>
<pageplus>CHAN_UP</pageplus>
<pageminus>CHAN_DOWN</pageminus>
<back>BACKSPACE</back>
<menu>MENU</menu>
</remote>
</lircmap>
Quote:Running sudo dpkg -L xbmc gives me this:
Seems like the package xbmc only contains some basic files. The rest of XBMC is installed as dependencies. I downloaded the official packages and checked the contents. The Keymap file is included in the package "xbmc-common". So running "dpkg -L xbmc-common | grep Lircmap" should return the path "/usr/share/xbmc/system/Lircmap.xml". The Keymap file should be in there, too. You can try to replace these files with your versions if XBMC continues to ignore the files in "/home/xbmc/.xbmc/userdata/".
You should also check if the xbmc user has access to the lirc device. Check the permissions with "ls -l /dev/lircd". Another way to be sure that xbmc can access the lirc device is running "irw" as user "xbmc".