userino
Posts: 11
Joined: Wed Mar 04, 2015 3:02 pm

Few questions about powering pi 2 and rainbow square

Fri Mar 27, 2015 4:15 pm

Hi, i am currently powering my pi(using openelec) via TV USB(powering tv powers my pi, then with my remote 1st i shutdown kodi then i power off tv and my pi powers off), and it runs smoothly pretty much, rainbow square is static in top right corner which i know means that my power supply is low. It shutdowns maybe twice in 3-4 days coz of it. I have wifi dongle and small fan that i got with my case attach to pi.

Now my question is, does it harm my pi to power it as such? What temperature is considered high for pi? Without my small fan it goes to cca 50C, with it less then 40C. So if 50+ is ok then i can unplug the fan.....

If such powering is ok, how do i remove the rainbow square?

User avatar
RaTTuS
Posts: 10531
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Few questions about powering pi 2 and rainbow square

Fri Mar 27, 2015 4:17 pm

remove the fan
add

max_usb_current=1
in /boot/config.txt

and reboot
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

User avatar
DougieLawson
Posts: 37088
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Few questions about powering pi 2 and rainbow square

Fri Mar 27, 2015 4:30 pm

If your temp is less than 85°C then you have NO WORRIES.

The RPi does NOT need fans or heatsinks in any environment with a comfortable (to humans) ambient temperature.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

userino
Posts: 11
Joined: Wed Mar 04, 2015 3:02 pm

Re: Few questions about powering pi 2 and rainbow square

Fri Mar 27, 2015 4:50 pm

RaTTuS wrote:remove the fan
add

max_usb_current=1
in /boot/config.txt

and reboot

Ok iv removed the fan, now rainbow square pops out every few seconds......

max_usb_current=1, from what i gathered will put output from my pis usb to 1200mA from 600mA, and that will remove the rainbow square from flashing?
Are there any downsides from doing this?
Oh and i dont mind the square flashing, does the underpowering pi harm the hardware or something?

User avatar
DougieLawson
Posts: 37088
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Few questions about powering pi 2 and rainbow square

Fri Mar 27, 2015 4:57 pm

max_usb_current=1 has ZERO effect on the under voltage warning square. If anything it's more likely to appear if you run a high current USB device.

What it means is the input voltage is TOO LOW, below 4V85 and your power supply can't cope with the load. The way to fix it is two-fold
1. A better power supply
2. A better USB cable between the power supply and the RPi
If you think your power supply is good change #2 first.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

userino
Posts: 11
Joined: Wed Mar 04, 2015 3:02 pm

Re: Few questions about powering pi 2 and rainbow square

Fri Mar 27, 2015 5:04 pm

I wanna run my pi off an tv usb....
Does it harm the pi if voltage is too low(rainbow square)?

Can i just use it regardless of the undervoltage, like i said only thing that happens is couple of restarts of pi in a few days, and i dont mind that...

User avatar
DougieLawson
Posts: 37088
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Few questions about powering pi 2 and rainbow square

Fri Mar 27, 2015 5:51 pm

It doesn't harm it. But you're more likely to crash and you're more likely to trash the contents of your SDCard when it crashes.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

User avatar
solar3000
Posts: 1051
Joined: Sat May 18, 2013 12:14 am

Re: Few questions about powering pi 2 and rainbow square

Fri Mar 27, 2015 6:57 pm

userino wrote: ..... then i power off tv and my pi powers off),
....

please clarify. You power off your pi by shutting off your tv?
Antikythera

userino
Posts: 11
Joined: Wed Mar 04, 2015 3:02 pm

Re: Few questions about powering pi 2 and rainbow square

Fri Mar 27, 2015 7:36 pm

solar3000 wrote:
userino wrote: ..... then i power off tv and my pi powers off),
....

please clarify. You power off your pi by shutting off your tv?

Yep, works great, with hdmi cec, i use my remote from tv to 1st shutdown the pi(OS openelec shuts down but pi is still powered, have to do this 1st so that sd doesnt get corupted), then few seconds after pi shutdowns i just i turn off tv and as tv turns off, there is no power coming from usb anymore so pi powers off.

Then when i turn on tv, pi powers on :)

User avatar
DougieLawson
Posts: 37088
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Few questions about powering pi 2 and rainbow square

Fri Mar 27, 2015 9:03 pm

Are you allowing enough time between the operating system shutdown and the time when you pull power? With a regular RPi running Raspbian the green LED winks ten times when the system halts. When that winking stops it's safe to pull the power.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

User avatar
xoopha
Posts: 106
Joined: Mon Feb 09, 2015 9:52 pm

Re: Few questions about powering pi 2 and rainbow square

Fri Mar 27, 2015 10:03 pm

Depending on your display you might even get a "Signal lost" type of message on it when the Pi shuts down completely.

User avatar
solar3000
Posts: 1051
Joined: Sat May 18, 2013 12:14 am

Re: Few questions about powering pi 2 and rainbow square

Sat Mar 28, 2015 9:36 pm

userino wrote:
solar3000 wrote:
userino wrote: ..... then i power off tv and my pi powers off),
....

please clarify. You power off your pi by shutting off your tv?

Yep, works great, with hdmi cec, i use my remote from tv to 1st shutdown the pi(OS openelec shuts down but pi is still powered, have to do this 1st so that sd doesnt get corupted), then few seconds after pi shutdowns i just i turn off tv and as tv turns off, there is no power coming from usb anymore so pi powers off.

Then when i turn on tv, pi powers on :)
I feel better now. I thought you just kill the power to the pi.
Antikythera

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Few questions about powering pi 2 and rainbow square

Sat Mar 28, 2015 9:56 pm

Changing the USB cable from the TV to the Pi for a better one may get rid of the rainbow square. The USB cable is as least as important as the power supply itself. The shorter and the thicker the better.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

Return to “General discussion”