AC Power Control through USB

1. Purpose

Rebooting remote system, AC Power Control is only reliable way.

2. Constraints/Requirements

Any hacker around embedded system has his/her own solution for AC Power Control, so, there are bunch of home-brewed solutions out there. Besides, there are some expensive products.

Those solutions and products don't match general use. For general use, here are constraints/requirements:

3. The Definite Solution

It is TANAKA Akira who invented this solution, that is,
  USB-coupled AC Power Cable
           +
  USB port power control
           =
  AC Power Control through USB
NIIBE Yutaka implemented it on GNU/Linux, as hub-ctrl.c.

It's cheap: USD$35 (Power cable) + USD$25 (USB Hub) = USD$60.

It's common (available any large computer shops in Japan), and convenient (just plug in USB hub into your computer and connect AC Power Cable). No Soldering Iron or any magic is required.

4. USB-coupled AC Power Cable

In JAPAN

List of USB-coupled AC Power Cable:

5. USB Port Power Control

This feature is specified in USB 2.0 Specification. USB Hub has feature to control port power. If it supports this feature, it's 'Hub Descriptor' should have relevant value at wHubCharacteristic field.

Using lsusb utilities with -v option, you can inspect 'Hub Descriptor', such like:

   Hub Descriptor:
   [...]
     wHubCharacteristic 0x0089
       Per-port power switching
       Per-port overcurrent protection
       Port indicators
   [...]
CAUTION: Although many chips implemented this feature, many products omit the circuit of power control, unfortunately.

List of USB Hubs known to support USB Port Power Control:

List of USB Hubs known to NOT support USB Port Power Control:

6. Implementation(s)

Initial Implementation: Kernel hack

Second Implementation: User space

7. Retrospect

The idea of USB-coupled AC power seemed old (more than 10 years). Here are the products information (which are not available any more).
$Id: ac-power-control.html,v 1.7 2006/01/28 00:36:53 gniibe Exp $
NIIBE Yutaka and TANAKA Akira


Number of visits: 16223
|
|
|
|
|
|
|
|
|
|
###
#####
#######
#########
###########
#################
###############################
#################################
###################################
#####################################
#######################################
#########################################
===========================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#############
###################
#####################
#######################
#########################
###########################
#############################
===========================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############
===========================================