Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] Odd lirc issue after dist-upgrade
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: Odd lirc issue after dist-upgrade
23rd Apr, 2014, 12:52 AM
Post: #1
kgoerbig Offline
Registered
Posts: 20
Joined: Jul 2013
Reputation: 0
Odd lirc issue after dist-upgrade
Hi All,

I am running XBian_1.0_Beta_2, and last night did a dist-upgrade. All works well except for one odd issue with lirc that wasn't a problem before the upgrade. I have a streamzap remote.

If I do a clean reboot (sudo reboot), after xbian reboots, and xbmc loads, none of my remote buttons work in xbmc. irw shows output, and the button info. However, if I run:

service xbmc stop
service xbmc start

After starting and stopping xbmc after a reboot, all the buttons work fine, including the ones that I mapped to do certain tasks. So, my dilemma is, why does my remote stop functioning in XBMC after a complete reboot, and then starts working when stop/start XBMC? Any ideas?

Thanks.
Find all posts by this user
Quote this message in a reply
23rd Apr, 2014, 02:09 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Odd lirc issue after dist-upgrade
How odd.

Can you confirm you are on Beta 2 and not RC1.

Also please supply output from dmesg and xbmc.log via pastebin

This might show what the issue is.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
23rd Apr, 2014, 09:07 AM
Post: #3
kgoerbig Offline
Registered
Posts: 20
Joined: Jul 2013
Reputation: 0
RE: Odd lirc issue after dist-upgrade
(23rd Apr, 2014 02:09 AM)IriDium Wrote:  How odd.

Can you confirm you are on Beta 2 and not RC1.

Also please supply output from dmesg and xbmc.log via pastebin

This might show what the issue is.


version & dmesg

http://pastebin.com/raw.php?i=1dvsRACn

XBMC log, enabled right before reboot. Log is before starting/stopping XBMC

http://home.comcast.net/~kgoerbig/pi/xbmc.log
Find all posts by this user
Quote this message in a reply
23rd Apr, 2014, 09:53 PM
Post: #4
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Odd lirc issue after dist-upgrade
Nothing obvious in dmesg about lirc. However it is showing some corruption on your SD card and /dev/sda1.

Has the system crashed recently or not been shutdown correctly? Are you seriously overclocking?

You will need to fix these errors as they could be the cause of the odd behaviour.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
23rd Apr, 2014, 11:10 PM
Post: #5
kgoerbig Offline
Registered
Posts: 20
Joined: Jul 2013
Reputation: 0
RE: Odd lirc issue after dist-upgrade
(23rd Apr, 2014 09:53 PM)IriDium Wrote:  Nothing obvious in dmesg about lirc. However it is showing some corruption on your SD card and /dev/sda1.

Has the system crashed recently or not been shutdown correctly? Are you seriously overclocking?

You will need to fix these errors as they could be the cause of the odd behaviour.

These issues didn't happen at all in beta2 (before the upgrade), so I decided to go back to beta2. I did use the backup tool, and I copied the backup file from my usb drive to /xbmc-backup/put_here_to_restore. Where is the restore option in xbian-config?
Find all posts by this user
Quote this message in a reply
23rd Apr, 2014, 11:10 PM
Post: #6
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Odd lirc issue after dist-upgrade
That happens if XBMC was started before Lirc.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
24th Apr, 2014, 12:09 AM
Post: #7
kgoerbig Offline
Registered
Posts: 20
Joined: Jul 2013
Reputation: 0
RE: Odd lirc issue after dist-upgrade
(23rd Apr, 2014 11:10 PM)kgoerbig Wrote:  
(23rd Apr, 2014 09:53 PM)IriDium Wrote:  Nothing obvious in dmesg about lirc. However it is showing some corruption on your SD card and /dev/sda1.

Has the system crashed recently or not been shutdown correctly? Are you seriously overclocking?

You will need to fix these errors as they could be the cause of the odd behaviour.

These issues didn't happen at all in beta2 (before the upgrade), so I decided to go back to beta2. I did use the backup tool, and I copied the backup file from my usb drive to /xbmc-backup/put_here_to_restore. Where is the restore option in xbian-config?

Actually, never mind regarding the restore feature. I didn't realize that once you copy the backup file to /xbmc-backup/put_here_to_restore/ that the restore script running in the background restores it, and removes the file when it is finished.
Find all posts by this user
Quote this message in a reply
24th Apr, 2014, 02:40 AM
Post: #8
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Odd lirc issue after dist-upgrade
The Xbian backup option only backs up your home directory NOT the system. So you have not gone back to beta2 (only your home directory)

For a full system backup you have to use the file:/ option in xbian-config -> option 6 or use the btrfs snapshot restore function.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
24th Apr, 2014, 04:03 AM
Post: #9
kgoerbig Offline
Registered
Posts: 20
Joined: Jul 2013
Reputation: 0
RE: Odd lirc issue after dist-upgrade
(24th Apr, 2014 02:40 AM)IriDium Wrote:  The Xbian backup option only backs up your home directory NOT the system. So you have not gone back to beta2 (only your home directory)

For a full system backup you have to use the file:/ option in xbian-config -> option 6 or use the btrfs snapshot restore function.

No worries, I wiped the partitions on my card this morning and dd'd the beta2 image, and then ran the restore of my backup file.
Find all posts by this user
Quote this message in a reply
26th May, 2014, 08:04 AM
Post: #10
Xbianfan Offline
Registered
Posts: 14
Joined: Feb 2014
Reputation: 1
RE: Odd lirc issue after dist-upgrade
(23rd Apr, 2014 11:10 PM)CurlyMo Wrote:  That happens if XBMC was started before Lirc.

I have exactly the same problem, it started since I use an external hard drive for the filesystem.
How can I change this behavior, so that XBMC wait's some more seconds, and that it first let's Lirc start?
Find all posts by this user
Quote this message in a reply
26th May, 2014, 08:13 AM
Post: #11
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
Re: Odd lirc issue after dist-upgrade
Don't know. Thats why I reported it.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
23rd Jun, 2014, 09:49 AM
Post: #12
Xbianfan Offline
Registered
Posts: 14
Joined: Feb 2014
Reputation: 1
RE: Odd lirc issue after dist-upgrade
(26th May, 2014 08:04 AM)Xbianfan Wrote:  How can I change this behavior, so that XBMC wait's some more seconds, and that it first let's Lirc start?

Unfortunately my problem still exists and I'm a bid tired of restarting xbmc manually every time I boot my pi, so I decided to add this two lines
/bin/sleep 180 && service xbmc stop
/bin/sleep 200 && service xbmc start


to /etc/rc.local
It's of cause a dirty work around which restarts xbmc after 180 seconds after a reboot.
If someone knows a better solution I'm glad to hear/read it Smile
Find all posts by this user
Quote this message in a reply
2nd Jul, 2014, 07:37 AM
Post: #13
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Odd lirc issue after dist-upgrade
https://github.com/xbianonpi/xbian/issues/549

then xbmc will wait for lirc. this USER setting (not hacking scripts) exists since B1, I'm repeating it over and over and apparently it makes no sense.

Code:
cat /etc/default/xbmc
line 3,4 even with description

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [SOLVED] Upgrade issue...... Skywatch 13 27,327 20th Apr, 2017 06:47 AM
Last Post: Nachteule

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 08:56 PM Powered By MyBB, © 2002-2025 MyBB Group.