main part of this program copy from
http://www.ebimemo.net/diary/pic/201105/hub-ctl.c
http://www.gniibe.org/oitoite/ac-power-control-by-USB-hub/
http://www.ebimemo.net/diary/?date=20110530
http://yamada468.blogspot.jp/2012/05/usbonoff.html
http://atdiary.jp/yasuro/entry/2013/04/29/182365.html
plz see
usb_hub_port1_power_ctr_test.c