From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-x236.google.com (mail-vk0-x236.google.com [IPv6:2607:f8b0:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 668273B25E for ; Wed, 27 Apr 2016 15:25:45 -0400 (EDT) Received: by mail-vk0-x236.google.com with SMTP id m188so5980195vka.1 for ; Wed, 27 Apr 2016 12:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=AcCoTHALkMsX1E0R2QoeZu5T4BsgpKEMxmowFu9QTqQ=; b=vhQQuAXoIDpgWZIYHVd3yHhB/EJBpQJG/6MvOGnDgx4u7vBxRCWUjUqT9hn51TeVaa y7yjBariSj67dILbmilCRBD5vmi1rTSva5unbyxfah6a3LhgsR3POUuSdvwmEvKyuZ0/ Wd9NTbbm57x05zJ81Hau9ghrDsfoWDEq/q78jeUDKV/GVsZh6r8Rv4t9I/+yQPTpbtIO 5VE85GSSJBRIzjn21HOYYxJ5ut5m89S3SFirlFIrctpMWjeoGuxch6HrFn/hFczLmztu N+NBvnSqA6m4lCQTDETw0Xdyt7U4mu19iqpoCpNoH1m0tqQrzfP3u2tC1CszYFSFUnry z9zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=AcCoTHALkMsX1E0R2QoeZu5T4BsgpKEMxmowFu9QTqQ=; b=lH9E4/OokYfxsCP/J/Z9OFFoteaJ/+ABaseN7OWHSfs656uDIc5qCgJ9WAbiGMOZg/ wo7iP7NhDIdx803Ca3dJ2IIGgDuXImNwTFdLXYbWctUX4BE1K5Thpq8xuHxNGXvI0HKf d+p5wn3mWmMj882ntH1fQ5jK3CWKPylcu/FltV5Xy94iCsWUFbwnv+c8XRksJbb2B0Zd Mr1WtwEwiF9Wp6ov+ThgnBwjVYC+t4N1xjVOyDgkD2x1Rsf7QTCFQFJhYpPqUcWZZEWw hLSYb0qI5QgX15HhV2p7WEZnLgm4HQ34SGIRa6MTzlB9/eyGXTL2q/1JPcfzWT8zKSaw xsJQ== X-Gm-Message-State: AOPr4FULHKeQBAbZlS4zMxe8lBmPKuAdIku/IBC/e3/m/8efqAZ48JYuKmz6Kaa1AkUS+IwVEYvLcBEWoL8g8Q== MIME-Version: 1.0 X-Received: by 10.31.16.157 with SMTP id 29mr435393vkq.40.1461785144897; Wed, 27 Apr 2016 12:25:44 -0700 (PDT) Received: by 10.103.44.70 with HTTP; Wed, 27 Apr 2016 12:25:44 -0700 (PDT) In-Reply-To: References: Date: Wed, 27 Apr 2016 12:25:44 -0700 Message-ID: From: Aaron Wood To: Dave Taht Cc: "cerowrt-devel@lists.bufferbloat.net" Content-Type: multipart/alternative; boundary=001a114361804cb75705317c6010 Subject: Re: [Cerowrt-devel] using a usb3 hub as a hackerboard power switch? X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2016 19:25:45 -0000 --001a114361804cb75705317c6010 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 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=C3=A4ht > 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 > --001a114361804cb75705317c6010 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Most USB hub chips I've seen don't have individual= lines per-port.=C2=A0 Instead they monitor the +5VDC rail for powering all= USB devices, and grant requests to use power based on a configured power b= udget (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 re= lay).=C2=A0 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).

=C2=A0I 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=C3=A4ht
Let's go make home routers and wifi faster! With better software!
ht= tp://blog.cerowrt.org
_______________________________________________
Cerowrt-devel mailing list
Cerowrt-devel@lists.= bufferbloat.net
https://lists.bufferbloat.net/listinfo/cerowrt-d= evel

--001a114361804cb75705317c6010--