[BRLTTY] Testing on Windows
Mario Lang
mlang at delysid.org
Fri Apr 7 15:38:16 EDT 2017
Samuel Thibault <samuel.thibault at ens-lyon.org> writes:
> The source seems to be downloadable on
>
> https://3rdpartysource.microsoft.com/download/Redistributed%20OSS/5.4/brltty-5.4.zip
>
> It seems to correspond to git 8d46edbf16 + a cherry-pick of 738c1d8b76
> (which was submitted by microsoft at the time).
There is one change I could isolate which was apparently never
submitted.
Note, that they (Marko?) have only done this to libusb.inf, not libusb-1.0.inf.
Samuel, can you tell if this would be a useful change to adopt?
--- a/Autostart/Windows/brltty-libusb.inf
+++ b/Autostart/Windows/brltty-libusb.inf
@@ -46,7 +46,7 @@ libusb_files_dll_x64 = 10,system32
libusb0.sys
[libusb_files_sys_x64]
-libusb0.sys,libusb0_x64.sys
+libusb0_x64.sys
[libusb_files_dll]
libusb0.dll
@@ -55,7 +55,7 @@ libusb0.dll
libusb0.dll
[libusb_files_dll_x64]
-libusb0.dll,libusb0_x64.dll
+libusb0_x64.dll
;--------------------------------------------------------------------------
; Device driver
@@ -87,7 +87,7 @@ AddReg = libusb_add_reg_hw
AddService = libusb0, 0x00000002, libusb_add_service
[LIBUSB_DEV.NTAMD64.Services]
-AddService = libusb0, 0x00000002, libusb_add_service
+AddService = libusb0, 0x00000002, libusb_add_service_amd64
[libusb_add_reg]
HKR,,DevLoader,,*ntkern
@@ -114,6 +114,14 @@ StartType = 3
ErrorControl = 0
ServiceBinary = %12%\libusb0.sys
+[libusb_add_service_amd64]
+DisplayName = "LibUsb-Win32 - Kernel Driver 03/31/2007, 0.1.12.1"
+ServiceType = 1
+StartType = 3
+ErrorControl = 0
+ServiceBinary = %12%\libusb0_x64.sys
+
+
;--------------------------------------------------------------------------
; Devices
;--------------------------------------------------------------------------
--
CYa,
⡍⠁⠗⠊⠕ | Blog: <https://blind.guru/> GitHub: <https://github.com/mlang/>
.''`. | Twitter: @blindbird23 FaceBook: disyled
: :' : | SoundCloud: <soundcloud.com/mario-lang>
`. `' | YouTube: <youtube.com/user/mlang23>
`-
More information about the BRLTTY
mailing list