XBMC Linux remote - mceusb2
#1
I'm running opensuse 11.3 x64 with XBMC 9.11-1.pm.6.19 install as a rpm from the packman repo. but for the life of me I can't get the remote I've got to work at all in XBMC

I've configured Lirc properly, downloaded the mceusb2 config file from the website, put it in the correct folder (/etc/lirc/lircd.conf) and irw reports all the keys with no issues.

I've been searching and searching and I can't find a solution to this problem, all I can find is aged old posts about XBMC swapping between remotes.xml, keymaps.xml etc in different folders with no obvious answer.

So my question is, what config file do I need to create\copy\ask for that will let me use my mceusb remote. Or should this just be working automatically? and what folder does the config file actually go in .xmbc/ .xmbc/userdata .xbmc/userdata/keymaps etc

The remote I've got is this one: http://www.mythtv.org/w/images/thumb/c/c...mote-2.jpg

Cheers,

Devvyn
Reply
#2
The links in this post will help you http://forum.xbmc.org/showpost.php?p=571111&postcount=6
Reply
#3
Thanks for help with the link, unfortunately it wasn't much help.

Basically the issue was that the entries in the Lircmap.xml file was lowecase when the commands being recieved from the remote where uppercase. I adjusted the Lircmap.xml file to uppercase commands and viola, it started working.

Here's what I did to get it working and hopefully someone else will find this and save them a week of researching something that turns out to be so simple to solve.

1. Installed opensuse 11.3\11.2 x64 (with lirc and lirc-kmp-desktop)
2. Installed XMBC from the packman repo
3. Configured LIRC using the opensuse part from this wiki: http://www.mythtv.org/wiki/MCE_Remote#openSUSE
copied the lircd.conf.mceusb file from /usr/share/lirc/remotes/mceusb to /etc/lirc/lircd.conf
I had to change /dev/lirc to /dev/lirc0 on my system, simply view the folder and see if lirc or lirc0 exists and adjust accordingly.
4. Restart your system and then run 'irw' from the terminal\konsole and make sure you get keypresses showing up when you press buttons on your remote.
5. Copy the Lircmap.xml file from /usr/share/xbmc/system/Lircmap.xml to /home/*username*/.xbmc/userdata/Lircmap.xml
6. Start XBMC and see it your remote works, if it does, quit and go back to the terminal\konsole
7. Run 'irw' again and press the up, down, left and right buttons. Now check to see if results for keys you pressed are upper or lower case or mixed.
8. Now adjust your Lircmap.xml file to match the text that was shown from the output of irw. so if it's 'up' then change it to 'up'. if it was 'UP' then change it to 'UP' the text is case-sensitive.
You also need to match device=*devicename* to the device name that's at the end of the output for each key in irw.
9. save the Lircmap.xml file and re-open XBMC, see of the arrow keys work. If they do then go back to irw and press each key slow and adjust the case of the words in the xml file.
10. your remote should now be working
Reply
#4
My Lircmap.xml file, copied directly from /usr/share/xbmc/system/Lircmap.xml


Note: the only thing I change in this file was for the mceusb remote section (first section) and that was changing the commands from mixed case to all uppercase to match the output on irw




- <!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml
-->
- <!--
-->
- <!-- How to add remotes
-->
- <!-- <remote device="name_Lirc_calls_the_remote">
-->
- <!--
-->
- <!-- For the commands the layout following layout is used
-->
- <!-- <XBMC_COMMAND>LircButtonName</XBMC_COMMAND>
-->
- <!--
-->
- <!-- For a list of XBMC_COMMAND's check out the <remote> sections of keymap.xml
-->
- <lircmap>
- <remote device="mceusb">
<play>PLAY</play>
<pause>PAUSE</pause>
<stop>STOP</stop>
<forward>FORWARD</forward>
<reverse>REWIND</reverse>
<left>LEFT</left>
<right>RIGHT</right>
<up>UP</up>
<down>DOWN</down>
<select>OK</select>
<pageplus>CHANUP</pageplus>
<pageminus>CHANDOWN</pageminus>
<back>BACK</back>
<menu>PREVIOUSMENU</menu>
<title>GUIDE</title>
<info>MORE</info>
<skipplus>SKIP</skipplus>
<skipminus>REPLAY</skipminus>
<display>TELETEXT</display>
<start>HOME</start>
<record>RECORD</record>
<volumeplus>VOLUP</volumeplus>
<volumeminus>VOLDOWN</volumeminus>
<mute>MUTE</mute>
<power>POWER</power>
<myvideo>VIDEOS</myvideo>
<mymusic>MUSIC</mymusic>
<mypictures>PICTURES</mypictures>
<mytv>TV</mytv>
<one>ONE</one>
<two>TWO</two>
<three>THREE</three>
<four>FOUR</four>
<five>FIVE</five>
<six>SIX</six>
<seven>SEVEN</seven>
<eight>EIGHT</eight>
<nine>NINE</nine>
<zero>ZERO</zero>
<star>STAR</star>
<hash>HASH</hash>
<clear>CLEAR</clear>
<enter>ENTER</enter>
<red>RED</red>
<green>GREEN</green>
<yellow>YELLOW</yellow>
<blue>BLUE</blue>
</remote>
- <remote device="XboxDVDDongle">
<play>PLAY</play>
<pause>PAUSE</pause>
<stop>STOP</stop>
<forward>FORWARD</forward>
<reverse>REVERSE</reverse>
<left>LEFT</left>
<right>RIGHT</right>
<up>UP</up>
<down>DOWN</down>
<select>SELECT</select>
<back>BACK</back>
<menu>MENU</menu>
<title>TITLE</title>
<info>INFO</info>
<skipplus>SKIP+</skipplus>
<skipminus>SKIP-</skipminus>
<display>DISPLAY</display>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
</remote>
- <remote device="Microsoft_Xbox">
<play>PLAY</play>
<pause>PAUSE</pause>
<stop>STOP</stop>
<forward>FORWARD</forward>
<reverse>REVERSE</reverse>
<left>LEFT</left>
<right>RIGHT</right>
<up>UP</up>
<down>DOWN</down>
<select>SELECT</select>
<back>BACK</back>
<menu>MENU</menu>
<title>TITLE</title>
<info>INFO</info>
<skipplus>SKIP+</skipplus>
<skipminus>SKIP-</skipminus>
<display>DISPLAY</display>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
</remote>
- <remote device="PinnacleSysPCTVRemote">
<play>Play</play>
<pause>pause</pause>
<stop>Stop</stop>
<forward>FForward</forward>
<reverse>Rewind</reverse>
<left>Vol-Rew</left>
<right>Vol+FF</right>
<up>Chan+Play</up>
<down>Chan-Stop</down>
<pageplus>channel+</pageplus>
<pageminus>channel-</pageminus>
<select>middle</select>
<back>undo</back>
<menu>Menu</menu>
<title>L</title>
<info>Info</info>
<skipplus>next</skipplus>
<display>Fullscreen</display>
<record>Record</record>
<volumeplus>vol+</volumeplus>
<volumeminus>vol-</volumeminus>
<mute>Mute</mute>
<power>Power</power>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
</remote>
- <remote device="anysee">
<pause>pause</pause>
<stop>stop</stop>
<forward>f1</forward>
<reverse>f2</reverse>
<left>left</left>
<right>right</right>
<up>chan-up</up>
<down>chan-down</down>
<select>ok</select>
<back>exit</back>
<menu>menu</menu>
<title>play</title>
<info>info</info>
<skipplus>jump-fwd</skipplus>
<skipminus>jump-back</skipminus>
<display>size</display>
<start>star</start>
<record>rec</record>
<volumeplus />
<volumeminus />
<mute>mute</mute>
<power>power</power>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
<red>red</red>
<green>green</green>
<yellow>yellow</yellow>
<blue>blue</blue>
<subtitle>subtitle</subtitle>
<language>audio</language>
</remote>
- <remote device="iMON-PAD">
<power>Power</power>
<record>Record</record>
<play>Play</play>
<reverse>Rewind</reverse>
<pause>Pause</pause>
<stop>Stop</stop>
<forward>FastForward</forward>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>Enter</select>
<pageplus>Ch+</pageplus>
<pageminus>Ch-</pageminus>
<back>Esc</back>
<back>Backspace</back>
<menu>Multimon</menu>
<title>MouseMenu</title>
<info>SelectSpace</info>
<skipplus>NextChapter</skipplus>
<skipminus>PrevChapter</skipminus>
<display>FullScreen</display>
<start>MultiMon</start>
<volumeplus>Vol+</volumeplus>
<volumeminus>Vol-</volumeminus>
<mute>Mute</mute>
<myvideo>MyMovie</myvideo>
<mymusic>MyMusic</mymusic>
<mypictures>MyPhoto</mypictures>
<mytv>MyTV</mytv>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
</remote>
</lircmap>
Reply
#5
Are you still having an issue? I was using OpenSuse 11.2 and LIRC just worked out of the box but I upgraded to 11.3 and now it is broken.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC Linux remote - mceusb20