XBMCbuntu lcdproc causes hang on shutdown
#16
Hi!

It seems I finally fixed the LCD issue which means my XBMC shuts down properly and LCD is off completely(no background light anymore)

Since I am very busy at the moment I could test it just twice but in both cases it worked Smile

So this is what I did:

Code:
sudo /etc/init.d/LCDd stop
echo -n "" > /etc/lcd0

Your Display should be dark now. If you get a permission denied do
Code:
sudo chmod og+w /dev/lcd0
and try again.

Now I just added
Code:
echo -n "" > /etc/lcd0
into the stop section of /etc/init.d/LCDd and everything works as expected.

I hope this will help

good luck Wink
Reply
#17
Hello, I am experiencing the same problem of my LCD not turning off after I power down and I tried to follow your small guide nightlord but the code: sudo chmod og+w /dev/lcd0 doesn't seem to do anything for me, as I still get the same message saying permission denied, I went ahead and added echo -n "" > /etc/lcd0 to the stop section of /etc/init.d/LCDd and it didnt appear to fix anything, just wondering if anyones has any insight on this as I've been searching for hours. It should be noted that I am not very familiar with linux
Reply
#18
I think the poster wanted echo -n "" > /dev/lcd0 not echo -n "" > /etc/lcd0"

RGDS
Reply
#19
Thanks for the reply astropolak, I tried your suggestion but unfortunately it did not work either,
Reply
#20
(2013-08-15, 02:20)S3RVO Wrote: Thanks for the reply astropolak, I tried your suggestion but unfortunately it did not work either,

To be honest I do not think this is needed, standard shut down routines work for me.
Jus to test I have done this:
bash: /dev/lcd0: Device or resource busy
root@joes-xbmc:/home/joem# fuser /dev/lcd0
/dev/lcd0: 1585
root@joes-xbmc:/home/joem# ps -aef|grep 1585
nobody 1585 1 0 08:06 ? 00:00:00 /usr/sbin/LCDd -s 1 -f -c /etc/LCDd.conf
root@joes-xbmc:/home/joem# killall -9 LCDd
root@joes-xbmc:/home/joem# echo "" >/dev/lcd0
root@joes-xbmc:/home/joem# echo "test" >/dev/lcd0

Above:
you can not send anything to /dev/lcd0 when LCDd is running,
killing LCDd
now you clear the display with the echo "" .....
you can also send any text to the display echo "test" .....

RGDS
Reply

Logout Mark Read Team Forum Stats Members Help
XBMCbuntu lcdproc causes hang on shutdown0