From 15321d392afac37768ceb8015037e8d1005df03d Mon Sep 17 00:00:00 2001 From: Vadim Mikhailov Date: Fri, 28 Jul 2017 11:30:29 -0700 Subject: add a note about Windows compatibility --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a9ab3bc..d6f3589 100644 --- a/README.md +++ b/README.md @@ -56,8 +56,11 @@ Compiling This utility was tested to compile and work on Linux (Ubuntu, Redhat/Fedora/CentOS), FreeBSD and Mac OS X. -It should be possible to compile it for Windows as well - -please report if you succeed in doing that. + +While `uhubctl` compiles on Windows, USB power switching does not work on Windows because `libusb` +is using `winusb.sys` driver, which according to Microsoft does not support +[necessary USB control requests](https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f680b63f-ca4f-4e52-baa9-9e64f8eee101). +This may be fixed if `libusb` starts supporting different driver on Windows. First, you need to install library libusb-1.0 (version 1.0.12 or later): -- cgit v1.2.3