Is setting `max_usb_current=1` to give more power to USB devices a bad idea?
I've been searching around for more information on the
max_usb_current, trying to find out exactly what happens when that is set to
1, but it's hard to find any official documentation.
I know the following:
max_usb_current=1sets the available current over USB to 1.2A (default is 600mA)
- This can help if you have a decent power supply (2A, at least) and need to power something like a small external HDD or something that needs 300+ mA.
- This feature is only available on the B+ and Pi model 2 (at the time of this writing)
But some of the people mentioning the setting warn against setting this value unless you absolutely need to... my question is, why is that? Is something else disabled or changed about the Pi that would increase a risk of damaging the Pi or anything powered over USB, or is it more a general warning to scare off people who don't know what they're doing and might not have a decent power supply to the Pi?
I've seen similar warnings, without offering a reason. You'd probably need to post this question to the official forums. Perhaps pose it as a Pi 2 question in the Pi 2 Q&A thread while it is still active?
@joan - Thanks, I posted over there, and already got a response: http://www.raspberrypi.org/forums/viewtopic.php?f=29&;t=100244
It seems that the only concern is that your power supply, if it's not a decent, reliable supply capable of 2A+ of clean output power, might not be able to power the Pi sufficiently, resulting in crashes or frequent rainbows.
All that max_usb_current=1 does is to set GPIO38 high, which in turn turns on a FET, which connects a second 39K resistor in parallel to an existing one, on pin 5 of U13, the AP2553W6 USB power manager, lifting the current limit from 0.6A to double that (1.2A), see no possible scenario there why the PI resets because of that, except in case the gate of the FET Q4 is somehow shorted to GND. Which could be caused by a production fault. Inspect Q4, as look if there is solder shorting pins together. Also R6 (resistor mounted between gate of Q4 and GND) should be 100K not 0 Ohm. U13, Q4 and R6 should be near the USB ports.
That was from the thread B+ and max_usb_current, which I found after posting the same question here to Any negative impact with setting
There's more to it than that. I read that the in order to boot off the usb device it must be recognised by some code in /boot/bootcode.bin. For example I have an old 2.5inch hard drive from an old laptop. This can be recognised by Raspbian if the system is booted off the sd card yet the system will not boot off the hard drive if the sd card is removed. I wish to thank the developers for their hard work. Some usb sticks, which before would not boot, now will.