Print

mkdir ~/hub-ctrl
cd ~/hub-ctrl
wget http://www.gniibe.org/oitoite/ac-power-control-by-USB-hub/hub-ctrl.c
mips-openwrt-linux-uclibc-gcc   hub-ctrl.c -o hub-ctrl \
-I${CFLAGS} -L${LDFLAGS} \
-Wl,-rpath-link=${LDFLAGS}  -lusb

mips-openwrt-linux-uclibc-strip hub-ctrl
scp hub-ctrl root@192.168.0.102:/mnt/sda1

Control per port power/per indicator LED of USB Hub