Posts: 105
Joined: Aug 2011
Reputation:
0
Hi,
I think i know the answer but i want to be sure. Can i power off the Rpi just by unplugging it or will i get corruption over the time?
Do i Always have to go to the menu?
my Rpi is connected to an AV receiver, how could i power it on/off with the receiver, CEC doesn't seems to do it...
Posts: 714
Joined: Mar 2015
Reputation:
17
Better to power it down using the menu.
Posts: 359
Joined: May 2009
Reputation:
8
2015-04-08, 09:57
(This post was last modified: 2015-04-08, 09:58 by katsup.)
The pi 2 uses very little power, why not just leave it on?
Posts: 542
Joined: May 2013
Reputation:
4
The best, to avoid filesystem corruption is to shutdown the Pi (strictly speaking there is no power-off for the Pi).
CEC is often able to perform this - but you may not have the controls set to perform this op.
There might be some OS specific detail, so, if you want to pursue this topic, you should say what OS/distro you are using (or intend to use)
HTH
Posts: 6,252
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,252
2015-04-08, 10:27
(This post was last modified: 2015-04-08, 10:27 by da-anda.)
There are UPS modules available for the PI that will trigger a controlled shutdown on power loss. While they are quite nice they're also a bit pricy.
Posts: 420
Joined: Feb 2014
Reputation:
2
2015-04-08, 10:39
(This post was last modified: 2015-04-08, 11:25 by Bosse_B.)
Why shut down in the first place?
You will have to wait a rather long time when switching on before KODI is operational. Sometimes the operating system will also auto-update on power-up and that will invariably take an extra long time to do.
So what is the purpose of powering off the Pi? ? ? ?
Posts: 420
Joined: Feb 2014
Reputation:
2
Not so simple, the PS will have to tell the Pi to go into operating system shutdown and then wait until the Pi is done at which time the power can be removed.
Not as simple as adding a few transistors...
Posts: 359
Joined: May 2009
Reputation:
8
I'd just chance the file system corruption with a power outage, especially if you are not running any critical operations. In worst case, I replace the microSD card if it goes bad.
Posts: 40
Joined: Apr 2015
Reputation:
0
2015-04-08, 22:49
(This post was last modified: 2015-04-08, 22:51 by CaptSunset.)
There are a couple of flash memory issues that nobody has much commented on...
One is that the Pi power supply, if it has a transformer in it, will generate a surge when popped out of the wall.
Surges are bad for motherboards and worse for memory chips.
It would be somewhat better if we powered down by pulling the micro USB plug after the software power down, then pulling the brick. Tho this has longevity issues.
Another is that, if you watch the Pi carefully, you will see that it powers down extremely rapidly- under 5 seconds.
I have a Toshiba high spec 2 gig flash drive (used it for ReadyBoost).
On a windows machine, it takes at least that long, timing by the flashing LED, for the drive to cycle to Safe To Remove.
This leads me to wonder if the Pi is really allowing enough time for its memory to unmount.
(Twice now I've had a USB drive claim it had a 'possible problem' after use on the Pi, when windows tried to read it.)
Also, there are usually some other devices plugged into the Pi; like a monitor & amplifier; I read somewhere recently about a guy who got a line current shock when touching the Pi. (Apparently the brick, being ungrounded, will push out its 5V on top of whatever else is present, until somebody's finger provides a ground.)