Posts: 795
Joined: Feb 2008
Reputation:
25
2012-02-14, 15:52
(This post was last modified: 2012-02-16, 01:32 by rodercot.)
Hey All,
Anyone else seeing this - I did a clean install last night. setup lirc, audio, addons all that is great, suspend/resume works just fine. Install lcdproc and I cannot reboot (hangs at shutdown) and suspend will no longer put the machine to sleep, actually it is like I never even pressed the power button)
sudo apt-get remove --purge lcdproc restores everything to working fine.
I still use lirc as it is easy to setup from the get go. reconfigure lirc choose devinput(Linux input layer) and then by-id if00 for me. stop lirc from loading modules and then copy the Lircmap.xml to .xbmc/userdata and change the device to devinput instead of mceusb and edit missing functions, works like a dream using the kernel modules and ir-keytables is not installed.
I installed lcdproc from apt, I will try and build an older version from source tonight and see if that changes anything.
The shutdown issue I have seen with the several 11.10 build I have done in the last couple weeks but never an issue with suspend after installing it and setting up my suspend/resume script.
Dave
Posts: 795
Joined: Feb 2008
Reputation:
25
2012-02-15, 00:51
(This post was last modified: 2012-02-15, 00:53 by rodercot.)
just configured and installed two different versions of lcdproc from source and installed them and they both create the exact same problems.
Hang at shutdown and no suspend. Uninstall either version and everything works just fine.
why is xbmc trying to start the lcd server, is that just for the internal lcd device, I would think that should only try and start if it is enabled.
Dave
Posts: 34
Joined: Oct 2011
Reputation:
0
ive had lots of issues with the lcd on my setup, causing hangs on shutdown, or massive delays booting
my lack of knowledge led me to just doign away with the lcd (unplug) for the time being until there was a suitable solution
Posts: 795
Joined: Feb 2008
Reputation:
25
I have looked a little further into it and it seems there is an issue with the lirc init script on shutdown. error I see is K19lirc blocked then kernel hang message. As far as I remember both S (start) and K(Kill) call or are symlinked to the /etc/init.d/ lirc init script.
The shutdown issue I have seen on ubuntu 11.10, Mythbuntu 11.10 and now XBMCbuntu. The suspend problem I only have with XBMCbuntu. I will find the problem with the init script first it may be as easy as killing lirc earlier in the shutdown process which I will try tonight.
Dave
Posts: 795
Joined: Feb 2008
Reputation:
25
2012-02-16, 01:27
(This post was last modified: 2012-02-16, 01:31 by rodercot.)
Well I fixed it on my machine and this is what I did.
manually changed all S20LCDd in /etc/rc0-6.d to S10LCDd (not all of those directories have an SxLCDd link)
manually changed all the K20LCDd in /etc/rc0-6.d to K30LCDd (not all of those directories have an KxLCDd link)
changed my /etc/pm/sleep.d/07LCDd to 99LCDd
and I got rid of the the /etc/pm/sleep.d/99lirc-resume script (not sure why this is needed or included in 11.10 by default)
reboots just fine now, suspend and resume works just fine and the Imon LCD (ffdc) works perfectly. It goes to sleep and kills the backlight on suspend and wakes up just fine as well.
I think it was a combination of the above because I cannot see why the 99lirc-resume script would cause an issue with the system rebooting.
Dave
Posts: 34
Joined: Oct 2011
Reputation:
0
ah, you are using hte same display as me (and 11.10)
I shall follow your info and see what i can achieve
do you have any other tips and tricks to getting hte lcd working properly, its been some months since i tried to do this,
i ended up with bootup/shutdown issues (guide above)
the powering down off the back light not working, and or corruption on the display when powered down/standby
many thanks
Posts: 795
Joined: Feb 2008
Reputation:
25
How are you using lirc. is your device an LCD (ffdc) lsusb will tell you.
It is just a matter of installing lcdproc from the command line with apt-get install then edit your /etc/LCDd.conf changing the server section as below (you can also change the goodbye message in there I usually do not as when it goes to sleep it makes no differenc to me)
driver=imonlcd
setserver screen = no
scoll down to the imonlcd section and make sure the protocol is correct
uncomment OnExit=2 line
save and restart (sudo /etc/init.d/LCDd restart)
make the changed above and turn on the lcd in xbmc you should be good.
If you need the sleep script let me know and I will paste a copy of it.
Dave
Posts: 34
Joined: Oct 2011
Reputation:
0
see, this is where it gets tricky
i haven't got a remote i can use with the lcd/ir receiver
so i am runnign a seperate hauppage dvb-t500? ( i think thats right) tuner card and remote
i had loads of issues getting the remote working, the documentation has got very flaky for the later versions of ubuntu
eventually it just worked (pretty sure without lirc), so putting lirc on throws all sorts of extra issues in
irkeytables throws up the remote keypresses (last time i checked)
i assume lirc is not required just to get the lcd working with lcdproc
i will have a good look tonight and experiment when home
Thanks
Posts: 34
Joined: Oct 2011
Reputation:
0
Ah, yes it is the ffdc display as I recall (with the volume knob, not bothered as it is pointless)
Posts: 176
Joined: Mar 2009
Reputation:
0
I have the same issue on shutdown but also a random xbmc freeze on startup due to lcd proc (if i stop via /etc/init.d/ LCDd xbmc goes on). I'm on precise so i have K60 and S60.
I tried the above suggested, startup issue seem to be ok now, i will let you know if it also fix well both problems.
Posts: 29
Joined: Oct 2010
Reputation:
0
Can you tell me what exactly you have done to fix that issue?
I am still having freezes on when I shutdown XBMC via remote control, everything runs fine via SSH though.
Thanks
Posts: 89
Joined: Jan 2012
Reputation:
2
I'd like to hear something back on this too.