Ratio Computers loves your work!

2018-05-25 Thread Riccardo Brama
Dear Subsurface developers,

I'd like, first of all, to express my personal and my company
appreciation for the great job you've done up to now to support our dive
computers.
   
Since January I've been hired at Ratio Computers as their new CoE
and I like so much your work I'd love to see our dive computers
completely supported.

We would love to tell our customers the application we sponsor for
PC interface is Subsurface instead of our current, and outdated,
Divelogger 4 application (running only for Windows and Mac).
Nevertheless up to now Divelogger is the only application allowing to
update our dive computers firmware, a thing we would love to see in
Subsurface too. Unfortunately, due basically to lack of free time, I
cannot add that feature to your code by myself: I need someone who would
like to do that. So don't hesitate to let me know if there around
someone is willing to implement additional features to support all the
Ratio Computers features. I'll share with him/her all the information
he/she needs.

Again thank you for your hard work,
R.

P.S. I've not seen any way to sponsor the Subsurface Project with
donations... haven't you thought about it?

-- 
Riccardo Brama, Ph.D.
Chief of Engineering
Ratio-Computers, a Dive Industries s.r.l. brand
Via Vetturini 22/24
58024 Massa Marittima (GR)
Italia

Web: www.ratio-computers.com
E-mail: riccard...@ratio-computers.com


Ai sensi del "Testo Unico sulla Privacy D. Lgs 196 del 30 Giugno 2003"
questo messaggio di posta, incluso ogni eventuale allegato, potrebbe
contenere materiale riservato, di proprietà esclusiva e/o non pubblico
ed e' destinato soltanto alla persona od al soggetto al quale e'
indirizzato. E' strettamente vietato modificare, ritrasmettere,
divulgare, fare in altro modo uso del messaggio, od intraprendere
qualsiasi azione sulla base delle informazioni in esso contenute, da
parte di persone diverse dal destinatario. Qualora non foste il
destinatario corretto, Vi preghiamo di comunicarlo immediatamente al
mittente e di distruggere il presente messaggio da ogni supporto,
nonche' ogni stampa o copia dello stesso.

According to the "Testo Unico sulla Privacy D. Lgs 196 June 30th 2003"
this e-mail, including any attachments, is intended solely for the
person or entity to which it is addressed and may contain confidential,
proprietary and/or non-public material. Except as stated above, any
review, re-transmission, dissemination or other use of, or taking of any
action in reliance upon this information by persons or entities other
than an intended recipient is prohibited. If you receive this in error,
please notify the sender and delete the material from any media and
destroy any printouts or copies.


___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Ratio Computers loves your work!

2018-05-28 Thread Riccardo Brama
Dear Dirk,

it seems to me you felt my email as something aiming to harm either
your work or your freedom. I'm sorry for that and be sure I was not
meaning anything like that. What's true is exactly the opposite: we
would love to contribute in some way in it, providing documentation,
specification, information and our support.

Since my time is limited I thought that writing in this ML could
have helped me in finding someone who:
   
1. Knows the project well;
2. Is willing to work on it implementing some new features improving
the support for our dive computers;
3. Is available to collaborate with us on such themes.

I know open source projects are usually lead and/or developed by
people yet having a well paid job, but maybe, out there, someone is
interested in a position taking care of developing such enhancements
with us.

>> We love seeing involvement from the dive computer manufacturer, it tends to
>> make many things easier for us too.
> No doubt that is true.

That was our aim: making things easier and giving people something
they love.

> So: I have no problem with someone else using Subsurface for whatever
> purpose they want (as long as they comply with the license of
> Subsurface and the components that we use - i.e. make the full source
> code of the version that you ship available to any user, among other
> things). But I politely request that you change the branding and that
> you provide your own support. You can call it "Ratio-Divelog (based on
> Subsurface)" or just "Ratio-Divelog". But please don't call the thing
> that you ship "Subsurface". And please don't point your customers to
> us for support. 

I never thought to point our customers to you for support, be sure.
Anyway, got that: if you prefer we can start a spin-off of Subsurface
for our customer's needs.

>  So yeah, this is where Linus and I disagree. You want firmware update
> support? Go ahead, implement it, publish the sources (see above about
> the license requirements), and we'll decide if we want to include
> this. But no, we won't do this for you. 

Ok, sorry for having suggested that. I thought it could have been
easier to find out some skilled people within the Subsurface developers
community instead of starting things ground up. Nevertheless I will try
to see how we can act to do that.

Again, sorry if you felt my email was aiming at limiting your
development freedom: that was definitely out of my scope.

Hoping to hear us soon for news,
My very best regards,
R.

-- 
Riccardo Brama, Ph.D.
Chief of Engineering
Ratio-Computers, a Dive Industries s.r.l. brand
Via Vetturini 22/24
58024 Massa Marittima (GR)
Italia

Web: www.ratio-computers.com
E-mail: riccard...@ratio-computers.com


Ai sensi del "Testo Unico sulla Privacy D. Lgs 196 del 30 Giugno 2003"
questo messaggio di posta, incluso ogni eventuale allegato, potrebbe
contenere materiale riservato, di proprietà esclusiva e/o non pubblico
ed e' destinato soltanto alla persona od al soggetto al quale e'
indirizzato. E' strettamente vietato modificare, ritrasmettere,
divulgare, fare in altro modo uso del messaggio, od intraprendere
qualsiasi azione sulla base delle informazioni in esso contenute, da
parte di persone diverse dal destinatario. Qualora non foste il
destinatario corretto, Vi preghiamo di comunicarlo immediatamente al
mittente e di distruggere il presente messaggio da ogni supporto,
nonche' ogni stampa o copia dello stesso.

According to the "Testo Unico sulla Privacy D. Lgs 196 June 30th 2003"
this e-mail, including any attachments, is intended solely for the
person or entity to which it is addressed and may contain confidential,
proprietary and/or non-public material. Except as stated above, any
review, re-transmission, dissemination or other use of, or taking of any
action in reliance upon this information by persons or entities other
than an intended recipient is prohibited. If you receive this in error,
please notify the sender and delete the material from any media and
destroy any printouts or copies.


___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: CNS calculation headaches

2019-08-10 Thread Riccardo Brama
Robert,

  I totally agree with you on the use of a two functions interpolation. One to 
be used up to 1.5 the other one (that seems to me to be well approximated by a 
linear interpolation) for higher values.

   That would lead to less "underestimation" and to a behavior that seems to be 
more realistic.
   
   Cheers,
   R.

Inviato da iPhone di 
Eng. Riccardo Brama, Ph.D.
Chief of Engineering @Dive Industries

> Il giorno 10 ago 2019, alle ore 17:04, Robert Helling  ha 
> scritto:
> 
> Willem,
> 
>> On 10. Aug 2019, at 16:10, Willem Ferguson  
>> wrote:
>> 
>> An interesting alternative, Robert. I am not happy with the deviation at 1.5 
>> and 1.6. One would have to check what the effect of these two points are on 
>> the power curve. What is the effect on the overall fit of the power curve if 
>> one omits those two points? What of a 3rd order polynomial that could in 
>> principle accommodate the inflection at 1.4? I am not averse to a 
>> mathematical solution because the linear interpolation also causes some 
>> inaccuracy.
>> 
>> 
> 
> here is the same on a log scale:
> 
> 
> 
> I would not be happy to fit this with a line for all points including the 
> last two. Rather, I would use a new line for the last three points (and 
> extrapolate that) for values above pO2=1.5bar.
> 
> 
> Robert
> ___
> subsurface mailing list
> subsurface@subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Ratio ix3m Pro on Android

2019-09-13 Thread Riccardo Brama
Benji,

On Fri, Sep 13, 2019 at 9:44 AM liquid tcp  wrote:

> @riccardo: in the CC transmitter manual you reference a red- and a "blue
> dot" cable not being compatible for charging. are there also relevant
> differences for us?
>

   They share the same controller but not the same "mechanical" design. So
nothing software should be concerned about. ;o)

   Cheers,
   R.-.

-- 
Riccardo Brama, Ph.D.
Head of Engineering @ Dive Industries S.r.l.

IEEE & IEEE-SA Member
Linux Registered User #203260 - (I):SWC'06
ISOC Member #93108
Iscr. Albo Ing. BR A1609
M1 Asi-Sub CMAS Dive Instructor
Sommelier II livello AIS sez. BR

Personal Webspaces:
 http://www.linkedin.com/in/riccardobrama

"And on the sixth day gates went broken and a never ended flock of
Penguins flown by to the Great Pure Lands..."
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Ratio ix3m Pro on Android

2019-09-12 Thread Riccardo Brama
Dirk,

   yes all of them share the same cable controller. It should work that way.

   Thank you and cheers,
   R.-.

Inviato da iPhone di 
Eng. Riccardo Brama, Ph.D.
Chief of Engineering @Dive Industries

> Il giorno 12 set 2019, alle ore 17:13, Dirk Hohndel  ha 
> scritto:
> 
> On Wed, Sep 11, 2019 at 11:53:48PM +0200, liquid tcp wrote:
>>> 
>>> Which serial chip do they use?
>>> 
>>> Plug the dive computer into your phone and run a app like:
>>> https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator
>>> 
>>> And send the info here, and I'll tell you.
>>> 
>> 
>> Like Ricardo wrote: FTDI FT230X Basic UART
>> 
>> Device Info
>> Device Path: /dev/bus/usb/001/002
>> Device Class: Use class information in the Interface Descriptors (0x0)
>> Vendor ID:  0403
>> Vendor Name (reported):  FTDI
>> Vendor Name (from DB):  Future Technology Devices International, Ltd
>> Product ID:  6015
>> Product Name (reported):  FT230X Basic UART
>> Product Name (from DB):  not found
> 
> So that's one of the chips that we already detect. When you plug this into
> your phone, are you asked if you want to open Subsurface-mobile?
> 
> It's quite easy to create a beta version of Subsurace that includes the
> Ratio dive computers as supported on Android to make it possile for you to
> test this. Do all "Pro" computers use the same cable?
> 
>{"DiveSystem", "Orca",  DC_FAMILY_DIVESYSTEM_IDIVE, 0x02, 
> DC_TRANSPORT_SERIAL, NULL},
>{"DiveSystem", "iDive Pro", DC_FAMILY_DIVESYSTEM_IDIVE, 0x03, 
> DC_TRANSPORT_SERIAL, NULL},
>{"DiveSystem", "iDive DAN", DC_FAMILY_DIVESYSTEM_IDIVE, 0x04, 
> DC_TRANSPORT_SERIAL, NULL},
>{"DiveSystem", "iDive Tech",DC_FAMILY_DIVESYSTEM_IDIVE, 0x05, 
> DC_TRANSPORT_SERIAL, NULL},
>{"DiveSystem", "iDive Reb", DC_FAMILY_DIVESYSTEM_IDIVE, 0x06, 
> DC_TRANSPORT_SERIAL, NULL},
>{"DiveSystem", "iDive Stealth", DC_FAMILY_DIVESYSTEM_IDIVE, 0x07, 
> DC_TRANSPORT_SERIAL, NULL},
>{"DiveSystem", "iDive Free",DC_FAMILY_DIVESYSTEM_IDIVE, 0x08, 
> DC_TRANSPORT_SERIAL, NULL},
>{"DiveSystem", "iDive Easy",DC_FAMILY_DIVESYSTEM_IDIVE, 0x09, 
> DC_TRANSPORT_SERIAL, NULL},
>{"DiveSystem", "iDive X3M", DC_FAMILY_DIVESYSTEM_IDIVE, 0x0A, 
> DC_TRANSPORT_SERIAL, NULL},
>{"DiveSystem", "iDive Deep",DC_FAMILY_DIVESYSTEM_IDIVE, 0x0B, 
> DC_TRANSPORT_SERIAL, NULL},
>{"Ratio",  "iX3M GPS Pro ", DC_FAMILY_DIVESYSTEM_IDIVE, 0x21, 
> DC_TRANSPORT_SERIAL | DC_TRANSPORT_BLUETOOTH, dc_filter_divesystem},
>{"Ratio",  "iX3M GPS Easy", DC_FAMILY_DIVESYSTEM_IDIVE, 0x22, 
> DC_TRANSPORT_SERIAL | DC_TRANSPORT_BLUETOOTH, dc_filter_divesystem},
>{"Ratio",  "iX3M GPS Deep", DC_FAMILY_DIVESYSTEM_IDIVE, 0x23, 
> DC_TRANSPORT_SERIAL | DC_TRANSPORT_BLUETOOTH, dc_filter_divesystem},
>{"Ratio",  "iX3M GPS Tech+",DC_FAMILY_DIVESYSTEM_IDIVE, 0x24, 
> DC_TRANSPORT_SERIAL | DC_TRANSPORT_BLUETOOTH, dc_filter_divesystem},
>{"Ratio",  "iX3M GPS Reb",  DC_FAMILY_DIVESYSTEM_IDIVE, 0x25, 
> DC_TRANSPORT_SERIAL | DC_TRANSPORT_BLUETOOTH, dc_filter_divesystem},
>{"Ratio",  "iX3M GPS Fancy",DC_FAMILY_DIVESYSTEM_IDIVE, 0x26, 
> DC_TRANSPORT_SERIAL | DC_TRANSPORT_BLUETOOTH, dc_filter_divesystem},
>{"Ratio",  "iX3M Pro Fancy",DC_FAMILY_DIVESYSTEM_IDIVE, 0x31, 
> DC_TRANSPORT_SERIAL, NULL},
>{"Ratio",  "iX3M Pro Easy", DC_FAMILY_DIVESYSTEM_IDIVE, 0x32, 
> DC_TRANSPORT_SERIAL, NULL},
>{"Ratio",  "iX3M Pro Pro",  DC_FAMILY_DIVESYSTEM_IDIVE, 0x33, 
> DC_TRANSPORT_SERIAL, NULL},
>{"Ratio",  "iX3M Pro Deep", DC_FAMILY_DIVESYSTEM_IDIVE, 0x34, 
> DC_TRANSPORT_SERIAL, NULL},
>{"Ratio",  "iX3M Pro Tech+",DC_FAMILY_DIVESYSTEM_IDIVE, 0x35, 
> DC_TRANSPORT_SERIAL, NULL},
>{"Ratio",  "iX3M Pro Reb",  DC_FAMILY_DIVESYSTEM_IDIVE, 0x36, 
> DC_TRANSPORT_SERIAL, NULL},
>{"Ratio",  "iDive Free",DC_FAMILY_DIVESYSTEM_IDIVE, 0x40, 
> DC_TRANSPORT_SERIAL, NULL},
>{"Ratio",  "iDive Fancy",   DC_FAMILY_DIVESYSTEM_IDIVE, 0x41, 
> DC_TRANSPORT_SERIAL, NULL},
>{"Ratio",   

Re: Ratio ix3m Pro on Android

2019-09-11 Thread Riccardo Brama
Dirk,

   I can ensure you Ratio cable is based on a FTDI FT230X USB to UART
converter.

   Best regards,
   R.-.

On Wed, Sep 11, 2019 at 3:09 PM Dirk Hohndel  wrote:

> On Wed, Sep 11, 2019 at 09:07:51AM +0200, liquid tcp wrote:
> >
> > Since I'm completely new to diving, let me first thank you all for what
> > seems to me as the best available divelog!
> >
> > I do have a Ratio ix3m Pro (Deep) computer that downloads fine to
> subsurface
> > In the Android app [2.2.0(4.9.1.40) - playstore beta] the pros are not
> > listed, and I can't download the logs to subsurface-mobile (via USB-C
> > adapter)
>
> The Pro models don't support BLE - and on Android support of cable based
> downloads is mostly non-existant. Yes, for FTDI cables this appears to
> work for a small number of people who's phones' Android version doesn't
> block access to the way we try to open the USB port, but it appears for
> the vast majority of phones even the FTDI download fails. And I /think/
> the Ratio download cable isn't FTDI based, anyway.
>
> > Is there anything I can do to (help) make it available?
> > Unfortunately I have never worked with C++ before (well, actually I only
> > "played lego" with .Net ;-) except of some assembler basics back in
> school)
> > I've tried and downloaded the repo, but must admit I do not yet
> understand
> > the divecomputer interface, and didn't even find the android related
> code.
> > so I fear I can't be much help with actual coding anytime soon
>
> We in theory know how this situation could be improved. But the only
> developer who really seems to fully understand what needs to be done
> doesn't have the time to work on this, and those who care enough and might
> have the time, don't have sufficient understanding how to make the libusb2
> integration with the native USB port access implementation on newer
> Android work.
>
> /D
> ___
> subsurface mailing list
> subsurface@subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>


-- 
Riccardo Brama, Ph.D.
Chief of Engineering
Ratio-Computers, a Dive Industries s.r.l. brand
Via Vetturini 22/24
58024 Massa Marittima (GR)
Italia

Web: www.ratio-computers.com
E-mail: riccard...@ratio-computers.com


Ai sensi del "Testo Unico sulla Privacy D. Lgs 196 del 30 Giugno 2003"
questo messaggio di posta, incluso ogni eventuale allegato, potrebbe
contenere materiale riservato, di proprietà esclusiva e/o non pubblico
ed e' destinato soltanto alla persona od al soggetto al quale e'
indirizzato. E' strettamente vietato modificare, ritrasmettere,
divulgare, fare in altro modo uso del messaggio, od intraprendere
qualsiasi azione sulla base delle informazioni in esso contenute, da
parte di persone diverse dal destinatario. Qualora non foste il
destinatario corretto, Vi preghiamo di comunicarlo immediatamente al
mittente e di distruggere il presente messaggio da ogni supporto,
nonche' ogni stampa o copia dello stesso.

According to the "Testo Unico sulla Privacy D. Lgs 196 June 30th 2003"
this e-mail, including any attachments, is intended solely for the
person or entity to which it is addressed and may contain confidential,
proprietary and/or non-public material. Except as stated above, any
review, re-transmission, dissemination or other use of, or taking of any
action in reliance upon this information by persons or entities other
than an intended recipient is prohibited. If you receive this in error,
please notify the sender and delete the material from any media and
destroy any printouts or copies.

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Problems with 4.9.3 appimage

2019-09-26 Thread Riccardo Brama
Hi guys,

   I've downloaded right now the 4.9.3 appimage on my damn old FC20 and
I've received the following error

./Subsurface-4.9.3-x86_64.AppImage: /lib64/libstdc++.so.6: version
`GLIBCXX_3.4.22' not found (required by
/tmp/.mount_SubsurJp7Yi1/usr/bin/../lib/libQt5WebKit.so.5)

   Never had anything like that up to 4.9.2.
   Yes, I know I have to update my system... but time is always lacking...
:(
   Thank you in advance for trying to solve the issue.
   Cheers,
   R-.-

-- 
Riccardo Brama, Ph.D.
Chief of Engineering
Ratio-Computers, a Dive Industries s.r.l. brand
Via Vetturini 22/24
58024 Massa Marittima (GR)
Italia

Web: www.ratio-computers.com
E-mail: riccard...@ratio-computers.com


Ai sensi del "Testo Unico sulla Privacy D. Lgs 196 del 30 Giugno 2003"
questo messaggio di posta, incluso ogni eventuale allegato, potrebbe
contenere materiale riservato, di proprietà esclusiva e/o non pubblico
ed e' destinato soltanto alla persona od al soggetto al quale e'
indirizzato. E' strettamente vietato modificare, ritrasmettere,
divulgare, fare in altro modo uso del messaggio, od intraprendere
qualsiasi azione sulla base delle informazioni in esso contenute, da
parte di persone diverse dal destinatario. Qualora non foste il
destinatario corretto, Vi preghiamo di comunicarlo immediatamente al
mittente e di distruggere il presente messaggio da ogni supporto,
nonche' ogni stampa o copia dello stesso.

According to the "Testo Unico sulla Privacy D. Lgs 196 June 30th 2003"
this e-mail, including any attachments, is intended solely for the
person or entity to which it is addressed and may contain confidential,
proprietary and/or non-public material. Except as stated above, any
review, re-transmission, dissemination or other use of, or taking of any
action in reliance upon this information by persons or entities other
than an intended recipient is prohibited. If you receive this in error,
please notify the sender and delete the material from any media and
destroy any printouts or copies.

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface