| Commit message (Collapse) | Author | Age |
|
|
|
| |
[dgit (6.2) quilt-fixup]
|
| |
|
|
|
| |
Gbp-Pq: Name debian-ways
|
|\
| |
| |
| |
| |
| | |
First breakwater merge.
[git-debrebase anchor: declare upstream]
|
| |
| |
| |
| |
| |
| | |
Delete debian/patches, as part of converting to git-debrebase format.
[git-debrebase convert-from-gbp: drop patches from tree]
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
* Clarify that uhubctl will automatically handle USB3 duality.
* Bump copyright year.
* Mention more Linux distributions where uhubctl was tested to work.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When compatible USB3 hub connected to USB3 upstream port,
it is detected as 2 independent virtual hubs: USB2 and USB3,
and USB devices will be connected to USB2 or USB3 virtual hub
depending on their capabilities and connection speed.
To control power for physical USB3 hubs, we must turn off/on power
on both USB2 and USB3 virtual hubs for power off/on changes to take effect.
Included fixes:
* Enumerate all USB hubs, but mark ones we will work on with actionable flag.
Because of this, increased max size of hubs array to 128 (maybe need even more?).
* Moved all code that was getting hub info into get_hub_info().
* Display "power" status as first status flag if port is powered.
(uhubctl is about USB port power, and we should display power as first flag).
* Display "off" status for USB3 port when it is off (was "5gbps SS.Disabled").
This makes both USB2 and USB3 status to display "off" consistently.
* Added expert option --exact which disables USB3 duality handling.
* Added small wait (150ms) after turning off USB3 port.
It seems that USB3 reacts slowly to power off command.
Perhaps we need to implement more deterministic approach for this,
e.g. keep querying new power state few times until it has finally changed.
Oddly enough, power on is always instant and does not need waiting.
This fixes issue #72.
|
|
|
|
|
| |
Adding this hub to supported list per this report:
https://github.com/mvp/uhubctl/issues/54#issuecomment-369695596
|
|
|
|
|
|
| |
It turns out that with uhubctl improved USB3 support
this hub actually works great if we turn off power
on both USB2 and USB3 virtual hubs ports (see issue #54).
|
|
|
|
|
|
|
|
|
| |
It turns out that AmazonBasics hubs actually work well -
USB3 hubs require changing power state for both USB2 and USB3
virtual hubs when connected to USB3 upstream port.
Perhaps we should implement changing state for both USB2 and USB3
automatically, but this will be tracked in separate issue.
|
| |
|
|\
| |
| | |
USB 3.0 support
|
| |
| |
| |
| |
| |
| |
| | |
USB3 should use USB_SS_PORT_STAT_POWER,
which is different from USB2 value USB_PORT_STAT_POWER.
Thanks to Stanislas Bertrand for spotting this bug!
|
|/
|
|
|
|
|
|
|
| |
* add support for USB 3.0 (superspeed USB)
* use snprintf (which is weird on Mac)
* get device description in unified way
* trim trailing whitespace from vendor/product strings
* finally remove deprecated -i option
* require hub location to change power if more than one supported hub detected
|
|
|
|
|
|
|
|
|
|
|
| |
AmazonBasics hubs have conflicting reports about
power switching support (issues #17, #26, #50, #54, #57, #58).
Apparently, there are some hardware revisions
that support it properly, and others do not.
To avoid confusion, we say that not all AmazonBasics hubs
work as expected. That said, it would be great to find out
which hardware revisions actually work.
|
| |
|
| |
|
|\
| |
| | |
Add 4 Port Amazon Basics Hub
|
|/
|
|
|
|
|
|
|
|
| |
```
$ uhubctl
Current status for hub 20-1, vendor 2109:2811, 4 ports
Port 1: 0100 power
Port 2: 0100 power
Port 3: 0100 power
Port 4: 0100 power
```
|
|
|
|
|
|
|
|
| |
Raspberry Pi can only use USB port 2 to control power on all ports.
Trying to control any other port is not guaranteed.
For some models, USB port 1 is wired to control Ethernet/Wifi.
Also, mention Mac support issues and workarounds.
|
|
|
|
| |
This should fix issue #51.
|
|
|
|
|
| |
Deprecate ignoring internal devices - it caused nothing but problems.
Now we always consider all compatible USB devices.
|
|
|
|
|
|
| |
There are multiple reports that Anker AK-A7518111
power switching does not really cut off USB port power.
Removing it from compatibility list to avoid confusion.
|
|
|
|
| |
Also fixed release/eol years for Apple Thunderbolt Display 27".
|
| |
|
|
|
|
| |
Tested by compiling on Linux and Mac.
|
| |
|
|
|
|
|
| |
Also simplify ifdef spaghetti.
Remove _WIN64 use as _WIN32 is defined on both Win32 and Win64.
|
| |
|
|\
| |
| | |
Mac homebrew installation
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
| |
We only really require LPSM supported per port.
OCPM can be supported per port or ganged.
This is necessary to support Raspberry Pi.
Bump version to 1.7.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Print information about connected devices in following format:
[VID:PID Vendor Product SerialNumber].
However, some of these items may be skipped if they are not possible to obtain.
For example, on Linux, VID:PID should always work, but getting Vendor/Product/SerialNumber
requires having udev permissions for USB devices in question or running uhubctl as root.
|
|\
| |
| | |
fix docs for -R (from #30)
|
| | |
|
| | |
|
|\|
| |
| | |
add option to reset hub after turning device on
|
|/ |
|
| |
|
| |
|