Read Out of RATIO Dive Computer

330 views
Skip to first unread message

Georg Raggl

unread,
Sep 19, 2017, 10:05:00 AM9/19/17
to Subsurface Divelog
Dear Team of Subsurface

First of all i want to gratulate for the really wonderful software you made!!! It is really a pleasure to work with this software.

Since one month i am using a new Dive PC (Ratio iXM3 Tech+). Unfortunatly it is not possible to read out this PC with Subsurface.
I contacted RATIO as well and they mentioned i should contact Subsurface.

I found in the supported list of Dive PC a device called "Dive Systems; iX3m Tech" but is not not working with my Ratio device.

Is there any plan that subsurface can read out Ratio as well?

Subsurface Version: 4.6.4
PC Version: Win 7 Ultimate
Dive PC: Ratio iX3M Tech+

Kind regards
Georg Raggl

Robert C. Helling

unread,
Sep 19, 2017, 11:20:44 AM9/19/17
to Subsurface Divelog


Am Dienstag, 19. September 2017 16:05:00 UTC+2 schrieb Georg Raggl:

I found in the supported list of Dive PC a device called "Dive Systems; iX3m Tech" but is not not working with my Ratio device.

Is there any plan that subsurface can read out Ratio as well?



As far as I understand, this is indeed the correct option with which it should work. Could you please spell out a but more how it fails (there is an error message, it takes forever,...)

Thanks
Robert 

Jef Driesen

unread,
Sep 19, 2017, 11:29:50 AM9/19/17
to subsurfac...@googlegroups.com, Georg Raggl
On 19-09-17 16:05, Georg Raggl wrote:
> Since one month i am using a new Dive PC (Ratio iXM3 Tech+). Unfortunatly
> it is not possible to read out this PC with Subsurface.
> I contacted RATIO as well and they mentioned i should contact Subsurface.
>
> I found in the supported list of Dive PC a device called "Dive Systems;
> iX3m Tech" but is not not working with my Ratio device.
>
> Is there any plan that subsurface can read out Ratio as well?
>
> Subsurface Version: 4.6.4
> PC Version: Win 7 Ultimate
> Dive PC: Ratio iX3M Tech+

All Ratio dive computers are supported under the DiveSystem name. The reason for
that is at the time I implemented this, their dive computers were being sold
under the DiveSystem brand. Now they are under the Ratio brand, but the devices
are the same. I'll probably rename them, because you are not the first one
confused by this.

If the download fails, enable the libdivecomputer logfile checkbox in the
subsurface download dialog and email me the file. Without any detailed info it's
difficult to tell what went wrong.

Jef

Matthew Critchley

unread,
Sep 19, 2017, 1:42:47 PM9/19/17
to subsurfac...@googlegroups.com, Georg Raggl
Hi all,

Also having the same issues:

Subsurface Version: 4.6.4
PC Version: Win 10 Version 1703 for x64-based Systems (KB4038788)

Dive PC: Ratio iX3M Tech+

Have tried on both Com1 and Com4.  My iDive Deep works happily on Com3 but not getting that option.  Log file attached.

Any assistance would be much appreciated.

Kind regards,

Matt

Matthew Critchley

e: matthew.s...@gmail.com
m: 07887 800450



--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-divelog+unsubscribe@googlegroups.com.
To post to this group, send email to subsurface-divelog@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/6a297fe1-26f6-8292-9fa3-6b3f70172ee7%40libdivecomputer.org.

For more options, visit https://groups.google.com/d/optout.

17 0919 subsurface iX3M Tech+ log.log

Jef Driesen

unread,
Sep 20, 2017, 8:44:13 AM9/20/17
to subsurfac...@googlegroups.com, Georg Raggl, Matthew Critchley
Matt,

This shows the serial port COM4 was opened successfully:

INFO: Open: name=COM4
INFO: Configure: baudrate=115200, databits=8, parity=0, stopbits=0,
flowcontrol=0
INFO: Timeout: value=1000
INFO: Sleep: value=300
INFO: Purge: direction=3

But there is nothing send to the dive computer. So either subsurface
didn't even try to download any dives, or the logfile is truncated
somehow. Can you double check with the libdivecomputer dctool
commandline application? You can download it here:

http://libdivecomputer.org/builds/stable/windows/dctool.exe

And run with these options:

dctool.exe -v -l ix3m.log -f idive -m 0x22 download -o dive.%n.bin -f
raw COM4

If you are having trouble running a command-line application, then just
download the batch file, place it in the same directory as the dctool
exe, and just double click it.

http://libdivecomputer.org/builds/experimental/windows/ix3m.cmd

(If the serial port is not COM4, then you'll have to adjust the batch
file.)

Jef
>> email to subsurface-dive...@googlegroups.com.
>> To post to this group, send email to
>> subsurfac...@googlegroups.com.

Matthew Critchley

unread,
Sep 20, 2017, 2:40:59 PM9/20/17
to Jef Driesen, subsurfac...@googlegroups.com, Georg Raggl
Hi Jeff,

Okay - thanks.  All sorted now.

KRs

Matt

Matthew Critchley

e: matthew.s...@gmail.com
m: 07887 800450

Georg Raggl

unread,
Sep 21, 2017, 4:57:02 AM9/21/17
to Subsurface Divelog
Dear Jeff

Thank you for your effort and answer. Please find attached my logfile, and further the error messag i got from Subsurface.

I hope you can help me.

Kind regards
Georg
iX3m.jpg
subsurface.log

Jef Driesen

unread,
Sep 21, 2017, 9:25:11 AM9/21/17
to subsurfac...@googlegroups.com, Georg Raggl
Georg,

According to the error in the logfile, the serial port COM11 doesn't
exist. So you probably tried to use a wrong port. Are you using the USB
cable or bluetooth (with serial port emulation)?

INFO: Open: name=COM11
ERROR: Das System kann die angegebene Datei nicht finden (2) [in
/data/src/win/libdivecomputer/src/serial_win32.c:171 (dc_serial_open)]
ERROR: Failed to open the serial port. [in
/data/src/win/libdivecomputer/src/divesystem_idive.c:130
(divesystem_idive_device_open2)]

Jef

Matthew Critchley

unread,
Sep 26, 2017, 2:34:27 PM9/26/17
to Jef Driesen, subsurfac...@googlegroups.com, Georg Raggl
Hi Jef,

Sorry to go over old ground but... I did get it to work, but only the once.  I am now getting the following log file for the iX3M Tech+

INFO: Open: name=COM1
INFO: Configure: baudrate=115200, databits=8, parity=0, stopbits=0, flowcontrol=0
INFO: Timeout: value=1000
INFO: Sleep: value=300
INFO: Purge: direction=3
INFO: Write: size=6, data=550211ED3F1F
INFO: Read: size=0, data=
ERROR: Failed to receive the packet start byte. [in /data/src/win/libdivecomputer/src/divesystem_idive.c:247 (divesystem_idive_receive)]

Also, annoyingly my iDive Deep is now failing to talk to Sub-Surface:

INFO: Open: name=COM1
INFO: Configure: baudrate=115200, databits=8, parity=0, stopbits=0, flowcontrol=0
INFO: Timeout: value=1000
INFO: Sleep: value=300
INFO: Purge: direction=3
INFO: Write: size=6, data=550210ED0C2E
INFO: Read: size=0, data=
ERROR: Failed to receive the packet start byte. [in /data/src/win/libdivecomputer/src/divesystem_idive.c:247 (divesystem_idive_receive)]

I've run the DCTool (for the iX3M) as you requested with the output as per the attached text file but its 

Any thoughts or suggestions gratefully received

Quick reminder of platform:

OS: Win 10 Version 1703 for x64-based Systems (KB4038788)
Subsurface Version: 4.6.4
Dive Computer: Ratio iX3M Tech+

Many thanks for your continued help!

Kind regards,

Matt

Matthew Critchley

e: matthew.s...@gmail.com
m: 07887 800450

On 20 September 2017 at 13:44, Jef Driesen <j...@libdivecomputer.org> wrote:
17 0926 iX3M dctool output.txt

Jef Driesen

unread,
Sep 26, 2017, 3:07:48 PM9/26/17
to Matthew Critchley, subsurfac...@googlegroups.com, Georg Raggl
Matthew,

The dctool logfile indicates the download was successful, and one dive was
downloaded. This download used serial port COM4:

INFO: Open: name=COM4

But for subsurface you used COM1:

> INFO: Open: name=COM1

So you need to use COM4 as well, and then it will probably work too!

Jef
> e: matthew.s...@gmail.com <mailto:matthew.s...@gmail.com>
> m: 07887 800450 <tel:07887%20800450>
>
> On 20 September 2017 at 13:44, Jef Driesen <j...@libdivecomputer.org
> e: matthew.s...@gmail.com <mailto:matthew.s...@gmail.com>
> m: 07887 800450 <tel:07887%20800450>
>
> On 19 September 2017 at 16:29, Jef Driesen <j...@libdivecomputer.org
> email to subsurface-dive...@googlegroups.com
> <mailto:subsurface-divelog%2Bunsu...@googlegroups.com>.
> To post to this group, send email to
> subsurfac...@googlegroups.com
> <mailto:subsurfac...@googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/ms
> gid/subsurface-divelog/6a297fe1-26f6-8292-9fa3-6b3f70172ee7%
> 40libdivecomputer.org <http://40libdivecomputer.org>.
>
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>

Matthew Critchley

unread,
Sep 27, 2017, 1:35:04 PM9/27/17
to subsurfac...@googlegroups.com, Jef Driesen
Hi Jeff,

Thanks for the help.  The really frustrating thing is that whilst the dctool was able to interrogate the dive computer, Sub Surface is still refusing to.  I keep getting the same error message:
Inline images 1

This is regardless of whether I am using COM1 or COM4.

This time the log is slightly different - it has clearly tried to read the data but then tripped up on something.  I have also got an xml file of the dive taken from Ratio's proprietary software (attached) - I have attempted to import this but end up with a bizarre zero-length dive from 1 Jan 1970!

INFO: Open: name=COM4
INFO: Configure: baudrate=115200, databits=8, parity=0, stopbits=0, flowcontrol=0
INFO: Timeout: value=1000
INFO: Sleep: value=300
INFO: Purge: direction=3
INFO: Write: size=6, data=550211ED3F1F
INFO: Read: size=1, data=55
INFO: Read: size=1, data=1C
INFO: Read: size=30, data=1124009DBF62022C0D00000A100000FF000000C7958911C795891106DC86
Event: model=36 (0x00000024), firmware=0 (0x00000000), serial=3372 (0x00000d2c)
Event: vendor=24009DBF62022C0D00000A100000FF000000C7958911C7958911
INFO: Write: size=6, data=5502788DE20B
INFO: Read: size=1, data=55
INFO: Read: size=1, data=06
INFO: Read: size=8, data=780100010006A6B8
INFO: Write: size=7, data=5503790100C91D
INFO: Read: size=1, data=55
INFO: Read: size=1, data=38
INFO: Read: size=58, data=79009700445FBF00791A4E129C27FFFFFFFF0000000001059600E0011E1E3200320300011F000000000F011B816202000120000000000006DF1F
INFO: Write: size=7, data=55037A0100904D
INFO: Read: size=1, data=55
INFO: Read: size=1, data=C2
INFO: Read: size=196, data=7A97010A0000000F00AC0020002000005D5D3200780500000000FF7F0000000000000000000000000000000000000000000100000000000100010033CCCC334EE59701140000001000AC0020002000005D5D3200780500000000FF7F0000000000000000000000000000000000000000000100000000000200010033CCCC3305ED97011E0000000F00AC0020002000005D5D3200780500000000FF7F0000000000000000000000000000000000000000000100000000000300010033CCCC3309A606AF69
ERROR: Unexpected packet length. [in /data/src/win/libdivecomputer/src/divesystem_idive.c:350 (divesystem_idive_transfer)]

Many thanks for your continued assistance.

Kind regards,

Matt

Virus-free. www.avg.com

Matthew Critchley

e: matthew.s...@gmail.com
m: 07887 800450


            To post to this group, send email to
            subsurface-divelog@googlegroups.com
            <mailto:subsurface-divelog@googlegroups.com>.

            To view this discussion on the web visit https://groups.google.com/d/ms
            gid/subsurface-divelog/6a297fe1-26f6-8292-9fa3-6b3f70172ee7%
            40libdivecomputer.org <http://40libdivecomputer.org>.

            For more options, visit https://groups.google.com/d/optout
            <https://groups.google.com/d/optout>.


--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-divelog+unsubscribe@googlegroups.com.
To post to this group, send email to subsurface-divelog@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/e4c7fc13-e182-b60f-276d-9e1ec7d783f2%40libdivecomputer.org.

For more options, visit https://groups.google.com/d/optout.

000001.xml

Linus Torvalds

unread,
Sep 27, 2017, 1:48:25 PM9/27/17
to Subsurface Divelog, Jef Driesen
On Wed, Sep 27, 2017 at 10:34 AM, Matthew Critchley <matthew.s...@gmail.com> wrote:

This time the log is slightly different - it has clearly tried to read the data but then tripped up on something. 

Well, this one actually looks like it's getting data

Except then something bad happens:
 
INFO: Read: size=196, data=7A97010A0000000F00AC0020002000005D5D3200780500000000FF7F0000000000000000000000000000000000000000000100000000000100010033CCCC334EE59701140000001000AC0020002000005D5D3200780500000000FF7F0000000000000000000000000000000000000000000100000000000200010033CCCC3305ED97011E0000000F00AC0020002000005D5D3200780500000000FF7F0000000000000000000000000000000000000000000100000000000300010033CCCC3309A606AF69
ERROR: Unexpected packet length. [in /data/src/win/libdivecomputer/src/divesystem_idive.c:350 (divesystem_idive_transfer)]

This is all entirely internal to libdivecomputer, so the fact that it works with dctool but not subsurface is very odd.

I'm starting to think that you simply have an older subsurface binary that thus uses an old version of libdivecomputer that didn't handle the Ratio iX3M Tech+ correctly. 

Can you try the "daily build" version from


because just that linenumber (src/divesystem_idive.c:350) tells me that your libdivecomputer version is from the pre-iX3M APOS4 firmware update, but also from before the commit that added support for the Tech+.

Because in current libdivecomputer, the "Unexpected packet length" error is on line 340.

                  Linus

Matthew Critchley

unread,
Sep 27, 2017, 4:21:11 PM9/27/17
to subsurfac...@googlegroups.com, Jef Driesen
Hi Linus,

Many thanks - that has solved the problem - I took a copy of build subsurface-4.6.4-840-g10216f5e3ed4.  Works a treat.

KIind regards,

Matt

Virus-free. www.avg.com

Matthew Critchley

e: matthew.s...@gmail.com
m: 07887 800450

--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-divelog+unsub...@googlegroups.com.

To post to this group, send email to subsurface-divelog@googlegroups.com.

Christian Mehrer

unread,
Oct 5, 2017, 2:56:36 AM10/5/17
to Subsurface Divelog
The subsurface 4.6.4 only supports the older firmware of the ratio dive computers.
With ticket https://github.com/Subsurface-divelog/subsurface/issues/387 the issue is already fixed. I'm also waiting for a new release with this.
I didn't know the Dev Builds. I'll also downloading this and try this.
 

Matthew Critchley

unread,
Nov 5, 2017, 3:24:26 PM11/5/17
to subsurfac...@googlegroups.com
Hi all,

As before, I run:

OS: Windows 10
Sub Surface: was 4.6.4-840-g10216f5e3ed4 but updated to 4.7.2
Dive computers: Ratio iDive Easy Deep (unsure of firmware version) and Ratio iX3M GPS Tech+ (firmware APOS:4.x.x)

Thanks for the continued great work on SS.  I've now updated to 4.7.2 and we appear to have older versions of the Ratio dive computers without support for the new Ratio firmware (particularly on the iX3M+ computers).  The iDive Easy Deep syncs without issues, it is just the iX3M that is problematic, again.

Any suggestions please?

Many thanks.

Kind regards,

Matt

Virus-free. www.avg.com

Matthew Critchley

e: matthew.s...@gmail.com
m: 07887 800450

--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-divelog+unsub...@googlegroups.com.
To post to this group, send email to subsurface-divelog@googlegroups.com.

Steve Williams

unread,
Nov 20, 2017, 4:59:42 AM11/20/17
to Subsurface Divelog

There are 2 manufacturer listed in the download dialog:
Dive Systems and Ratio and from memory Ratio was the one that works for the ix3m reb that I use but try both and one should work.

Matthew Critchley

unread,
Nov 22, 2017, 10:06:08 AM11/22/17
to subsurfac...@googlegroups.com
Hi Steve,

Cool. Thanks for that.

Kind regards,

Matt

--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-divelog+unsub...@googlegroups.com.
To post to this group, send email to subsurface-divelog@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages