You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello - I downloaded hubpower.c and compiled with:
gcc -o hubpower hubpower.c - and it compiled ok.
Here is what I get when I use it:
wolff@wolff:/Documents/install/hubpower$ lsusb
Bus 001 Device 003: ID 0a5c:5801 Broadcom Corp. BCM5880 Secure Applications Processor with fingerprint swipe sensor
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 0781:5575 SanDisk Corp. Cruzer Glide
Bus 003 Device 003: ID 2357:0604 TP-Link TP-Link UB500 Adapter
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
wolff@wolff:/Documents/install/hubpower$ ./hubpower 0781:5575 power off
Usage: hubpower busnum:devnum power {portnum (on|off)} ...
hubpower busnum:devnum reset {portnum (on|off)} ...
hubpower busnum:devnum enable {portnum (on|off)} ...
hubpower busnum:devnum status
hubpower busnum:devnum bind
wolff@wolff:/Documents/install/hubpower$ ./hubpower 0781:5575 power on
Usage: hubpower busnum:devnum power {portnum (on|off)} ...
hubpower busnum:devnum reset {portnum (on|off)} ...
hubpower busnum:devnum enable {portnum (on|off)} ...
hubpower busnum:devnum status
hubpower busnum:devnum bind
wolff@wolff:/Documents/install/hubpower$ ./hubpower 0781:5575 power
Usage: hubpower busnum:devnum power {portnum (on|off)} ...
hubpower busnum:devnum reset {portnum (on|off)} ...
hubpower busnum:devnum enable {portnum (on|off)} ...
hubpower busnum:devnum status
hubpower busnum:devnum bind
wolff@wolff:~/Documents/install/hubpower$ ./hubpower 0781:5575 status
Usage: hubpower busnum:devnum power {portnum (on|off)} ...
hubpower busnum:devnum reset {portnum (on|off)} ...
hubpower busnum:devnum enable {portnum (on|off)} ...
hubpower busnum:devnum status
hubpower busnum:devnum bind
Seems to always give me the help menu
The text was updated successfully, but these errors were encountered:
Hello - I downloaded hubpower.c and compiled with:
gcc -o hubpower hubpower.c - and it compiled ok.
Here is what I get when I use it:
wolff@wolff:
/Documents/install/hubpower$ lsusb/Documents/install/hubpower$ ./hubpower 0781:5575 power offBus 001 Device 003: ID 0a5c:5801 Broadcom Corp. BCM5880 Secure Applications Processor with fingerprint swipe sensor
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 0781:5575 SanDisk Corp. Cruzer Glide
Bus 003 Device 003: ID 2357:0604 TP-Link TP-Link UB500 Adapter
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
wolff@wolff:
Usage: hubpower busnum:devnum power {portnum (on|off)} ...
hubpower busnum:devnum reset {portnum (on|off)} ...
hubpower busnum:devnum enable {portnum (on|off)} ...
hubpower busnum:devnum status
hubpower busnum:devnum bind
wolff@wolff:
/Documents/install/hubpower$ ./hubpower 0781:5575 power on/Documents/install/hubpower$ ./hubpower 0781:5575 powerUsage: hubpower busnum:devnum power {portnum (on|off)} ...
hubpower busnum:devnum reset {portnum (on|off)} ...
hubpower busnum:devnum enable {portnum (on|off)} ...
hubpower busnum:devnum status
hubpower busnum:devnum bind
wolff@wolff:
Usage: hubpower busnum:devnum power {portnum (on|off)} ...
hubpower busnum:devnum reset {portnum (on|off)} ...
hubpower busnum:devnum enable {portnum (on|off)} ...
hubpower busnum:devnum status
hubpower busnum:devnum bind
wolff@wolff:~/Documents/install/hubpower$ ./hubpower 0781:5575 status
Usage: hubpower busnum:devnum power {portnum (on|off)} ...
hubpower busnum:devnum reset {portnum (on|off)} ...
hubpower busnum:devnum enable {portnum (on|off)} ...
hubpower busnum:devnum status
hubpower busnum:devnum bind
Seems to always give me the help menu
The text was updated successfully, but these errors were encountered: