382 Commits

Author SHA1 Message Date
Vadim Mikhailov
7bf80a08d1 Update Rasperry Pi 4B USB topology note
Apparently, controlling only port 4 is not enough to actually turn power off for RPi4B.
Instead, note that all 4 ports should be turned off. Closes #233.
2020-04-24 17:45:01 -07:00
Vadim Mikhailov
b73213dd6d Mention testing VBUS off in README before reporting new devices 2020-04-14 22:53:38 -07:00
Vadim Mikhailov
e327f5aeb1 Move keyboard/mouse warning to usage section 2020-04-14 22:47:21 -07:00
Vadim Mikhailov
9b824b5587 Add Control USB Lamp With Voice to notable projects
Also fix some broken links.
2020-04-14 22:38:49 -07:00
Vadim Mikhailov
aa864285b1 Add LG Electronics 38WK95C-W as supported device
Closes #231.
2020-04-14 22:15:16 -07:00
Vadim Mikhailov
fa524cf7df Add AmazonBasics HUC9002V1ESL as supported device
AmazonBasics HUC9002V1ESL seems to be EU version of HU9002V1SBL and works the same.
Closes #229.
2020-04-04 13:27:11 -07:00
Vadim Mikhailov
7fd3080f90 Add Raspberry Pi Reboot Router into notable projects 2020-04-04 10:38:40 -07:00
Vadim Mikhailov
e3734e052f Provide workaround for using uhubctl on MacOS Catalina
This provides workaround for issue #227.
Will be fully solved only by https://github.com/libusb/libusb/issues/707.
2020-03-26 21:30:02 -07:00
Vadim Mikhailov
d576db98fb Mention udisksctl in README 2020-02-25 22:21:43 -08:00
Vadim Mikhailov
9e402917dc Add Bytecc BT-UH340 as compatible device
Reported in #217.
2020-02-25 22:11:56 -08:00
Vadim Mikhailov
b0d321a041 Add D-Link DUB-H4 rev E as supported device
Reported in #212.
2020-02-17 11:26:25 -08:00
Vadim Mikhailov
0d2aa24bae Remove statement about proper per-port switching on RPi3B+
Per discussion in issue #215, proper per-port power switching
is not necessarily supported on RPi3B+ secondary hub ports.
2020-02-17 11:21:17 -08:00
Vadim Mikhailov
bd92bcef2f Add a warning and link how to update RPi4B firmware to make power switching work 2020-01-28 11:24:49 -08:00
Vadim Mikhailov
ea70731854 Use in-document anchors to Raspberry Pi usage examples 2020-01-27 23:41:30 -08:00
Vadim Mikhailov
6366aea0bd Refactor Raspberry Pi USB topology table with sub-headers 2020-01-27 23:33:53 -08:00
Vadim Mikhailov
232dcc6f6d Clarify support for different Raspberry Pi models with example commands
* Reformat markdown
* Add example uhubctl commands to turn power off for affected port(s)
* Removed some low level techical details about USB descriptors
2020-01-21 23:58:17 -08:00
Vadim Mikhailov
5691db3379 Add Buffalo BSH4A05U3BK as supported device 2020-01-21 23:04:02 -08:00
Vadim Mikhailov
fae3da7e6f Bump copyright year 2020-01-20 12:14:48 -08:00
Vadim Mikhailov
c79c9ac667 Add Basler 2000036234 as supported device
Reported in #208.
2020-01-20 12:09:36 -08:00
Ryan O'Leary
7f25162ed3 Add AmazonBasics HU9002V1SBL as a Supported Device
Signed-off-by: Ryan O'Leary <ryanoleary@google.com>
2020-01-07 23:01:04 -08:00
Vadim Mikhailov
6f84663c6a Clarify VBUS off requirements for Raspberry Pi 4 2020-01-05 14:05:25 -08:00
Vadim Mikhailov
4aae44ced0 Add support for Raspberry Pi 4
Hack to support Raspberry Pi 4:

* Override ganged power switching reported by USB2 hub as per-port. This is not necessarily true,
  but is consistent with per-port power switching returned by dual USB3 root hub.
  Proper fix is for Raspberry Pi 4 USB firmware to return consistent descriptor information.

* When root USB3 hub is detected on RPi4 without ContainerID, it is assumed to have
  ContainerID of dual USB2 hub, so USB2/3 duality is still working as expected.
  Proper fix would be for USB3 root hub to report correct ContainerID.
2020-01-05 13:43:14 -08:00
Mark Deneen
9857849c0e Update license hash to correct value, fixing yocto building 2019-11-18 13:51:49 -08:00
Vadim Mikhailov
821cdb8833 Update Dell U2415 info 2019-11-15 00:11:09 -08:00
Vadim Mikhailov
c387442b0c Add D-Link DUB-H4 rev B as supported device
Reported in #188.
2019-11-12 17:58:21 -08:00
Vadim Mikhailov
b690bd376a Add Belkin F5U101 as supported device
Reported in #187.
2019-11-12 17:58:21 -08:00
Vadim Mikhailov
c220668adc Add Dell UltraSharp U2415 as supported device
Reported in #191
2019-11-12 12:01:07 -08:00
Karsten Hohmeier
3e10680f22 Fix compile warning about format truncation by increasing buffer size for description 2019-11-05 13:52:24 -08:00
Vadim Mikhailov
39b407a863 Add Juiced Systems 6+1+1 USB 3.0 Gigabit Ethernet Smart Charging Hub (6HUB-01) as supported device
Reported in #184.
2019-11-01 22:27:14 -07:00
Vadim Mikhailov
d227c8326f Don't complain about USB permission problems if we are already root 2019-10-23 22:52:44 -07:00
Vadim Mikhailov
743ecf226b Relax level check when looking for USB2/3 dual hubs
Some devices (notably Raspberry 4B) have USB3 hub that advertises
its USB2 compatibility partner at different depth level.
Raspberry 4B onboard hub doesn't yet support uhubctl directly
(but it should once https://github.com/raspberrypi/linux/issues/3079 is fixed),
but this breaks level check restriction for any external USB3 hub attached to RPi4B
- so this check has been removed.
2019-10-16 23:25:36 -07:00
Vadim Mikhailov
fd611df1e7 Remove Coolgear USBG-4U3MLR2 from supported list
After deeper look, it turns out that this hub doesn't really work,
see more in issue #177.
2019-10-16 23:20:53 -07:00
Vadim Mikhailov
a6cdc3dc4b Remove Plugable USB2-HUB10S from supported list
As reported in issue #181, Plugable USB2-HUB10S does not support per-port power switching.
2019-10-08 18:15:19 -07:00
Vadim Mikhailov
609d0bcae1 Clarify which revisions of D-Link hubs are working 2019-10-05 20:48:00 -07:00
Vadim Mikhailov
54365acb8d Update info for Coolgear USBG-4U3MLR2 2019-10-01 10:33:36 -07:00
Vadim Mikhailov
6e5782c3b7 Add Coolgear USBG-4U3MLR2 as supported device
Reported in #177.
2019-09-26 22:23:07 -07:00
Vadim Mikhailov
59447ce431 Add ThinkPad Ultra Docking Station 40AJ0135EU as supported device
Reported in #176.
2019-09-24 12:47:15 -07:00
Vadim Mikhailov
05647714b6 Apply debian hardening suggestions for Linux
Follow hardening tips per https://wiki.debian.org/Hardening.
We have already applied `-z relro` before, now add `-z now` as well.
2019-09-20 17:43:36 -07:00
Vadim Mikhailov
4818eddc03 FreeBSD is using bNumDeviceCapabilities instead of bNumDeviceCaps
FreeBSD libusb is different from mainline libusb, and needs hacks here and there :-(

This resolves issue #175.
2019-09-20 15:29:30 -07:00
Vadim Mikhailov
c9fa3c68a1 Release version 2.1.0 v2.1.0 2019-09-02 23:12:50 -07:00
Vadim Mikhailov
beea0c0fc7 Use longer git hash for dirty version 2019-09-02 23:12:46 -07:00
Vadim Mikhailov
1856ae9d59 Use --location for long option name
Add --location as long option name - it is still backwards compatible with --loc.
2019-09-02 23:09:56 -07:00
Jonathan Liu
2b9b336038 Add Phidgets HUB0003_0 as supported device 2019-08-29 22:25:16 -07:00
Vadim Mikhailov
1961aa02e9 Add explicit workaround for USB device not removed after port power down on Linux 2019-07-31 13:14:24 -07:00
Vadim Mikhailov
5db248771e Add support for NetBSD
This adds support to be able to build and use uhubctl on NetBSD by using pkg-config to get proper CFLAGS and LDFLAGS.
Perhaps we should use pkg-config universally across all platforms,
but I don't want to potentially break support for existing plaftorms
because pkg-config does not seem to be unconditionally available everywhere.
2019-07-26 18:00:49 -07:00
Vadim Mikhailov
9cae5e275f Add ThinkPad X6 Ultrabase as supported device
Reported in #165.
2019-07-23 21:31:20 -07:00
Vadim Mikhailov
324acc66fd Add status for Raspberry 4B support
Added a link to Raspberry 4B issue https://github.com/raspberrypi/linux/issues/3079.
Once this is fixed in firmware, uhubctl should start working on 4B.
2019-07-22 23:21:47 -07:00
Vadim Mikhailov
15f2d37d79 Add buildenlights (red/green project status lights) to notable projects 2019-07-22 22:53:00 -07:00
Vadim Mikhailov
5f8426105c USB2/3 duality: require serial numbers match only if both present
I have observed a hub which had serial number present for USB2 compatibility hub,
but not for USB3, which broke USB2/3 duality handling:

    Current status for hub 4-4 [0451:8140, USB 3.00, 4 ports]
      Port 1: 06a0 power Rx.Detect
      Port 2: 06a0 power Rx.Detect
      Port 3: 06a0 power Rx.Detect
      Port 4: 06a0 power Rx.Detect
    Current status for hub 3-13 [0451:8142 210C08692601, USB 2.10, 4 ports]
      Port 1: 0100 power
      Port 2: 0100 power
      Port 3: 0100 power
      Port 4: 0100 power

This fix will only compare serial numbers if they are both present.
2019-07-15 10:45:21 -07:00
Vadim Mikhailov
945d08e62c Add FAQ
Added FAQ with issues that are often asked  and tend to have duplicate issues opened.
2019-07-13 18:14:55 -07:00