Hi,
My pi is running Raspbmc and it's great. The pi is connected via hdmi to an AV receiver which, in turn, is connected via hdmi to my TV.
The pi and receiver are in a different room to the TV. The pi is to be left on continuously but the receiver and TV get turned off when not needed.
I'm experiencing a weird problem where sometimes, generally after turning back on the TV and amp, no signal is output from the pi. Ordinarily there isn't a keyboard plugged in (the pi is in a cupboard) but even plugging one in and pressing keys does not wake the pi. I know the pi is still functioning because I can SSH into it with no problem. The only way to get the signal back is to reboot the pi.
I wonder if the pi is maybe putting the display to sleep?? Is there a way to prevent this?
Re: Preventing Sleep
only happens to me when xbmc crashes and console screensaver turns itself on after some time. if it happens i do fbset -depth 8 && fbset -depth 16 and start xbmc again. might be the same issue. jose
Re: Preventing Sleep
Your guess is a good one and the current stage of development is such that we are identifying issues like this and testing solutions.
This is all part of the ongoing tapestry If you do find a solution please make sure you post the feedback you will not be the only one using a setup like the one you describe.
Idealy you should try and get a spare SD card install one of the other images say wheezy and see if you get the same effect if it is the same or different post because either way it may help trace the core issue.
This is all part of the ongoing tapestry If you do find a solution please make sure you post the feedback you will not be the only one using a setup like the one you describe.
Idealy you should try and get a spare SD card install one of the other images say wheezy and see if you get the same effect if it is the same or different post because either way it may help trace the core issue.

Noob is not derogatory the noob is just the lower end of the noob--geek spectrum being a noob is just your first step towards being an uber-geek 
If you find a solution please post it in the wiki the forum dies too quick

If you find a solution please post it in the wiki the forum dies too quick
Re: Preventing Sleep
Thanks. I'll experiment when I get back home and report back.
Re: Preventing Sleep
I just did a little searching and found this:
I'm also interested in a solution, I can't test it right now, but let me know if it works. (I'm running just a text console, and don't have any keyboard plugged in. I'd like to be able to switch to the inputs to the Pi and just see what's on the display without have to dig up a keyboard, plug it in......etc).
From this article:http://www.cyberciti.biz/tips/linux-dis ... blank.htmlBy default, the Linux kernel will use screen-save option to disable it you need to type command (it turns off monitor VESA powersaving features):
$ setterm -powersave off -blank 0
I'm also interested in a solution, I can't test it right now, but let me know if it works. (I'm running just a text console, and don't have any keyboard plugged in. I'd like to be able to switch to the inputs to the Pi and just see what's on the display without have to dig up a keyboard, plug it in......etc).
Re: Preventing Sleep
I'm having the same problem with my Pi going to sleep about every 10 minutes or so. I tried this:
$ setterm -powersave off -blank 0
before "startx" command but it apparently did nothing. Maybe I did it wrong?
Thanks for any clues!
$ setterm -powersave off -blank 0
before "startx" command but it apparently did nothing. Maybe I did it wrong?
Thanks for any clues!
Re: Preventing Sleep
I had the same problem here.
I found this solution elsewhere in these forums and it works for me:
sudo nano /etc/lightdm/lightdm.conf
In that file, look for:
[SeatDefault]
and insert this line:
xserver-command=X -s 0 dpms
My test monitor has been on for a couple of days now
I found this solution elsewhere in these forums and it works for me:
sudo nano /etc/lightdm/lightdm.conf
In that file, look for:
[SeatDefault]
and insert this line:
xserver-command=X -s 0 dpms
My test monitor has been on for a couple of days now

Re: Preventing Sleep
Thanks - I'll give it a go.
Re: Preventing Sleep
This didnt work for meRasadmin wrote:I had the same problem here.
I found this solution elsewhere in these forums and it works for me:
sudo nano /etc/lightdm/lightdm.conf
In that file, look for:
[SeatDefault]
and insert this line:
xserver-command=X -s 0 dpms
My test monitor has been on for a couple of days now

Re: Preventing Sleep
I am just trying to get my regular Raspbian to stop going into monitor sleep.
Re: Preventing Sleep
console mode ?Mekai wrote:I am just trying to get my regular Raspbian to stop going into monitor sleep.
do this :-
http://www.raspberrypi.org/phpBB3/viewt ... 54#p296180
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
Re: Preventing Sleep
Didnt do the trick for me, i am in "startx mode" i don´t know if that changes anything for me.RaTTuS wrote:console mode ?Mekai wrote:I am just trying to get my regular Raspbian to stop going into monitor sleep.
do this :-
http://www.raspberrypi.org/phpBB3/viewt ... 54#p296180
Re: Preventing Sleep
I have the same problem too , I tried all of it ,but it doesn't work……
Re: Preventing Sleep
Above solution did not work for me either, most recent Raspian on rev 2 512
BUT! Confirmed working:
in:
sudo nano /etc/kbd/config
edit these values to:
BLANK_TIME=0
POWERDOWN_TIME=0
BUT! Confirmed working:
in:
sudo nano /etc/kbd/config
edit these values to:
BLANK_TIME=0
POWERDOWN_TIME=0
-
- Posts: 1
- Joined: Sat May 10, 2014 9:46 am
Re: Preventing Sleep
Agree with csik.
I have tightvncserver set up to run automatically on start up.
This *seemed* to have been obeying the blank time, power down rules, and causing freezing.
Setting both to 0 has cured the problem.
Thanks.
I have tightvncserver set up to run automatically on start up.
This *seemed* to have been obeying the blank time, power down rules, and causing freezing.
Setting both to 0 has cured the problem.
Thanks.
Re: Preventing Sleep
This one seems to be working for me. Ran about an hour longer than usual so far. I'll leave it up for the rest of the week.Rasadmin wrote:I had the same problem here.
I found this solution elsewhere in these forums and it works for me:
sudo nano /etc/lightdm/lightdm.conf
In that file, look for:
[SeatDefault]
and insert this line:
xserver-command=X -s 0 dpms
My test monitor has been on for a couple of days now
Re: Preventing Sleep
xserver-command=X -s 0 dpms
Worked for me .. Pi 3
Worked for me .. Pi 3
Re: Preventing Sleep
That worked for me too on Raspbian Stretch.xserver-command=X -s 0 dpms