auberonx
Posts: 4
Joined: Sat Apr 09, 2016 5:25 am

How to cycle +5v power on individual ports via software

Thu Oct 11, 2018 5:38 am

I found this thread: https://www.raspberrypi.org/forums/view ... hp?t=93463 but it seems back in 2016 the question of how to cycle the +5v power on individual ports via software wasn't really answered/addressed.

Is it possible to cycle the +5v power on individual ports via software, ideally Python?

User avatar
Imperf3kt
Posts: 3677
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: How to cycle +5v power on individual ports via software

Thu Oct 11, 2018 6:01 am

If you mean USB ports, no it isn't something you can do with software. You can turn off the hub supplying the power, but it also turns off your ethernet. It's either all off, or all on. No in between unless you physically add hardware to do the job.
55:55:44:44:4C
52:4C:52:42:41

drgeoff
Posts: 10832
Joined: Wed Jan 25, 2012 6:39 pm

Re: How to cycle +5v power on individual ports via software

Thu Oct 11, 2018 2:42 pm

auberonx wrote:
Thu Oct 11, 2018 5:38 am
I found this thread: https://www.raspberrypi.org/forums/view ... hp?t=93463 but it seems back in 2016 the question of how to cycle the +5v power on individual ports via software wasn't really answered/addressed.

Is it possible to cycle the +5v power on individual ports via software, ideally Python?
No, unequivocally no, it is not possible to selectively turn off the 5 volt supply to individual USB ports.
Quis custodiet ipsos custodes?

auberonx
Posts: 4
Joined: Sat Apr 09, 2016 5:25 am

Re: How to cycle +5v power on individual ports via software

Mon Oct 15, 2018 3:01 pm

Thanks for clarifying that! I decided to just get a relay.

Return to “Advanced users”