* [Cerowrt-devel] using a usb3 hub as a hackerboard power switch?
@ 2016-04-27 18:44 Dave Taht
2016-04-27 19:25 ` Aaron Wood
2016-04-29 9:54 ` Toke Høiland-Jørgensen
0 siblings, 2 replies; 4+ messages in thread
From: Dave Taht @ 2016-04-27 18:44 UTC (permalink / raw)
To: cerowrt-devel
I am curious if there would be a way to use a powered usb3 hub to
individually be able to address and power cycle the ports individually
on it?
I have accumulated enough hackerboards powered via usb that it would
make sense to just power them all that way... kind of like I already
do with these:
http://www.digital-loggers.com/lpc.html
and just use that (rather than an individual power supply for each).
I am perpetually locking one up or losing connectivity to it for some
reason or another.
I figure somewhere in the usb spec/protocol/device driver/whatever
there would be a simple command to just flip the power on and off to
the port....
--
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Cerowrt-devel] using a usb3 hub as a hackerboard power switch?
2016-04-27 18:44 [Cerowrt-devel] using a usb3 hub as a hackerboard power switch? Dave Taht
@ 2016-04-27 19:25 ` Aaron Wood
2016-04-29 9:54 ` Toke Høiland-Jørgensen
1 sibling, 0 replies; 4+ messages in thread
From: Aaron Wood @ 2016-04-27 19:25 UTC (permalink / raw)
To: Dave Taht; +Cc: cerowrt-devel
[-- Attachment #1: Type: text/plain, Size: 1561 bytes --]
Most USB hub chips I've seen don't have individual lines per-port. Instead
they monitor the +5VDC rail for powering all USB devices, and grant
requests to use power based on a configured power budget (how many amps the
supply can push).
To hack it, I'd use a Pi with it's relay modules and cut the traces to the
port, and then splice in a relay from the module (normally closed side of
the relay). Then when you need to power-cycle, tell the Pi to cycle output
X.
-Aaron
On Wed, Apr 27, 2016 at 11:44 AM, Dave Taht <dave.taht@gmail.com> wrote:
> I am curious if there would be a way to use a powered usb3 hub to
> individually be able to address and power cycle the ports individually
> on it?
>
> I have accumulated enough hackerboards powered via usb that it would
> make sense to just power them all that way... kind of like I already
> do with these:
>
> http://www.digital-loggers.com/lpc.html
>
> and just use that (rather than an individual power supply for each).
>
> I am perpetually locking one up or losing connectivity to it for some
> reason or another.
>
> I figure somewhere in the usb spec/protocol/device driver/whatever
> there would be a simple command to just flip the power on and off to
> the port....
>
> --
> Dave Täht
> Let's go make home routers and wifi faster! With better software!
> http://blog.cerowrt.org
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>
[-- Attachment #2: Type: text/html, Size: 2341 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Cerowrt-devel] using a usb3 hub as a hackerboard power switch?
2016-04-27 18:44 [Cerowrt-devel] using a usb3 hub as a hackerboard power switch? Dave Taht
2016-04-27 19:25 ` Aaron Wood
@ 2016-04-29 9:54 ` Toke Høiland-Jørgensen
2016-04-29 15:02 ` Dave Taht
1 sibling, 1 reply; 4+ messages in thread
From: Toke Høiland-Jørgensen @ 2016-04-29 9:54 UTC (permalink / raw)
To: Dave Taht; +Cc: cerowrt-devel
Dave Taht <dave.taht@gmail.com> writes:
> I am curious if there would be a way to use a powered usb3 hub to
> individually be able to address and power cycle the ports individually
> on it?
https://www.yepkit.com/ has one of these - USB2 only, though, but there
are specs available...
-Toke
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Cerowrt-devel] using a usb3 hub as a hackerboard power switch?
2016-04-29 9:54 ` Toke Høiland-Jørgensen
@ 2016-04-29 15:02 ` Dave Taht
0 siblings, 0 replies; 4+ messages in thread
From: Dave Taht @ 2016-04-29 15:02 UTC (permalink / raw)
To: Toke Høiland-Jørgensen; +Cc: cerowrt-devel
On Fri, Apr 29, 2016 at 2:54 AM, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
> Dave Taht <dave.taht@gmail.com> writes:
>
>> I am curious if there would be a way to use a powered usb3 hub to
>> individually be able to address and power cycle the ports individually
>> on it?
>
> https://www.yepkit.com/ has one of these - USB2 only, though, but there
> are specs available...
That would be a start, but insufficient power and not enough ports.
with the upcoming USB-C standard I suspect someone will twig as to the
usefulness of having a on/off switch on each port that can be
automagically controlled.....
>
> -Toke
--
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-04-29 15:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-27 18:44 [Cerowrt-devel] using a usb3 hub as a hackerboard power switch? Dave Taht
2016-04-27 19:25 ` Aaron Wood
2016-04-29 9:54 ` Toke Høiland-Jørgensen
2016-04-29 15:02 ` Dave Taht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox