Sillyname
Posts: 45
Joined: Mon Mar 03, 2014 2:22 pm

Sleepy Pi...

Fri Mar 21, 2014 7:09 am

How do you keep your Pi from automatically shutting down?

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: Sleepy Pi...

Fri Mar 21, 2014 7:14 am

Mine doesn't... or are you talking about it happening when you run a particular OS?
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

mikerr
Posts: 2825
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

Re: Sleepy Pi...

Fri Mar 21, 2014 8:38 am

If you mean the screen blanking:
edit the /etc/kbd/config file with:

Code: Select all

BLANK_DPMS=off
POWERDOWN_TIME=0
BLANK_TIME=0
Android app - Raspi Card Imager - download and image SD cards - No PC required !

boyoh
Posts: 1468
Joined: Fri Nov 23, 2012 3:30 pm
Location: Selby. North Yorkshire .UK

Re: Sleepy Pi...

Fri Mar 21, 2014 4:28 pm

What do you mean automatically shutting down?
There is a difference between automatic and
randome shut downs
Automatic shut down occurs when the
Pi as been programmed to shut down
When it encounters a problem.
You have no control over random shut downs
You have to go through the process of finding
out the cause.
BoyOh ( Selby, North Yorkshire.UK)
Some Times Right Some Times Wrong

zocalo
Posts: 4
Joined: Sat Jul 19, 2014 4:30 pm

Re: Sleepy Pi...

Sat Jul 19, 2014 4:44 pm

I tried to edit the /etc/kbd/config file, but it does not allow me to save changes

I tried to do it from the root terminal using:
sudo nano /etc/kbd/config

I managed to open the file and edit the fields, but it does not allow me to save it

Do you know how can I get the authorization to do so?

ThX

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Sleepy Pi...

Sat Jul 19, 2014 11:37 pm

Hi,
zocalo wrote:Do you know how can I get the authorization to do so?
Generally speaking, you can always change permissions of a file with the command chmod (eg. sudo chmod 666 /etc/kbd/config).

Permissions of the files are set wisely, so it is a good practice (if you really decide to change the permissions to perform some action) to change the permission later back to original settings.
Before you do any changes, you can see original ownership and permissions information with the command ls -l.


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

Return to “Beginners”