[XBMCBUNTU] Remote Control - Am I being stupid? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: [XBMCBUNTU] Remote Control - Am I being stupid? (/showthread.php?tid=131112) |
[XBMCBUNTU] Remote Control - Am I being stupid? - madmike1415 - 2012-05-09 First impressions of XBMCbuntu are that it installs much easier on my hardware than XBMCLive did, with video and audio working "out of the box" (saving the hours of pain I suffered getting XBMC Live working) - The install screen had writing too small to read, but I don't know how much of that was down to my TV. The only real problem I have is getting the remote control fully working that came with my AT3IONT-I deluxe motherboard. With XBMC Live I (after a lot of hassle) got it working using the advice at http://ubuntuforums.org/archive/index.php/t-1458300.html but if I am reading Eden documentation pages correctly it is all about remote.xml within each user's directory. * Is this correct (I'd prefer to get a universal setup for all users, but if that isn't possible then I'm happy to go down the per user setting)? * Am I being stupid? I have looked and looked at documentation about the remote.xml file and I can't find what I need to put in the angle brackets per button or the value in between (e.g. getting special buttons to get the context menu up, getting the home button working and to toggle subtitles and full screen). That is <keymap> <global> <remote> <WHAT DO I PUT HERE FOR THE REMOTE BUTTON> WHAT VALUE GOES HERE FOR HOME/SUBTITLE ETC</> </remote> <global> <keymap> Help please? Thanks RE: [XBMCBUNTU] Remote Control - AM I being stupid? - hojan - 2012-05-09 Did you check this page? http://wiki.xbmc.org/index.php?title=Remote_controls RE: [XBMCBUNTU] Remote Control - AM I being stupid? - madmike1415 - 2012-05-09 (2012-05-09, 14:43)hojan Wrote: Did you check this page? http://wiki.xbmc.org/index.php?title=Remote_controls Unfortunately it didn't really help and even when reading other forum threads I just have more questions than answers. Firstly I am assuming that the AT3ION3-I Deluxe IR remote sends key presses so I need to find which keys are associated with the special buttons when I press them. But I can't find a way to see this: irw throws up a "no such file or directory error" and turning debug on only shows on key events for buttons that are correctly working but nothing for the other buttons I want to fix. Secondly, as I want the remote to work for all accounts I am assuming that I want to edit the relevant XML file in /user/share/xbmc/system/keymaps, but which one: it is my remote that I am configuring which might suggest remote.xml, but they are essentially key presses being send so should I be editing the keyboard.xml file? So I am left confused not knowing which file to edit or what entries to put in that file. Help please?!? RE: [XBMCBUNTU] Remote Control - Am I being stupid? - drivesoslow - 2012-05-09 What does your lircd.conf look like? Lirc needs to be working correctly for starters. I found the easiest solution was when I was creating my lircd.conf to just name the buttons to what XBMC preferred. My lircd.conf: Code: begin remote If you notice the button names match what is in Lircmap.xml (just a portion of it below) as does the device name: Code: <lircmap> RE: [XBMCBUNTU] Remote Control - Am I being stupid? - madmike1415 - 2012-05-22 I finally got all the buttons working by _properly_ following the instructions I mentioned above at http://ubuntuforums.org/archive/index.php/t-1458300.html This seems to be due to some peculiarity with the remote/IR sensor that came with this motherboard, more details of which can be read about at http://ubuntuforums.org/showthread.php?t=1458300 I don't fully understand why such a palaver is needed to get it working: is this something that can be rolled into a future update of Eden perhaps (like it has been with openelec)? Ta. RE: [XBMCBUNTU] Remote Control - Am I being stupid? - hömma - 2012-11-20 I am posting my problems in this thread because I think the topic describes it just perfect. I installed XBMCbuntu on my bedroom Zotac box (AMD Fusion). Luckily the Zotac remote works out-of-the-box. Unfortunately some needed buttons don't seem to work like e.g. TITLE or SUSPEND. After installing inputlirc and running irw I found out that some missing buttons are at least recognized by Lirc. So in my understanding I had to create a lircmap.xml and map the missing commands: Code: <lircmap> This is the remote.xml that I copied: Code: <keymap> So what am I missing? I guess the device name "mceusb" might be wrong. I guess using event2 from irw as the device name is either wrong. I've read that I may have to look up the device name in my lircd.conf, but the file is empty. RE: [XBMCBUNTU] Remote Control - Am I being stupid? - hömma - 2012-11-20 OK, after trying around the whole day, it finally seems to work out. I created a SymLink at /etc/udev/rules.d/10-local.rules to map any event with the IR's vendor ID to a virtual device named "irremote": Code: KERNEL=="event*",ATTRS{idVendor}=="0471",SYMLINK="input/irremote" After restarting the command Code: ls -l /dev/input showed me, that the remote events were properly mapped. Unfortunately the missing buttons still didn't work. After a lot of reading, trying and swearing I finally realized that I have made 2 stupid mistakes: I have placed Lircmap.xml in /.xbmc/userdata/keymaps/ instead of just /.xbmc/userdata/ and I named it lircmap.xml without the capital letter. Finally, I am able to use the Title and Suspend buttons properly. |