Power off USB port

1. git clone git://github.com/heiher/hubpower.git
2. gcc -o hubpower hubpower.c

Usage: hubpower busnum:devnum power {portnum (on|off)} …
hubpower busnum:devnum status
hubpower busnum:devnum bind

ThinkWill MI800 无线模块不知道怎么回事,用着用着就出问题了,然后只能关机(重启都不行)才能恢复。后来认为断电就可以了,有了 hubpower 就可以软件解决了,无需重启。

Over!

Leave a Reply

Your email address will not be published. Required fields are marked *