View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Mar 05, 2013 4:45 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
I upgraded the firmware on my SSD today and used the System Erase Tool to wipe out the drive. Then I loaded up R8. So far performance has been very good with fast NBA games. I'm currently having two issues with my Firefly remote.

First, I tested out the channel option to give the remote a different number but it does not appear to work. I changed the channel number (to a couple of different ones) and it accepts the change but when I go to my other box it still works so I suspect that it's not working properly making it independent.

Second, the firefly is broken in XBMC :cry: Here is some history that might be helpful

This file Library.xml does not exist anymore

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

but this change to the button needs to happen for it to work properly

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

to this

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

I could use some assistance


Last edited by RacerX on Sat Mar 09, 2013 1:14 pm, edited 2 times in total.


Top
 Profile  
 
PostPosted: Wed Mar 06, 2013 11:10 am 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
is --lircdev a xmbc parameter or mythtv ?
library.xml moved to /home/mythtv/.mythtv/library.xml and is generated, so any changes may be wiped out.


Regarding the firefly channels, that works works just fine for me.
Did you set both systems to listen on unique channels and not just one?
By default it's configured so that it listens on all channels, which would explain why the 2nd box is still picking up the remote.


Top
 Profile  
 
PostPosted: Wed Mar 06, 2013 1:55 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
Quote:

is --lircdev a xmbc parameter or mythtv ?
library.xml moved to /home/mythtv/.mythtv/library.xml and is generated, so any changes may be wiped out.
Quote:

This is an option for Lirc

Tested in the shell
Code:
xbmc.sh --lircdev /var/run/lirc/lircd

and it works properly :)

Historically a change to the button and it works correctly assuming that remote exists in

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

What needs to change so that XBMC starts with this option? This is for all remotes not just firefly.

You are right about the channel ID test needing two PC's. It was not obvious...


Top
 Profile  
 
PostPosted: Wed Mar 06, 2013 2:17 pm 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
Not for sure whats going on with xbmc.sh needing that extra parameter.
The startup script already has it hardcoded and doesn't make use of extra arguments.

Code:
#!/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


Top
 Profile  
 
PostPosted: Wed Mar 06, 2013 2:29 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
I think there might be something with the XBMC package. Normally I install packages with just fluxbox up. In this case I ran the command with the frontend up. I saw an error message with the path and bash but I ran a little too fast. Is there a log when the package installs that shows this infomation?


Top
 Profile  
 
PostPosted: Wed Mar 06, 2013 4:35 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
More info

from Shell
xbmc --lircdev /var/run/lirc/lircd

also works with the remote


Top
 Profile  
 
PostPosted: Wed Mar 06, 2013 6:44 pm 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
weird because thats exactly what xbmc.sh calls xmbc


Top
 Profile  
 
PostPosted: Wed Mar 06, 2013 8:52 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
This issue has existed for a while in 7.4 the workaround was to modify the button in library.xml and that fixed it. Now that library.xml is not calling xmbc.sh can we dig a little deeper for the root cause.

When you start it manually the shell also gives this message twice

sh: lsb_release: command not found
sh: lsb_release: command not found

I think this message has occurred for a long time so it's not relevant? How can it be isolated since with the button the program runs and LIRC is broken and no visible errors?
How can we troubleshoot the package? I'm willing to help....


Top
 Profile  
 
PostPosted: Fri Mar 08, 2013 4:42 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
Update

Since
Code:
xbmc --lircdev /var/run/lirc/lircd
is bugged, even more strange is the path for Lirc is /var/run/lirc/lircd and not in /dev anymore so it should be working. The only option is to change the button.
So here is the workaround for now

change the line in
Quote:
/home/mythtv/.mythtv/library.xml

from
Code:
<action>EXEC /usr/bin/xbmc</action>

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


it can now figure out the path for Lirc and it works for now :)


Top
 Profile  
 
PostPosted: Thu Mar 14, 2013 9:53 am 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
xbmc is due to be updated to 12 whenever I get back to working on it. I will look at the problem then, no point is solving it for 11 if the solution might change for 12


Top
 Profile  
 
PostPosted: Sun Jun 09, 2013 9:58 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
Jams

Updated completely to R8 so I was able to test Snapstream Unique ID with the updated lircrc.snapstrm.txt. I copied it to Ch1, Ch2, Ch3, Ch4, Ch5, Ch6

Then programmed the remote code on my Master Backend to CH5. It was a bit of a pain to figure out the firefly buttton

this post helped

http://ubuntuforums.org/showthread.php?t=639123

Quote:
Pressing and holding the firefly button until it blinks then I release the the button. When it finishes blinking and the led is on, I select (using the number buttons) the corresponding channel ID. Which in my case was channel 5. Then I press and release the firefly button to end the setup. If all was correct, you should see the led blink the number of times that equals your channel ID.


Then I tested it out and both remotes are now unique for the first time ever!!!!

BIG THANKS :D :D :D


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 86 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