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
uhubctl is in homebrew core now - remove obsolete files, update readme
* remove custom homebrew tap - uhubctl is included in homebrew core now.
* remove bitbake recipe - it does not seem to be used for years now,
and it should not have been committed in first place.
* add `installing` paragraph to readme. since most relevant OS include uhubctl
in standard package managers now, most people don't want to compile it,
but instead know how to install it quickly.
* update short links to not use bit.ly as it became very spammy now.
* update few expired links to point to archive.org cache.
* add `all` target to Makefile (FreeBSD ports want `all` target to always exist).
While `uhubctl` compiles on Windows, USB power switching does not work on Windows because `libusb`
163
180
is using `winusb.sys` driver, which according to Microsoft does not support
164
-
[necessary USB control requests](https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f680b63f-ca4f-4e52-baa9-9e64f8eee101).
181
+
[necessary USB control requests](https://web.archive.org/web/20210225235523/https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f680b63f-ca4f-4e52-baa9-9e64f8eee101/how-to-send-an-quotusb-control-requestquot-to-an-usbhub?forum=wdk).
165
182
This may be fixed if `libusb` starts supporting different driver on Windows.
166
183
167
-
Note that it is highly recommended to have utility `pkg-config` installed
168
-
(many platforms provide it in package `pkg-config` or `pkgconf`,
169
-
often it is installed by default).
184
+
Note that it is highly recommended to have utility `pkgconf` (or `pkg-config`) installed
185
+
(often it is installed by default).
170
186
171
187
First, you need to install library libusb-1.0 (version 1.0.13 or later is required,
172
188
1.0.23 or later is recommended):
@@ -192,17 +208,6 @@ You can install it in your system as `/usr/sbin/uhubctl` using:
192
208
193
209
Note that on some OS (e.g. FreeBSD/NetBSD) you need to use `gmake` instead to build.
194
210
195
-
Also, on MacOS you can install `uhubctl` with all necessary dependencies in one shot using Homebrew tap:
196
-
197
-
```
198
-
brew tap mvp/uhubctl https://github.com/mvp/uhubctl
199
-
brew install uhubctl
200
-
```
201
-
To build/install from master branch, use `--HEAD`:
202
-
```
203
-
brew install uhubctl --HEAD
204
-
```
205
-
206
211
Usage
207
212
=====
208
213
@@ -334,7 +339,7 @@ Per-port power switching:
334
339
After powering down USB port, udev does not get any event, so it keeps the device files around.
335
340
However, trying to access the device files will lead to an IO error.
336
341
337
-
This is Linux kernel [issue](https://bit.ly/2JzczjZ) and is [fixed](https://github.com/mvp/uhubctl/pull/450)
342
+
This is Linux kernel [issue](https://tinyurl.com/ym7yvuzw) and is [fixed](https://github.com/mvp/uhubctl/pull/450)
338
343
since uhubctl 2.5.0 for systems with Linux kernel 6.0 or later.
339
344
340
345
If you are still using Linux 5.x or older, you can use this workaround for this issue:
@@ -350,7 +355,7 @@ When you turn power back on, device should re-enumerate properly (no need to cal
350
355
351
356
Some device drivers in kernel are surprised by USB device being turned off and automatically try to power it back on.
352
357
353
-
This is Linux kernel [issue](https://bit.ly/2JzczjZ) and is [fixed](https://github.com/mvp/uhubctl/pull/450)
358
+
This is Linux kernel [issue](https://tinyurl.com/ym7yvuzw) and is [fixed](https://github.com/mvp/uhubctl/pull/450)
354
359
since uhubctl 2.5.0 for systems with Linux kernel 6.0 or later.
355
360
356
361
If you are still using Linux 5.x or older:
@@ -411,7 +416,7 @@ For reference, supported Raspberry Pi models have following internal USB topolog
411
416
##### Raspberry Pi 4B
412
417
413
418
> :warning: If your VL805 firmware is older than `00137ad` (check with `sudo rpi-eeprom-update`),
414
-
you have to [update firmware](https://www.raspberrypi.org/documentation/hardware/raspberrypi/booteeprom.md)
419
+
you have to [update firmware](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#rpi-eeprom-update)
0 commit comments