Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide Raspberry Pi power Supply
#21
For those who want to use the RPI with a HAT and not use the Ethernet or USB you can kill the power to both USB/Ethernet with this command.

Disable 
sudo sh -c 'echo 0x0 > /sys/devices/platform/soc/3f980000.usb/buspower'

Enable 
sudo sh -c 'echo 0x1 > /sys/devices/platform/soc/3f980000.usb/buspower'


Put it in a script and have it auto-magically kill the power with each boot.


#!/bin/bash

sleep 25 #<----adjust the sleep time to your preference

[command here]
Reply


Messages In This Thread
Raspberry Pi power Supply - by Listener - 09-09-2018, 07:10 PM
RE: Raspberry Pi power Supply - by rikardo1979 - 09-12-2018, 11:05 AM
RE: Raspberry Pi power Supply - by energyi - 09-14-2018, 05:28 PM
RE: Raspberry Pi power Supply - by Tenbagger - 04-20-2019, 07:44 PM
RE: Raspberry Pi power Supply - by Tenbagger - 04-23-2019, 04:48 PM
RE: Raspberry Pi power Supply - by JST1963 - 09-14-2018, 06:25 PM
RE: Raspberry Pi power Supply - by HemiRick - 12-10-2018, 05:38 PM
RE: Raspberry Pi power Supply - by MikeyFresh - 01-04-2019, 05:01 PM
RE: Raspberry Pi power Supply - by rongon - 12-11-2018, 01:01 AM
RE: Raspberry Pi power Supply - by Listener - 12-16-2018, 05:31 PM
RE: Raspberry Pi power Supply - by HemiRick - 12-11-2018, 01:18 AM
RE: Raspberry Pi power Supply - by rongon - 01-04-2019, 04:06 AM
RE: Raspberry Pi power Supply - by DRONE7 - 01-04-2019, 06:07 AM
RE: Raspberry Pi power Supply - by Tim Curtis - 01-04-2019, 01:41 PM
RE: Raspberry Pi power Supply - by Strider - 04-20-2019, 08:03 PM
RE: Raspberry Pi power Supply - by Malefoda - 04-21-2019, 08:39 AM
RE: Raspberry Pi power Supply - by rikardo1979 - 04-21-2019, 11:16 AM
RE: Raspberry Pi power Supply - by Malefoda - 06-26-2019, 12:02 PM
RE: Raspberry Pi power Supply - by Malefoda - 04-21-2019, 11:58 AM
RE: Raspberry Pi power Supply - by rikardo1979 - 04-21-2019, 12:06 PM
RE: Raspberry Pi power Supply - by Edward - 04-21-2019, 01:47 PM

Forum Jump: