[PROBLEM] Odd lirc issue after dist-upgrade - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Kodi (/forum-18.html) +--- Thread: [PROBLEM] Odd lirc issue after dist-upgrade (/thread-2242.html) |
Odd lirc issue after dist-upgrade - kgoerbig - 23rd Apr, 2014 12:52 AM 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. RE: Odd lirc issue after dist-upgrade - IriDium - 23rd Apr, 2014 02:09 AM 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. RE: Odd lirc issue after dist-upgrade - kgoerbig - 23rd Apr, 2014 09:07 AM (23rd Apr, 2014 02:09 AM)IriDium Wrote: How odd. 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 RE: Odd lirc issue after dist-upgrade - IriDium - 23rd Apr, 2014 09:53 PM 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. RE: Odd lirc issue after dist-upgrade - kgoerbig - 23rd Apr, 2014 11:10 PM (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. 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? RE: Odd lirc issue after dist-upgrade - CurlyMo - 23rd Apr, 2014 11:10 PM That happens if XBMC was started before Lirc. RE: Odd lirc issue after dist-upgrade - kgoerbig - 24th Apr, 2014 12:09 AM (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. 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. RE: Odd lirc issue after dist-upgrade - IriDium - 24th Apr, 2014 02:40 AM 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. RE: Odd lirc issue after dist-upgrade - kgoerbig - 24th Apr, 2014 04:03 AM (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) 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. RE: Odd lirc issue after dist-upgrade - Xbianfan - 26th May, 2014 08:04 AM (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? Re: Odd lirc issue after dist-upgrade - CurlyMo - 26th May, 2014 08:13 AM Don't know. Thats why I reported it. RE: Odd lirc issue after dist-upgrade - Xbianfan - 23rd Jun, 2014 09:49 AM (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 RE: Odd lirc issue after dist-upgrade - mk01 - 2nd Jul, 2014 07:37 AM 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 |