readme: the Windows situation has been altered
Pray I do not alter it further.
This commit is contained in:
parent
42e15a813a
commit
a9e8819b3e
@ -24,7 +24,7 @@ Unfortunately, all platforms have additional steps that must be taken (some easi
|
||||
|
||||
#### Windows
|
||||
|
||||
This compiles for, and runs on, Windows. However, the Labjack U12 by default gets assigned the Windows USB HID driver, which causes the USB report descriptor control transfer read to get mangled for mystery reasons that presumably made sense to some egghead at Microsoft at some point in time. Fortunately, this can be relatively easily fixed by using a tool like [zadig] to set the Labjack U12 to use the WinUSB driver instead of the HID driver. This is not an endorsement of the above outlined process, but rather an explanation for persons either foolish or desperate.
|
||||
This compiles for, and runs on, Windows. However, in order for it to work out of the box, it has to link against the (proprietary) Windows LabJack U12 driver instead of the open source libUSB driver. This has two main limitations: the Windows driver is only available for the `x86` and `x86-64` architectures, and it is exclusively distributed as a dynamic library, meaning that `yaes.exe` must be distributed alongside `ljackuw.dll`. When building for Windows targets, the appropriate library file will be copied to the binary installation directory (`zig-out/bin` by default).
|
||||
|
||||
#### macOS
|
||||
|
||||
@ -33,5 +33,3 @@ This works on macOS, though it has to be run with `sudo`, as access to the USB h
|
||||
#### Linux
|
||||
|
||||
You probably need to install the included udev rules file in order for the USB device to be accessible as a user. This is buried in the source tree as `deps/labjack/exodriver/90-labjack.rules`. These should probably go in `/etc/udev/rules.d` if you are installing them manually and I have properly understood the various Linux folder conventions.
|
||||
|
||||
[zadig]: https://zadig.akeo.ie
|
||||
|
Loading…
x
Reference in New Issue
Block a user