[Linux] Lirc; can anyone see what I might have done wrong?
#1
Hi All,

I've speant ages looking over the threads to see how to configure lirc; I get the feeling I've made one simple mistake that's stopping this from working!

Mainly used this guide
http://forum.xbmc.org/showthread.php?tid=45972

I've tried writing my new Lircmap.xml and Keymap.xml to

/user/share/xbmc/system (renaming the default Lircmap.xml to Lircmap.xml.old - when I do this, nothing works so I put it back).
and
/user/share/xbmc/system/keymaps
and
/user/share/xbmc/userdata/
and
/home/jeremy/.xbmc/system
and
/home/jeremy/.xbmc/userdata
and
/home/jeremy/.xbmc/userdata/keymaps

* MCEUSB (Works fine, irw detects events and it works fine with default lircmap.xml)
* XBMC 9.1-RC1 R25756 (Compiled: Dec 17 2009)
* Confluence
* Ubuntu Karmic Koala 9.1 x86
* Installed via apt-get

Lircmap.xml
Code:
<lircmap>
    <remote device="mceusb">
        <obc1>Stop</obc1>
        <obc2>Record</obc2>
        <obc3>Play</obc3>
        <obc4>Pause</obc4>
        <obc5>Rewind</obc5>
        <obc8>Forward</obc8>
        <obc10>Replay</obc10>
        <obc12>Skip</obc12>
        <obc13>Back</obc13>
        <obc14>More</obc14>
        <obc15>Up</obc15>
        <obc16>Down</obc16>
        <obc17>Left</obc17>
        <obc18>Right</obc18>
        <obc19>OK</obc19>
        <obc20>Home</obc20>
        <obc21>VolUp</obc21>
        <obc22>VolDown</obc22>
        <obc23>ChanUp</obc23>
        <obc25>ChanDown</obc25>
        <obc26>Mute</obc26>
        <obc27>RecTV</obc27>
        <obc28>Guide</obc28>
        <obc29>LiveTV</obc29>
        <obc30>DVD</obc30>
        <obc31>One</obc31>
        <obc32>Two</obc32>
        <obc33>Three</obc34>
        <obc35>Four</obc35>
        <obc36>Five</obc36>
        <obc38>Six</obc38>
        <obc39>Seven</obc39>
        <obc42>Eight</obc42>
        <obc43>Nine</obc43>
        <obc46>Zero</obc46>
        <obc47>Star<obc47>
        <obc48>Hash</obc48>
        <obc50>Clear</obc50>
        <obc51>Enter</obc51>
        <obc52>Teletext</obc52>
        <obc53>Red</obc53>
        <obc54>Green</obc54>
        <obc55>Yellow</obc55>    
        <obc56>Blue</obc56>    
  </remote>
</lircmap>
Keymap.xml
Code:
<keymap>
  <global>
    <universalremote>
        <obc1>Stop</obc1>
        <obc2>Info</obc2>
        <obc3>Play</obc3>
        <obc4>Pause</obc4>
        <obc5>Rewind</obc5>
        <obc8>FastForward</obc8>
        <obc10>StepBack</obc10>
        <obc12>StepForward</obc12>
        <obc13>Back</obc13>
        <obc14>AspectRatio</obc14>
        <obc15>Up</obc15>
        <obc16>Down</obc16>
        <obc17>Left</obc17>
        <obc18>Right</obc18>
        <obc19>select</obc19>
        <obc20>Home</obc20>
        <obc21>volumeplus</obc21>
        <obc22>volumeminus</obc22>
        <obc23>pageplus</obc23>
        <obc25>pageminus</obc25>
        <obc26>Mute</obc26>
        <obc27>SkipPrevious</obc27>
        <obc28>BigStepBack</obc28>
        <obc29>BigStepForward</obc29>
        <obc30>SkipNext</obc30>
        <obc31>One</obc31>
        <obc32>Two</obc32>
        <obc34>Three</obc34>
        <obc35>Four</obc35>
        <obc36>Five</obc36>
        <obc38>Six</obc38>
        <obc39>Seven</obc39>
        <obc42>Eight</obc42>
        <obc43>Nine</obc43>
        <obc46>Zero</obc46>
        <obc47>Star</obc47>
        <obc48>Hash</obc48>
        <obc50>Queue</obc50>
        <obc51>Playlist</obc51>
        <obc52>OSD</obc52>
        <obc53>ContextMenu</obc53>
        <obc54>FullScreen</obc54>
        <obc55>ShowSubtitles</obc55>    
        <obc56>ToggleWatched</obc56>    
    </universalremote>
  </global>
</keymap>
Reply
#2
Can you post some output from irw? I just went through all the fun of getting this working on my system as well so glad to help out while its fresh in my mind
Reply
#3
"It's not working" is not exactly descriptive...what's not working with it, one button? 5 buttons? the entire remote?
Board: Zotac ION-A-U Case: M350 Mini ITX Memory: 4GB Patriot PC6400 OS: XBMC on OpenELEC.tv build 6936 on a Corsair 32GB SSD Media Storage: W2K8 running on 14TB RAID 5 on an Asrock board w/ AMD Athlon X2 250 and PERC 6/I controller w/ 8 Samsung HD204UI Green drives Time to interface from power switch: 22.4 seconds.
Reply
#4
Thanks all in advance!

Sorry about the lack of description.

* The remote works fine when used with the default configuration file
* If I delete the Lircmap.xml file and replace it with my own Keymap.xml and Lircmap.xml no functions work at all. XBMC does not act on button presses.
* If I leave the default Lircmap.xml and place my new Lircmap.xml and Keymap.xml in /home/jeremy/.xbmc/userdata/keymaps etc... the system uses the default configuration file.

Code:
jeremy@media:~$ irw
000000037ff07bf3 00 Power mceusb
000000037ff07be6 00 Stop mceusb
000000037ff07be8 00 Record mceusb
000000037ff07be9 00 Play mceusb
000000037ff07bea 00 Rewind mceusb
000000037ff07be7 00 Pause mceusb
000000037ff07be4 00 Replay mceusb
000000037ff07beb 00 Forward mceusb
000000037ff07be5 00 Skip mceusb
000000037ff07bdc 00 Back mceusb
000000037ff07be1 00 Up mceusb
000000037ff07bdf 01 Left mceusb
000000037ff07bdd 01 OK mceusb
000000037ff07bde 01 Right mceusb
000000037ff07be0 01 Down mceusb
000000037ff07bf0 00 More mceusb
000000037ff07bef 00 VolUp mceusb
000000037ff07bed 00 ChanUp mceusb
000000037ff07bee 00 VolDown mceusb
000000037ff07bec 00 ChanDown mceusb
000000037ff07bf2 00 Home mceusb
000000037ff07bf1 00 Mute mceusb
000000037ff07bb7 00 RecTV mceusb
000000037ff07bd9 00 Guide mceusb
000000037ff07bda 00 LiveTV mceusb
000000037ff07bdb 00 DVD mceusb
000000037ff07bfe 00 One mceusb
000000037ff07bfd 00 Two mceusb
000000037ff07bfc 01 Three mceusb
000000037ff07bfb 00 Four mceusb
000000037ff07bfa 00 Five mceusb
000000037ff07bf9 01 Six mceusb
000000037ff07bf8 00 Seven mceusb
000000037ff07bf7 00 Eight mceusb
000000037ff07bf6 00 Nine mceusb
000000037ff07be2 00 Star mceusb
000000037ff07bff 00 Zero mceusb
000000037ff07be3 00 Hash mceusb
000000037ff07bf5 00 Clear mceusb
000000037ff07bf4 00 Enter mceusb
000000037ff07ba5 00 Teletext mceusb
000000037ff07ba4 00 Red mceusb
000000037ff07ba3 00 Green mceusb
000000037ff07ba2 00 Yellow mceusb
000000037ff07ba1 00 Blue mceusb
Reply
#5
A little more searching has shown that xbmc no longer uses Keymap.xml but instead uses Remote.xml; i'll have to try that tonight when I get home.
Reply
#6
jeremydt Wrote:A little more searching has shown that xbmc no longer uses Keymap.xml but instead uses Remote.xml; i'll have to try that tonight when I get home.

i was just about to suggest that, as mine didnt work until i edited the remote.xml file as well. Try that and get back to us, irw looks to be working just fine, so it's probably the missing .xml file.
Board: Zotac ION-A-U Case: M350 Mini ITX Memory: 4GB Patriot PC6400 OS: XBMC on OpenELEC.tv build 6936 on a Corsair 32GB SSD Media Storage: W2K8 running on 14TB RAID 5 on an Asrock board w/ AMD Athlon X2 250 and PERC 6/I controller w/ 8 Samsung HD204UI Green drives Time to interface from power switch: 22.4 seconds.
Reply
#7
I'm having some limited success now; i'll keep at it and see how I end up! Thanks so far!
Reply

Logout Mark Read Team Forum Stats Members Help
[Linux] Lirc; can anyone see what I might have done wrong?0