Seac Jack dive computer support?

234 views
Skip to first unread message

Dai

unread,
Jan 17, 2018, 4:12:14 AM1/17/18
to Subsurface Divelog
I am hoping to get Linux support for my Seac Jack dive computer.

I am running: 
Subsurface 4.7.6
Ubuntu 16.04

The Seac Jack dive computer uses DiveLogger 4.2.0 (but it is only supported on OSX and Windows).

I believe that Seac uses the same software as Ratio brand dive computers.

Ubuntu is recognizing the dive computer when hooked up via USB but it does not know what to do with it. 
I tried to get DiveLogger 4.2.0 working in WINE and it seemed to run fine but passing the USB through WINE doesn't work and besides Subsurface looks like much more powerful software, and as it already supports Ratio dive computers i am hoping that support will be possible.

Thanks!

Miika Turkia

unread,
Jan 18, 2018, 12:45:08 AM1/18/18
to Subsurface Divelog
You could try to download using Ratio DC. If the communication protocol happens to be the same as Ratio then this might succeed. If not, then try saving libdivecomputer log and dump files and sending those files to us. If the communication is similar enough, then we might be able to add support based on the log files. (And the last option would be to sniff the communication between DC and original software and reverse engineer the protocol.)

Dai

unread,
Jan 19, 2018, 9:57:26 AM1/19/18
to Subsurface Divelog
Thanks for your quick response,

I am getting a permission denied error in the log when I try to download from the computer:


Subsurface: v4.7.6, built with libdivecomputer v0.7.0-devel-Subsurface-branch (8ae735a4d70307ebe2a42d315697f02ce71dbe88)
INFO: Open: name=/dev/ttyUSB0
ERROR: Permission denied (13) [in serial_posix.c:213 (dc_serial_open)]
ERROR: Failed to open the serial port. [in divesystem_idive.c:141 (divesystem_idive_device_open)]
subsurface.log

Miika Turkia

unread,
Jan 19, 2018, 10:25:00 AM1/19/18
to subsurfac...@googlegroups.com
you’ll probably need to add yourself to dialout group. Our documentation should have instructions for that. (or a temporary fix by running: sudo chmod 777 /dev/ttyUSB0)
--
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-dive...@googlegroups.com.
To post to this group, send email to subsurfac...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/5d603fa1-9c97-4474-b6b2-54548d44f24b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<subsurface.log>

Dai

unread,
Jan 19, 2018, 8:23:30 PM1/19/18
to Subsurface Divelog
You were correct, now after adding myself to the dialout group I am now getting this in the log:


Subsurface: v4.7.6, built with libdivecomputer v0.7.0-devel-Subsurface-branch (8ae735a4d70307ebe2a42d315697f02ce71dbe88)
INFO: Open: name=/dev/ttyUSB0
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 divesystem_idive.c:258 (divesystem_idive_receive)]
INFO: Sleep: value=100
INFO: Write: size=6, data=550211ED3F1F
INFO: Read: size=0, data=
ERROR: Failed to receive the packet start byte. [in divesystem_idive.c:258 (divesystem_idive_receive)]
INFO: Sleep: value=100
INFO: Write: size=6, data=550211ED3F1F
INFO: Read: size=0, data=
ERROR: Failed to receive the packet start byte. [in divesystem_idive.c:258 (divesystem_idive_receive)]
INFO: Sleep: value=100
INFO: Write: size=6, data=550211ED3F1F
INFO: Read: size=0, data=
ERROR: Failed to receive the packet start byte. [in divesystem_idive.c:258 (divesystem_idive_receive)]

etc...


On Friday, January 19, 2018 at 10:25:00 PM UTC+7, Miika Turkia wrote:
you’ll probably need to add yourself to dialout group. Our documentation should have instructions for that. (or a temporary fix by running: sudo chmod 777 /dev/ttyUSB0)

On 19 Jan 2018, at 16.57, Dai <dreammac...@gmail.com> wrote:

Thanks for your quick response,

I am getting a permission denied error in the log when I try to download from the computer:


Subsurface: v4.7.6, built with libdivecomputer v0.7.0-devel-Subsurface-branch (8ae735a4d70307ebe2a42d315697f02ce71dbe88)
INFO: Open: name=/dev/ttyUSB0
ERROR: Permission denied (13) [in serial_posix.c:213 (dc_serial_open)]
ERROR: Failed to open the serial port. [in divesystem_idive.c:141 (divesystem_idive_device_open)]

--
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.
<subsurface.log>
subsurface.log

Jef Driesen

unread,
Jan 20, 2018, 1:59:11 AM1/20/18
to subsurfac...@googlegroups.com, Dai
Try again after selecting a dive computer from the (older) DiveSystem iDive
series. They use a slightly different variant of the communication protocol. I
don't think that's the problem here, but you never know.
> On 19 Jan 2018, at 16.57, Dai <dreammac...@gmail.com <javascript:>> wrote:
>
>> Thanks for your quick response,
>>
>> I am getting a permission denied error in the log when I try to download
>> from the computer:
>>
>>
>> Subsurface: v4.7.6, built with libdivecomputer
>> v0.7.0-devel-Subsurface-branch (8ae735a4d70307ebe2a42d315697f02ce71dbe88)
>> INFO: Open: name=/dev/ttyUSB0
>> ERROR: Permission denied (13) [in serial_posix.c:213 (dc_serial_open)]
>> ERROR: Failed to open the serial port. [in divesystem_idive.c:141
>> (divesystem_idive_device_open)]
>>
>> --
>> 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-dive...@googlegroups.com <javascript:>.
>> To post to this group, send email to subsurfac...@googlegroups.com
>> <javascript:>.
>> <https://groups.google.com/d/msgid/subsurface-divelog/5d603fa1-9c97-4474-b6b2-54548d44f24b%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> For more options, visit https://groups.google.com/d/optout
>> <https://groups.google.com/d/optout>.
>> <subsurface.log>
>
> --
> 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-dive...@googlegroups.com
> <mailto:subsurface-dive...@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/msgid/subsurface-divelog/7719e8cc-13bf-4be2-bf6a-f0cdb6451b10%40googlegroups.com
> <https://groups.google.com/d/msgid/subsurface-divelog/7719e8cc-13bf-4be2-bf6a-f0cdb6451b10%40googlegroups.com?utm_medium=email&utm_source=footer>.

Dai

unread,
Jan 23, 2018, 9:45:35 PM1/23/18
to Subsurface Divelog
I tried every make and model of Ratio dive computer just to be sure, but the results are always the same, so I just picked one at random to post the log from.


>>     email to subsurface-divelog+unsub...@googlegroups.com <javascript:>.
>>     To post to this group, send email to subsurfac...@googlegroups.com
>>     <javascript:>.
>>     To view this discussion on the web visit
>>     https://groups.google.com/d/msgid/subsurface-divelog/5d603fa1-9c97-4474-b6b2-54548d44f24b%40googlegroups.com
>>     <https://groups.google.com/d/msgid/subsurface-divelog/5d603fa1-9c97-4474-b6b2-54548d44f24b%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>     For more options, visit https://groups.google.com/d/optout
>>     <https://groups.google.com/d/optout>.
>>     <subsurface.log>
>
> --
> 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

Dai

unread,
Jan 24, 2018, 12:42:23 AM1/24/18
to Subsurface Divelog
I just discovered a PC mode on the dive computer, (the provided documentation with this dive computer is not great).
When I try and Import now I get the following in the log:



Subsurface: v4.7.6, built with libdivecomputer v0.7.0-devel-Subsurface-branch (8ae735a4d70307ebe2a42d315697f02ce71dbe88)
INFO: Open: name=/dev/ttyUSB0
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=1100101B816202080200006B0D000009030000B7C47511B7C47511067679
Event: model=4096 (0x00001000), firmware=40010011 (0x0262811b), serial=520 (0x00000208)
Event: vendor=00101B816202080200006B0D000009030000B7C47511B7C47511
INFO: Write: size=6, data=5502788DE20B
INFO: Read: size=1, data=55
INFO: Read: size=1, data=03
INFO: Read: size=5, data=785815089E
ERROR: Received NAK packet with error code 58. [in divesystem_idive.c:348 (divesystem_idive_packet)]



subsurface.log

Jef Driesen

unread,
Jan 24, 2018, 2:36:26 AM1/24/18
to subsurfac...@googlegroups.com, Dai
The download appears to be successful. That last error might be a bit
confusing here. The dive computer uses error code 58 to indicate there
are no dives available for downloading. Can you confirm you have no
dives recorded yet? If that's the case, then you'll have to try again
once you have done some dives. Only then we can see whether further
modifications are necessary or not.

Jef

Dai

unread,
Jan 24, 2018, 5:54:44 AM1/24/18
to Subsurface Divelog
That's great news!
Yes, I can confirm that there are no dives in the computer yet, but I should be able to log a few in the next couple of days and I will try and download them as soon as I do and report back with my findings.

Thx

Dai

unread,
Jan 28, 2018, 5:51:41 AM1/28/18
to Subsurface Divelog
After a great first day of diving here in Tulamben, Bali, I am extremely pleased to report that I was able to successfully download from my SEAC Jack dive computer using the existing iDive Free profile already in subsurface.

While disappointingly, SEAC provides almost no useful documentation for their dive computers, after a lot of searching I was able to discover that it seems SEAC has their dive computers manufactured by Ratio, and the Jack appears to be a virtual clone of the iDive Free, for which there is a much better user manual freely available online.

Judging by this I would guess that the SEAC Guru is a clone of the iDive easy, but i don't own one so I can't be sure.

Many thanks to everyone for helping me to sort this out!!!

Please let me know if I can be of any assistance to the project in formally adding support for this computer, as of this moment everything seems to work with the iDive Free profile, I will report any other issues over the next few weeks.

Thank you again,

Dai


P.s. For what its worth, I was also able to get the official DIvelogger software for the Jack computer working on Linux via WINE with a few registry edits within WINE to be able to see USB, but Subsurface is clearly a superior program. 

Jef Driesen

unread,
Jan 28, 2018, 11:55:56 AM1/28/18
to subsurfac...@googlegroups.com, Dai
On 28-01-18 11:51, Dai wrote:
> After a great first day of diving here in Tulamben, Bali, I am extremely pleased
> to report that I was able to successfully download from my SEAC Jack dive
> computer using the existing iDive Free profile already in subsurface.
>
> While disappointingly, SEAC provides almost no useful documentation for their
> dive computers, after a lot of searching I was able to discover that it seems
> SEAC has their dive computers manufactured by Ratio, and the Jack appears to be
> a virtual clone of the iDive Free, for which there is a much better user manual
> freely available online.
>
> Judging by this I would guess that the SEAC Guru is a clone of the iDive easy,
> but i don't own one so I can't be sure.
>
> Many thanks to everyone for helping me to sort this out!!!
>
> Please let me know if I can be of any assistance to the project in formally
> adding support for this computer, as of this moment everything seems to work
> with the iDive Free profile, I will report any other issues over the next few weeks.

For that I'll need a logfile of a successful (full) download.

Either dowload the dctool command-line application:

http://www.libdivecomputer.org/builds/stable/linux/dctool

And then execute it with these options:

chmod +x dctool
./dctool -v -l idive.log -f idive -m 0x22 download -o dive.%n.bin -f raw
/dev/ttyUSB0

And then send me the idive.log and all dive.*.bin files.

As an alternative you can also use subsurface with the "enable libdivecomputer
logfile" checkbox enabled. To make sure you do a full download, without messing
up your logbook, it's probably best to create a new temporary logbook file that
you can throw away afterwards.

Jef

Dai

unread,
Jan 30, 2018, 12:12:23 AM1/30/18
to Subsurface Divelog
Logfile attached.

Best,

Dai
subsurface.log

Jef Driesen

unread,
Jan 31, 2018, 2:31:57 AM1/31/18
to subsurfac...@googlegroups.com, Dai
On 2018-01-30 06:12, Dai wrote:
> Logfile attached.

Thanks for the data! I've added the Seac Jack to the list of supported
devices now. Until that change makes it into a subsurface build, you can
just choose one of the Ratio models. There is no functional difference.

Jef

Dai

unread,
Jan 31, 2018, 5:09:38 AM1/31/18
to Subsurface Divelog
My pleasure, thank you.

-D

KTH

unread,
Apr 20, 2018, 10:50:09 AM4/20/18
to Subsurface Divelog
Hi all,

I am new to the diving community, thank you for this excellent tool!  I have just got hold of a Seac Guru dive computer, apparently like a rebranded Ratio iDive Easy.  I can successfully connect selecting Ratio iDive Easy and all seems fine, though I have not dives logged yet.  I am sharing the subsurface.log so that the Seac Guru may be included in a future Subsurface version.

Thanks.

KTH
subsurface.log

KTH

unread,
Jul 7, 2018, 5:56:26 AM7/7/18
to Subsurface Divelog
Hi all,

Thank you very much for adding support for the Seac Guru in Subsurface 4.8!!!!!  I just tested and I can download dives successfully.

Thank you!!!!!
Reply all
Reply to author
Forward
0 new messages