summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Commit Debian 3.0 (quilt) metadatadebian/2.0.0-2archive/debian/2.0.0-2gustavo panizzo2018-07-31
| | | | [dgit (6.2) quilt-fixup]
* Doing a noop Debian releasegustavo panizzo2018-07-31
|
* debian-waysgustavo panizzo2018-07-31
| | | Gbp-Pq: Name debian-ways
* git-debrebase import: declare upstreamgustavo panizzo2018-07-31
|\ | | | | | | | | | | First breakwater merge. [git-debrebase anchor: declare upstream]
* | git-debrebase convert-from-gbp: drop patches from treegustavo panizzo2018-07-31
| | | | | | | | | | | | Delete debian/patches, as part of converting to git-debrebase format. [git-debrebase convert-from-gbp: drop patches from tree]
* | Make a Debian releasegustavo panizzo2018-03-11
| |
* | Install README.mdgustavo panizzo2018-03-11
| |
* | Add patch to properly show the package versiongustavo panizzo2018-03-11
| |
* | Add watch filegustavo panizzo2018-03-11
| |
* | Add autopkgtestsgustavo panizzo2018-03-11
| |
* | Initial Debian packaginggustavo panizzo2018-03-11
|/
* uhubctl 2.0.0Vadim Mikhailov2018-03-10
| | | | | | * Clarify that uhubctl will automatically handle USB3 duality. * Bump copyright year. * Mention more Linux distributions where uhubctl was tested to work.
* Add support for automatic USB2/3 dual power switchVadim Mikhailov2018-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add Plugable USB3-HUB7-81X as supported deviceVadim Mikhailov2018-03-01
| | | | | Adding this hub to supported list per this report: https://github.com/mvp/uhubctl/issues/54#issuecomment-369695596
* Add Plugable USB3-HUB7BC as supported deviceVadim Mikhailov2018-03-01
| | | | | | 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).
* Clarify support status for AmazonBasics hubsVadim Mikhailov2018-02-18
| | | | | | | | | 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.
* Add a note about USB 3.0 hubs duality and usage quirksVadim Mikhailov2018-02-15
|
* Merge pull request #71 from mvp/usb3mvp2018-02-15
|\ | | | | USB 3.0 support
| * Use appropriate power mask for USB2 vs USB3Vadim Mikhailov2018-02-14
| | | | | | | | | | | | | | 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.0Vadim Mikhailov2018-02-13
|/ | | | | | | | | * 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
* Clarify support status for AmazonBasics hubsVadim Mikhailov2018-02-02
| | | | | | | | | | | 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 D-Link DUB-H4 rev D1 as supported deviceVadim Mikhailov2018-02-02
|
* Add Cypress CY7C65632 HX2VL as supported deviceVadim Mikhailov2018-02-01
|
* Merge pull request #63 from jlmcgehee21/patch-1mvp2018-01-15
|\ | | | | Add 4 Port Amazon Basics Hub
| * Add 4 Port Amazon Basics HubJeff McGehee2018-01-15
|/ | | | | | | | | | ``` $ 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 ```
* Added note about Raspberry Pi behaviorVadim Mikhailov2017-10-02
| | | | | | | | 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.
* Use program version from git tagVadim Mikhailov2017-09-19
| | | | This should fix issue #51.
* Ignore -i, assume it is always onVadim Mikhailov2017-08-02
| | | | | Deprecate ignoring internal devices - it caused nothing but problems. Now we always consider all compatible USB devices.
* Removed Anker AK-A7518111 from compatible devices listVadim Mikhailov2017-08-02
| | | | | | 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.
* Add CyberPower CP-H420P as supported deviceVadim Mikhailov2017-07-28
| | | | Also fixed release/eol years for Apple Thunderbolt Display 27".
* fixed pragma push popVadim Mikhailov2017-07-28
|
* fixed all pedantic warningsVadim Mikhailov2017-07-28
| | | | Tested by compiling on Linux and Mac.
* add a note about Windows compatibilityVadim Mikhailov2017-07-28
|
* use C99 and enable pedantic checkingVadim Mikhailov2017-07-28
| | | | | Also simplify ifdef spaghetti. Remove _WIN64 use as _WIN32 is defined on both Win32 and Win64.
* fix: windows somewhat not compatible with POSIXapla2017-07-28
|
* Merge pull request #44 from apla/mac-homebrewmvp2017-07-27
|\ | | | | Mac homebrew installation
| * docs: how to install with homebrewivan baktsheev2017-07-27
| |
| * Added formula for homebrewivan baktsheev2017-07-27
|/
* Add Maplin A08CQ as supported deviceVadim Mikhailov2017-06-20
|
* Relax OCPM check to enable Raspberry Pi supportVadim Mikhailov2017-06-13
| | | | | | | | 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.
* Add Microchip EVB-USB2517 eval board as supported deviceVadim Mikhailov2017-06-06
|
* Add ThinkPad X200 Ultrabase as supported deviceVadim Mikhailov2017-06-03
|
* Print info about devices we can control power on if possibleVadim Mikhailov2017-06-01
| | | | | | | | 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.
* Merge pull request #34 from durka/reset-hubmvp2017-05-20
|\ | | | | fix docs for -R (from #30)
| * fix docs for -R (from #30)Alex Burka2017-05-20
| |
* | Add Sunix SHB4200MA as compatible deviceVadim Mikhailov2017-05-18
| |
* | Merge pull request #30 from durka/reset-hubmvp2017-05-18
|\| | | | | add option to reset hub after turning device on
| * add option to reset hub after operationHaptics NUC2017-05-17
|/
* Add information about release and EOL years for supported hubsVadim Mikhailov2017-04-11
|
* Add support for FreeBSD and MacPorts on MacVadim Mikhailov2017-04-06
|