View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 25 posts ] 
Go to page Previous  1, 2

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Jul 23, 2012 3:24 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 677
Update!!! I just updated my system to R7.3 and to my surprise my remote was not working in XBMC :cry:

So here are the dependencies to get it to work properly on 7/23/2012!!!

1.) edit the xbmc lirc file to include the remote

/usr/share/xbmc/system/Lircmap.xml

Code:
<remote device="Snapstream_Firefly">
      <pause>PAUSE</pause>
      <stop>STOP</stop>
                <forward>FWD</forward>
                <reverse>REW</reverse>
                <left>LEFT</left>
                <right>RIGHT</right>
                <up>UP</up>
                <down>DOWN</down>
                <select>OK</select>
                <pageplus>CH+</pageplus>
                <pageminus>CH-</pageminus>
                <back>EXIT</back>
                <menu>MENU</menu>
                <title>PLAY</title>
                <info>INFO</info>
                <skipplus>NEXT</skipplus>
                <skipminus>PREV</skipminus>
                <display>MAXI</display>
                <start>FIREFLY</start>
                <record>REC</record>
                <volumeplus>VOL+</volumeplus>
                <volumeminus>VOL-</volumeminus>
                <mute>MUTE</mute>
                <power>CLOSE</power>
                <myvideo>VIDEO</myvideo>
                <mymusic>MUSIC</mymusic>
                <mypictures>PHOTOS</mypictures>
                <mytv>TV</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>
                <mytv>A</mytv>
                <mymusic>B</mymusic>
                <mypictures>C</mypictures>
                <myvideo>D</myvideo>
        </remote>


2.) edit the XBMC button to point to the XBMC Lirc

/usr/share/mythtv/themes/defaultmenu/library.xml

change this line from
Code:
<action>EXEC /usr/LH/bin/xbmc.sh</action>

to this
Code:
<action>EXEC /usr/LH/bin/xbmc.sh --lircdev /var/run/lirc/lircd</action>


3.) Reboot

The Remote Works!!!!


Top
 Profile  
 
PostPosted: Thu Aug 09, 2012 6:21 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 677
Upgraded to r7.4 tonight successfully, I had to edit the library.xml

1.) edit the XBMC button to point to the XBMC Lirc

/usr/share/mythtv/themes/defaultmenu/library.xml

change this line from

Code:
<action>EXEC /usr/LH/bin/xbmc.sh</action>


to this

Code:
<action>EXEC /usr/LH/bin/xbmc.sh --lircdev /var/run/lirc/lircd</action>


3.) Reboot

The Remote Works!!!!


Top
 Profile  
 
PostPosted: Sat Sep 01, 2012 8:00 pm 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
Thanks for the hints, it made quick work to get things fixed up for me.

For most remotes, Lircmap.xml should have the right settings. On most "in kernel" remotes the "devinput" item should be automatically selected. You also have the option in the xmbc service menu to designate the remote as a keyboard mode. This should work with in-kernel remotes.

By default the xbmc contrib puts two entries in the library.xml file both of which are wrong. By default it puts in:
Code:
<action>EXEC /usr/bin/xbmc</action>


but it should be:
Code:
<action>EXEC /usr/LH/bin/xbmc.sh

per your post. Note that xmbc.sh as of 7.4rdt already has the --lircdev parameter for xbmc. So you should not need it again. Perhaps you were adding it to the default path it entered in the xml file?


Top
 Profile  
 
PostPosted: Sat Sep 01, 2012 8:25 pm 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
oh yes and BTW, your Snapstream entries were useful to me as one of my many front ends has a Firefly on it too!


Top
 Profile  
 
PostPosted: Sun Sep 02, 2012 4:31 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 677
Glad to see that the changes helped...

In my case I always have to edit

Code:
/usr/share/mythtv/themes/defaultmenu/library.xml


to have the XMBC button call out the XML LIRC file

I'm trying to sort out how to have two firefly remotes configured with unique channel ID's so they are independent of each other....


Top
 Profile  
 
PostPosted: Sun Sep 02, 2012 7:04 pm 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
RacerX wrote:
In my case I always have to edit ...to have the XMBC button call out the XML LIRC file

I'm curious to see what you have in your "/usr/LH/bin/xbmc.sh" file. In mine the --lircdev is already on the xbmc execution line as per:
Code:
[root]# cat /usr/LH/bin/xbmc.sh

#!/bin/bash
#Stop XScreensaver
stop_xss.sh &
#Launch XBMC
/usr/bin/xbmc --lircdev /var/run/lirc/lircd
#Once XBMC exits, start XSceensager again
killall stop_xss.sh


RacerX wrote:
I'm trying to sort out how to have two firefly remotes configured with unique channel ID's so they are independent of each other....

I saw a very recent write up on how to do this. It may even have been in these forums. I think I saw it posted about 2-3 weeks ago.


Top
 Profile  
 
PostPosted: Sun Sep 02, 2012 11:14 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 677
My file output is the same as yours, it's stock...

Quote:
[root]# cat /usr/LH/bin/xbmc.sh

#!/bin/bash
#Stop XScreensaver
stop_xss.sh &
#Launch XBMC
/usr/bin/xbmc --lircdev /var/run/lirc/lircd
#Once XBMC exits, start XSceensager again
killall stop_xss.sh


when I installed the update it broke the Firefly remote in XBMC but it works fine in Myth. I was able to reproduce (break) it on three machines that I updated to R7.4. You are the first person to point out the it's called from also called in XMBC.Sh.

Here my change that works
1.) /usr/share/xbmc/system/Lircmap.xml must have your remote.
How do Remotes get updated in Licmap.xml other than by hand all the time?
2.) Change the Library.XML button to point to the XBMC LIRC.
Code:
<action>EXEC /usr/LH/bin/xbmc.sh --lircdev /var/run/lirc/lircd</action>


Quote:
RacerX wrote:I'm trying to sort out how to have two firefly remotes configured with unique channel ID's so they are independent of each other....


Here is the other post
viewtopic.php?f=25&t=22697


Top
 Profile  
 
PostPosted: Mon Sep 03, 2012 10:42 am 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
RacerX wrote:
My file output is the same as yours, it's stock...

Then it is unclear to me why your addition in the library.xml file would make any difference. The parameter you added should be ignored (note nothing in the script reads your addition) and the one in the script will be invoked anyway. The only difference would be if the path in library.xml was actually "/usr/bin/xbmc" as opposed to "/usr/LH/bin/xbmc.sh" as was my case. I simply fixed my library.xml to add the "LH" in the path.

RacerX wrote:
You are the first person to point out the it's called from also called in XMBC.Sh.

I think a lot of people are out for the summer doing other things. I certainly was and have just nipped back in here. Summers here are short enough and the weather has been outstanding! I am much more active here in the winter as I suspect are other people in the North and in Europe.

RacerX wrote:
1.) /usr/share/xbmc/system/Lircmap.xml must have your remote.
How do Remotes get updated in Licmap.xml other than by hand all the time?

Like most distributions, I think you would have to submit your changes with the XBMC community and they would include it in their packages. LinHES used to be like that but due to some good changes by brfransen, we can now create custom handling for our remotes that survive upgrades.

RacerX wrote:
Quote:
RacerX wrote:I'm trying to sort out how to have two firefly remotes configured with unique channel ID's so they are independent of each other....


Here is the other post
viewtopic.php?f=25&t=22697


I'll respond in your other post.


Last edited by christ on Mon Sep 03, 2012 12:13 pm, edited 2 times in total.


Top
 Profile  
 
PostPosted: Mon Sep 03, 2012 11:09 am 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 677
Just for kicks I removed the change from library.xml since it already exists in XMBC.sh

Rebooted by my system and the remote still works fine :D

Thanks for clearing that up

As of R7.4 the only change needed is

1.) edit the xbmc lirc file to include the remote

/usr/share/xbmc/system/Lircmap.xml

Code:
 <remote device="Snapstream_Firefly">
          <pause>PAUSE</pause>
          <stop>STOP</stop>
                    <forward>FWD</forward>
                    <reverse>REW</reverse>
                    <left>LEFT</left>
                    <right>RIGHT</right>
                    <up>UP</up>
                    <down>DOWN</down>
                    <select>OK</select>
                    <pageplus>CH+</pageplus>
                    <pageminus>CH-</pageminus>
                    <back>EXIT</back>
                    <menu>MENU</menu>
                    <title>PLAY</title>
                    <info>INFO</info>
                    <skipplus>NEXT</skipplus>
                    <skipminus>PREV</skipminus>
                    <display>MAXI</display>
                    <start>FIREFLY</start>
                    <record>REC</record>
                    <volumeplus>VOL+</volumeplus>
                    <volumeminus>VOL-</volumeminus>
                    <mute>MUTE</mute>
                    <power>CLOSE</power>
                    <myvideo>VIDEO</myvideo>
                    <mymusic>MUSIC</mymusic>
                    <mypictures>PHOTOS</mypictures>
                    <mytv>TV</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>
                    <mytv>A</mytv>
                    <mymusic>B</mymusic>
                    <mypictures>C</mypictures>
                    <myvideo>D</myvideo>
            </remote>


Top
 Profile  
 
PostPosted: Mon Jun 24, 2013 9:49 am 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 677
Update

with Linhes R8.02 the Firefly remote now works better than ever!

Here are the highlights

1.) The lircrc-snapstream.txt was conpletely reworked and now all the buttons work properly for the first time ever :D
2.) The XBMC Lirc Bug is finally smashed. :D
3.) It is now possible to run up to 6 RF Firefly Remotes with a unique channel ids that makes them independent :D
4.) The Help button really shows the help onscreen :D

Thanks Jams for all the Firefly improvements in Linhes R8.02


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ] 
Go to page Previous  1, 2



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu