Bug with MacOS and OSTC3

Dirk Hohndel dirk at hohndel.org
Fri Jul 6 04:11:31 PDT 2018


> On Jul 5, 2018, at 11:20 PM, Jef Driesen <jef at libdivecomputer.org> wrote:
> 
> On 2018-07-05 21:10, Otto Strassen wrote:
>> After updating to 4.8.0 I can no longer sync my OSTC3 with subsurface.
>> I have re-paired the device but it still does not work.
>> Someone else seems to be having the same problem:
>> https://subsurface-divelog.org/user-forum/?place=topic%2Fsubsurface-divelog%2FXJyZ2KWusHc%2Fdiscussion
>> Log from libdivecomputer
>> ---
>> Subsurface: v4.8.0, built with libdivecomputer
>> v0.7.0-devel-Subsurface-NG (e97a47cca55973199715df0f818b4955e60d3a31)
>> INFO: Open: name=/dev/tty.OSTC304462-SPP
>> ...
>> INFO: Write: size=1, data=6D
>> INFO: Read: size=1, data=6D
>> INFO: Read: size=607, data=...
>> ERROR: Failed to receive the answer. [in ../../src/hw_ostc3.c:323
>> (hw_ostc3_transfer)]
>> ERROR: Failed to read the header. [in ../../src/hw_ostc3.c:702
>> (hw_ostc3_device_foreach)]
>> INFO: Write: size=1, data=FF
>> INFO: Read: size=1, data=24
>> ERROR: Unexpected echo. [in ../../src/hw_ostc3.c:305 (hw_ostc3_transfer)]
>> ERROR: Failed to send the command. [in ../../src/hw_ostc3.c:568
>> (hw_ostc3_device_close)]
> 
> This looks like the Mac OS X timer bug again. The libdivecomputer SHA1 confirms that this is indeed a version without the timer fix.
> 
> @Dirk: It looks like v4.8.0 got build against an old libdivecomputer version. According to tags in git, it should be build against 02560a7e7fe82919d584d3edbf3876f90382052c, which includes the fix. But the logs in the bugreports indicate otherwise.

Drat. Let me fix that.

/D


More information about the subsurface mailing list