Page 1 of 1

How to configure the TBS 5922 remote to work with XBMC

PostPosted: Wed Mar 19, 2014 4:35 pm
by alanb2121
How to configure the TBS 5922 remote to work with XBMC on the MatrixPC


The first thing you need to do is open up /usr/bin/lircd_pre.sh and change the final line so it reads like this - sed -i "s/^DEVICE=.*/DEVICE=\"\/dev\/lirc1\"/g" /etc/lirc/hardware.conf

This is required in the 1.0.0.4 build as there seems to be a problem with the device it trys to call. it is using lirc0 but needs to be lirc1

Once you have done that perform the following steps,

1. Copy tbs5922.tar (attached) to /etc/lirc/ and rename it to lircd.conf (it's not really a tar file but its the first extension I tried that allowed me to upload the file to the forum, .txt must be evil or something)
2. Copy lircmap.xml to /root/.xbmc/userdata/
3. Copy remote.xml to /root/.xbmc/userdata/keymaps/

A few notes,

You can find a copy of lircmap.xml in /usr/share/xbmc/system. if you use this copy then change the remote device= value to the same name that was used in lircd.conf, I.e remote device="tbs5922"
You can find a copy of remote.xml in /usr/share/xbmc/system/keymaps

I'm no expert at linux so there is probably a smarter way to do this :)

Cheers

Re: How to configure the TBS 5922 remote to work with XBMC

PostPosted: Thu Mar 20, 2014 4:09 pm
by steven
Hi alanb2121

Really thanks for share your way to use remote with XBMC.
You will help the people want to use remote. :)

Thanks

Kind Regards

steven

Re: How to configure the TBS 5922 remote to work with XBMC

PostPosted: Mon Apr 07, 2014 2:48 pm
by steven
Hi all

This way should be ok with our remote too. :)

Thanks

Kind Regards

steven

Re: How to configure the TBS 5922 remote to work with XBMC

PostPosted: Wed Apr 16, 2014 4:46 pm
by sepinho
Does this work with all TBS remotes then? It would be great if I could use the one that came with my 5881 DVB card.

Re: How to configure the TBS 5922 remote to work with XBMC

PostPosted: Tue Apr 29, 2014 5:48 pm
by steven
sepinho Wrote:Does this work with all TBS remotes then? It would be great if I could use the one that came with my 5881 DVB card.

yea, TBS5881 use NEC32 remote which is the same as TBS5922 :)

Thanks

Kind Regards

steven

Re: How to configure the TBS 5922 remote to work with XBMC

PostPosted: Tue Apr 29, 2014 6:41 pm
by alanb2121
I've tested 1.0.0.6 with the TBS 5922 remote on XBMC and it works great :)

Re: How to configure the TBS 5922 remote to work with XBMC

PostPosted: Tue Apr 29, 2014 10:22 pm
by Cjcr
@Steven:

Hi, thank you for the update.
I tested with TBS5925 and his remote control and seems that just works key left, key up, key down, key right and vol+. The other commands seems that does nothing.