I'm trying to get a small fan to work with the Raspberry Pi 2 using power off of the GPIO pins. The fan seems to work fine on the boot, but NOOBS itself won't boot. It gives me the following message.
sh: can't access tty: job control turned off / #
Here's some diagrams of how I have my fan connected to the GPIO pins.
I've tried a few solutions so far, I knew that it was just the safe mode in NOOBS.
Here are the two that I've tried
- Added avoid_safe_mode=1 in the config.txt file.
- Added disablesafemode in the recovery.cmdline.
This is what the recovery.cmdline file looked like after it was edited.
quiet vt.cur_default=1 elevator=deadline disablesafemode
I've a feeling that it isn't drawing too much current, the red led is solid throughout the booting process and continues to stay solid when it's finished booting. I can unplug the fan from the pins and it'll boot fine, in fact, I can even plug in the fan after the boot process and everything will work fine. It's annoying to have to unplug it and plug it in each time though.