Skip to content

Commit 6e05aee

Browse files
committed
uhubctl 2.0.0
* Clarify that uhubctl will automatically handle USB3 duality. * Bump copyright year. * Mention more Linux distributions where uhubctl was tested to work.
1 parent 812197f commit 6e05aee

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
uhubctl – USB hub per-port power control.
22

3-
Copyright (c) 2009-2017, Vadim Mikhailov
3+
Copyright (c) 2009-2018, Vadim Mikhailov
44

55
This program is free software; you can redistribute it and/or modify
66
it under the terms of the GNU General Public License as published by

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ USB 3.0 duality note
6363
If you have compatible USB 3.0 hub connected to USB3 upstream port,
6464
it will be detected as 2 independent virtual hubs: USB2 and USB3, and your USB devices will be
6565
connected to USB2 or USB3 virtual hub depending on their capabilities and connection speed.
66-
To control power for such hubs, you may need to turn off/on power on **both** USB2 and USB3
67-
virtual hubs for power off/on changes to take effect.
66+
To control power for such hubs, it is necessary to turn off/on power on **both** USB2 and USB3
67+
virtual hubs for power off/on changes to take effect. `uhubctl` will try to do this automatically
68+
(unless you disable this behavior with option `-e`).
69+
6870
Unfortunately, while most hubs will cut off data USB connection, some may still not cut off VBUS to port,
6971
which means connected phone may still continue to charge from port that is powered off by uhubctl.
7072

@@ -73,7 +75,7 @@ Compiling
7375
=========
7476

7577
This utility was tested to compile and work on Linux
76-
(Ubuntu, Redhat/Fedora/CentOS), FreeBSD and Mac OS X.
78+
(Ubuntu/Debian, Redhat/Fedora/CentOS, Arch Linux, Gentoo, OpenSUSE, Buildroot), FreeBSD and Mac OS X.
7779

7880
While `uhubctl` compiles on Windows, USB power switching does not work on Windows because `libusb`
7981
is using `winusb.sys` driver, which according to Microsoft does not support

0 commit comments

Comments
 (0)