Scubapro Aladin Square

Jef Driesen jef at libdivecomputer.org
Tue Nov 14 12:28:30 PST 2017


On 14-11-17 21:15, Jef Driesen wrote:
> On 14-11-17 21:04, Linus Torvalds wrote:
>> On Tue, Nov 14, 2017 at 11:57 AM, Jef Driesen <jef at libdivecomputer.org> wrote:
>>>
>>> I suspect this is not caused by a difference in the libusb version, but a
>>> difference in the subsurface branch of libdivecomputer. If you look at the
>>> g2.log of the successful download on Windows, then you can clearly see
>>> libdivecomputer is sending out 33 byte packets (1 byte report id and 32
>>> bytes payload).
>>
>> .. but that's _exactly_ the usb library difference. On Windows, it's
>> using hidapi instead. Just a library difference.
> 
> Ah ok, you are referring to libusb vs hidapi. I thought you were talking about a
> difference in the libusb version.
> 
> Give me a couple of minutes to build a libusb based windows version.

It's available here:

http://libdivecomputer.org/builds/experimental/windows/libdivecomputer-0.dll.libusb

(remove the .libusb suffix after downloading)

You'll need the following files as well:

http://libdivecomputer.org/builds/experimental/windows/g2.cmd
http://libdivecomputer.org/builds/divinglog/dctool.exe
http://libdivecomputer.org/builds/divinglog/libusb-1.0.dll

@Vincent: Can you give this build a try?

Jef


More information about the subsurface mailing list