simple USB interface for Aladin Pro

306 views
Skip to first unread message

con...@dom-ip.com

unread,
Jul 22, 2017, 10:41:52 AM7/22/17
to Subsurface Divelog
Hello,

to be able to download data from may Aladin Pro to a Ubuntu PC, I build a simple USB interface.
You can find its description here . The description is in french, but the schematic is so simple it should be understandable by everybody.

It is working well with subsurface. Waiting for now the availability of download feature for subsurface mobile.*

Domip

Dirk Hohndel

unread,
Jul 22, 2017, 10:46:42 AM7/22/17
to subsurfac...@googlegroups.com
On Jul 22, 2017, at 7:41 AM, con...@dom-ip.com wrote:

Hello,

to be able to download data from may Aladin Pro to a Ubuntu PC, I build a simple USB interface.
You can find its description here . The description is in french, but the schematic is so simple it should be understandable by everybody.

Cool.

It is working well with subsurface. Waiting for now the availability of download feature for subsurface mobile.*

Well, the latest Beta of the Android version of Subsurface-mobile can download from FTDI based devices (sadly not on all devices, many newer ones cause us problems with SELinux). How does this interface show up when you connect it to a Linux PC?

/D

con...@dom-ip.com

unread,
Jul 22, 2017, 12:51:08 PM7/22/17
to Subsurface Divelog
It shows up as a standard serial port /dev/ttyUSB0
I don't if y answer to the question?
Domip

Linus Torvalds

unread,
Jul 22, 2017, 1:21:23 PM7/22/17
to subsurfac...@googlegroups.com
What USB vendor and device ID does it show up as?

     Linus

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/4089a084-7ed5-4e6a-8746-0de6a3b465c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

con...@dom-ip.com

unread,
Jul 22, 2017, 4:41:20 PM7/22/17
to Subsurface Divelog
Here is un extract of lsusb on my PC :

Bus 005 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

The FTDI cable is this one : http://fr.farnell.com/adafruit-industries/954/usb-to-ttl-serial-cable-raspberry/dp/2215041
normally used with Raspberry Pi

Benoit





Le samedi 22 juillet 2017 19:21:23 UTC+2, Linus Torvalds a écrit :
What USB vendor and device ID does it show up as?

     Linus
On Jul 22, 2017 9:51 AM, <con...@dom-ip.com> wrote:
It shows up as a standard serial port /dev/ttyUSB0
I don't if y answer to the question?
Domip

--
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 subsurfac...@googlegroups.com.

con...@dom-ip.com

unread,
Jul 22, 2017, 4:42:54 PM7/22/17
to Subsurface Divelog
And if there is somewhere a beta release of Subsurface for android, I can test it with Aladin Pro.
Benoit

Miika Turkia

unread,
Jul 23, 2017, 2:37:26 AM7/23/17
to subsurfac...@googlegroups.com
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.

Linus Torvalds

unread,
Jul 23, 2017, 2:07:55 PM7/23/17
to subsurfac...@googlegroups.com
On Sat, Jul 22, 2017 at 1:41 PM, <con...@dom-ip.com> wrote:
> Here is un extract of lsusb on my PC :
>
> Bus 005 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial
> Port

That's not a FTDI chipset afaik, it's the other common cheap one
prolific pl2302.

Either should work fine on the desktop version of subsurface, since
that just uses the native OS serial drivers (you may need to download
the right driver for OS X and Windows.

But right now on Android, subsurface uses it's own user-space driver
for serial (because none are apparently part of the normal Android
install), and that one only does the FTDI chipset.

There are various cheap ftdi USB adapters, the one I found on amazon
is (for example):

https://www.amazon.com/gp/product/B014GZTCC6/

but you can probably just search for "ftdi serial cable" just about anywhere.

Linus

con...@dom-ip.com

unread,
Jul 23, 2017, 5:52:36 PM7/23/17
to Subsurface Divelog
Thanks!

con...@dom-ip.com

unread,
Jul 23, 2017, 5:57:32 PM7/23/17
to Subsurface Divelog
Thanks!

It should be the reason why it's not working (the download operation ends immediately when I launch it) :

I get following log :

"95.214: DCDownloadThread started for Aladin Pro on FTDI"
Starting download from  ftdi
Starting the thread 0
Finishing the thread Privilèges insuffisants pour ouvrir le périphérique %s %s (%s) dives downloaded 0
no new dives downloaded
"95.248: DCDownloadThread finished"



I will buy a "true" FTDI cable. I will give the result in a few weeks a I will be busy during next one.
Domip

Anton Lundin

unread,
Jul 24, 2017, 3:51:01 AM7/24/17
to Subsurface Divelog
I have some vauge plans on now it might be possible to support pl23xx chipsets in the future, but this might never materialize, so don't sit and wait for it.

//Anton

Tomaz Canabrava

unread,
Jul 24, 2017, 4:26:29 AM7/24/17
to subsurfac...@googlegroups.com
"Privilèges insuffisants pour ouvrir le périphérique" 

Did you added yourself to the group that permits opening serial devices?



On Mon 24. Jul 2017 at 09:51, Anton Lundin <an...@lundin.pp.se> wrote:
I have some vauge plans on now it might be possible to support pl23xx chipsets in the future, but this might never materialize, so don't sit and wait for it.

//Anton

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

con...@dom-ip.com

unread,
Aug 2, 2017, 3:31:55 AM8/2/17
to Subsurface Divelog, tcana...@kde.org

 Hello Thomaz,
The issue is with android, I don't think it can solve the subject. Look above messages .
Benoît

Le lundi 24 juillet 2017 09:26:29 UTC+1, Tomaz Canabrava a écrit :
"Privilèges insuffisants pour ouvrir le périphérique" 

Did you added yourself to the group that permits opening serial devices?



On Mon 24. Jul 2017 at 09:51, Anton Lundin <an...@lundin.pp.se> wrote:
I have some vauge plans on now it might be possible to support pl23xx chipsets in the future, but this might never materialize, so don't sit and wait for it.

//Anton

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

con...@dom-ip.com

unread,
Aug 2, 2017, 3:39:53 AM8/2/17
to Subsurface Divelog
Hello Anton ,
I 've ordered a cable with a ftdi chipset.

But as I was looking forward to test  the computer download feature of subsurface mobile, I've replace the serial usb  adapter by a serial bluetooth HC06 I had in stock.

After having set the baudrate hc 06 (with my usb serial cable and putty, this is the only one difficulty) it was plug & play.

Thanks for the beta version of subsurface mobile.
Benoit

con...@dom-ip.com

unread,
Sep 10, 2017, 4:53:45 AM9/10/17
to Subsurface Divelog
Hello,

I've reworked my interface and replaced the PL23xx cable by a real ftdi one with FT232RL chipset ( http://www.dx.com/p/6pin-ftdi-ft232rl-usb-to-serial-adapter-module-usb-to-ttl-rs232-cable-449256 ).

It is  well working with a Galaxy Note 8.0" tablet (GT-N5120) , an OTG adapter and Subsurface-mobile-4.6.4.482-arm.apk.

The only remark I have is that the first click on the "download" button fail immediately and the second one is fully successfull .

I do not need anymore Memouse with my Aladin Pro and hope to keep it still several years.

Many thanks,
Benoit
Reply all
Reply to author
Forward
0 new messages