[BRLTTY] Testing on Windows

Samuel Thibault samuel.thibault at ens-lyon.org
Sat Apr 8 17:12:47 EDT 2017


Hello,

Mario Lang, on ven. 07 avril 2017 21:38:16 +0200, wrote:
> 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?

I don't really know. I can only say that the patch makes sense to me,
and I guess they did it to fix something.

> --- 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
> +
> +


More information about the BRLTTY mailing list