Any brave dive computer download testers out there?

2018-04-17 Thread Linus Torvalds
So libdivecomputer has a new custom IO model, which allows us to drop our home-made one. However, that new model is fairly different from our old model, and there were other updates too, so the changes are "flag-day" changes where we switch over both libdivecomputer and subsurface together. I ha

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Sébastien Dugué
Hello Linus, On Wed, Apr 18, 2018 at 5:35 AM, Linus Torvalds wrote: > So libdivecomputer has a new custom IO model, which allows us to drop > our home-made one. > > However, that new model is fairly different from our old model, and > there were other updates too, so the changes are "flag-day" c

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Jan Mulder
On 18-04-18 05:35, Linus Torvalds wrote: I have *TEST* branches for both, in case people want to help test. Note! I only do source code, so this really only works for people who can build their own subsurface binary, but if you are one of those hardy souls, it realy would be good to get more cas

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Miika Turkia
On Wed, Apr 18, 2018 at 12:29 PM, Jan Mulder wrote: > On 18-04-18 05:35, Linus Torvalds wrote: > >> >> I have *TEST* branches for both, in case people want to help test. >> Note! I only do source code, so this really only works for people who >> can build their own subsurface binary, but if you a

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Linus Torvalds
On Wed, Apr 18, 2018 at 2:29 AM, Jan Mulder wrote: > > Tested on Arch Linux with an OSTC3 (desktop only, so no mobile-on-desktop, > or Android). Thanks. > - Successful download over BLE > - Cannot download over classic BT (it always goes to BLE, even in case > "force classic" in the UI is chosen

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Linus Torvalds
On Wed, Apr 18, 2018 at 11:31 AM, Miika Turkia wrote: > > I failed with BT download (OSTC Sport). But my download fails also with the > release version of Subsurface. Unpairing-pairing works but no download with > subsurface on Linux desktop for me :( Is the OSTC sport a rfcomm (legacy BT) device

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Sébastien Dugué
On Wed, Apr 18, 2018 at 9:55 AM, Sébastien Dugué wrote: > Hello Linus, > > On Wed, Apr 18, 2018 at 5:35 AM, Linus Torvalds > wrote: >> So libdivecomputer has a new custom IO model, which allows us to drop >> our home-made one. >> >> However, that new model is fairly different from our old model,

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Dirk Hohndel
> On Apr 18, 2018, at 8:40 PM, Linus Torvalds > wrote: > >> - Successful download over BLE >> - Cannot download over classic BT (it always goes to BLE, even in case >> "force classic" in the UI is chosen). But unsure this is related to the >> transport refactoring. > > Yeah, right now the logi

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Linus Torvalds
On Wed, Apr 18, 2018 at 12:55 AM, Sébastien Dugué wrote: > > That's really cool! I'll try that out tonight (CET) with my Uwatec DCs just > to > check IRDA is still functional. I'm pretty sure I broke IRDA. It should be easy to fix. Note that IRDA support is going away in the kernel, though -

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Dirk Hohndel
> On Apr 18, 2018, at 8:47 PM, Linus Torvalds > wrote: > > On Wed, Apr 18, 2018 at 11:31 AM, Miika Turkia wrote: >> >> I failed with BT download (OSTC Sport). But my download fails also with the >> release version of Subsurface. Unpairing-pairing works but no download with >> subsurface on Li

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Linus Torvalds
On Wed, Apr 18, 2018 at 11:48 AM, Dirk Hohndel wrote: > > I think that's backwards. If the dive computer and the Subsurface version > both support BT, we should prefer that over BLE by default. Well, since it seems to be broken, I'm not sure that's a good idea. I also definitely don't want to de

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Sébastien Dugué
On Wed, Apr 18, 2018 at 8:48 PM, Linus Torvalds wrote: > On Wed, Apr 18, 2018 at 12:55 AM, Sébastien Dugué > wrote: >> >> That's really cool! I'll try that out tonight (CET) with my Uwatec DCs >> just to >> check IRDA is still functional. > > I'm pretty sure I broke IRDA. It should be easy to

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Linus Torvalds
On Wed, Apr 18, 2018 at 11:48 AM, Linus Torvalds wrote: > On Wed, Apr 18, 2018 at 12:55 AM, Sébastien Dugué > wrote: >> >> That's really cool! I'll try that out tonight (CET) with my Uwatec DCs >> just to >> check IRDA is still functional. > > I'm pretty sure I broke IRDA. It should be easy to

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Linus Torvalds
On Wed, Apr 18, 2018 at 11:57 AM, Sébastien Dugué wrote: >> >> Note that IRDA support is going away in the kernel, though - we had >> too many bugs and it was impossible to maintain. So you'll have to use >> an older kernel. > > Arghhh! You mean the whole stack? Darn! will have to keep some old

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Dirk Hohndel
> On Apr 18, 2018, at 8:56 PM, Linus Torvalds > wrote: > > On Wed, Apr 18, 2018 at 11:48 AM, Dirk Hohndel wrote: >> >> I think that's backwards. If the dive computer and the Subsurface version >> both support BT, we should prefer that over BLE by default. > > Well, since it seems to be broke

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Sébastien Dugué
On Wed, Apr 18, 2018 at 8:58 PM, Linus Torvalds wrote: > On Wed, Apr 18, 2018 at 11:48 AM, Linus Torvalds > wrote: >> On Wed, Apr 18, 2018 at 12:55 AM, Sébastien Dugué >> wrote: >>> >>> That's really cool! I'll try that out tonight (CET) with my Uwatec DCs >>> just to >>> check IRDA is still

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Linus Torvalds
On Wed, Apr 18, 2018 at 12:00 PM, Linus Torvalds wrote: > > I'd love to bring it back, but it would need a maintainer.. Hint hint. And by "it", I don't actually mean all of irda. irda is dead, dead, dead. But maybe the actual individual driver that somebody is willing to maintain, and a small sub

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Sébastien Dugué
On Wed, Apr 18, 2018 at 9:00 PM, Linus Torvalds wrote: > On Wed, Apr 18, 2018 at 11:57 AM, Sébastien Dugué > wrote: >>> >>> Note that IRDA support is going away in the kernel, though - we had >>> too many bugs and it was impossible to maintain. So you'll have to use >>> an older kernel. >> >> A

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Federico Masias
I've never been able to get a proper build on macOS (though I honestly haven't been particularly motivated to do so lately) so I can't test Linus' branch I'd be able to test an i200 if you did a test binary, but I'm not sure the effort is worth it for one person who can only test USB On Wed, Apr

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Linus Torvalds
On Wed, Apr 18, 2018 at 12:06 PM, Sébastien Dugué wrote: > > OK, it's good to go. The download is in progress (it's painfully > slow), but that > means divecomputer_device_open() did succeed! Thanks. Committed and pushed out to the libdivecomputer-NG branch. Linus

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Miika Turkia
On Wed, Apr 18, 2018 at 9:47 PM, Linus Torvalds < torva...@linux-foundation.org> wrote: > On Wed, Apr 18, 2018 at 11:31 AM, Miika Turkia > wrote: > > > > I failed with BT download (OSTC Sport). But my download fails also with > the > > release version of Subsurface. Unpairing-pairing works but no

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Sébastien Dugué
On Wed, Apr 18, 2018 at 9:07 PM, Linus Torvalds wrote: >> I'd love to bring it back, but it would need a maintainer.. Hint hint. > > And by "it", I don't actually mean all of irda. irda is dead, dead, > dead. But maybe the actual individual driver that somebody is willing > to maintain, and a smal

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Linus Torvalds
On Wed, Apr 18, 2018 at 12:10 PM, Sébastien Dugué wrote: > > Looks like a bit daunting for me. However maybe a userspace approach > might be doable. Dunno. Will have to think a bit more about it. Indeed. That has been my long-term thinking about IRDA - most of the IRDA dongles are just USB or s

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Matt Thompson
I don't have time to set up a build environment but if I can get a test build for any of the supported OS's I can test with a Cobalt, Suunto D4i, and Aqualung i750tc. On Wed, Apr 18, 2018 at 2:04 PM, Dirk Hohndel wrote: > > > On Apr 18, 2018, at 8:56 PM, Linus Torvalds < > torva...@linux-foundat

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Linus Torvalds
On Wed, Apr 18, 2018 at 12:14 PM, Sébastien Dugué wrote: > > Right, only bring back those pieces that are of interest. I'll take a look > at this, but I'm not really into bloated communication stacks... I'm merely > a low-level driver coder. If you're more comfortable just sending packets to th

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Sébastien Dugué
On Wed, Apr 18, 2018 at 9:17 PM, Linus Torvalds wrote: > On Wed, Apr 18, 2018 at 12:10 PM, Sébastien Dugué > wrote: >> >> Looks like a bit daunting for me. However maybe a userspace approach >> might be doable. Dunno. Will have to think a bit more about it. > > Indeed. That has been my long-ter

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Dirk Hohndel
> On Apr 18, 2018, at 9:17 PM, Matt Thompson wrote: > > I don't have time to set up a build environment but if I can get a test build > for any of the supported OS's I can test with a Cobalt, Suunto D4i, and > Aqualung i750tc. I'm trying to get Travis to do that for us. Which OSs can you test

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Sébastien Dugué
On Wed, Apr 18, 2018 at 9:20 PM, Linus Torvalds wrote: > If you're more comfortable just sending packets to the device, doing > it in user space would be much better. Right, I like writing drivers, but this has to be a userspace thing. > > It would also make it possible to work on OS X, because

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Matt Thompson
I can test all three platforms. I have a Macbook and a dual boot PC and a pile of computers with fresh dives from this weekend! :) On Wed, Apr 18, 2018 at 2:28 PM, Dirk Hohndel wrote: > > > On Apr 18, 2018, at 9:17 PM, Matt Thompson wrote: > > > > I don't have time to set up a build environmen

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Linus Torvalds
On Wed, Apr 18, 2018 at 12:27 PM, Sébastien Dugué wrote: > > I looked into this when writing a simulator of my 2G and as far as I > remember, there's not much of the stack involved when talking to an irda > DC. All special cases. I may still have the traffic captures laying around Yeah, it shou

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Hartley Horwitz
> > > > -- Forwarded message -- > From: Linus Torvalds > To: "Sébastien Dugué" > Cc: Subsurface Mailing List > Bcc: > Date: Wed, 18 Apr 2018 12:20:35 -0700 > Subject: Re: Any brave dive computer download testers out there? > On Wed

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Robert Helling
Dirk, > On 18. Apr 2018, at 21:28, Dirk Hohndel wrote: > > I'm trying to get Travis to do that for us. > Which OSs can you test? Travis creates an AppImage, Windows and an unsigned > Mac .app - assuming the builds don't fail :-) please excuse my ignorance. It seems that the Mac build on Travis

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Willem Ferguson
Subsurface Mailing List >> Bcc: >> Date: Wed, 18 Apr 2018 12:20:35 -0700 >> Subject: Re: Any brave dive computer download testers out there? >> On Wed, Apr 18, 2018 at 12:14 PM, Sébastien Dugué >> wrote: >> > >> > Right, only bring back those

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Dirk Hohndel
> On Apr 18, 2018, at 10:13 PM, Robert Helling wrote: > > Dirk, > >> On 18. Apr 2018, at 21:28, Dirk Hohndel > > wrote: >> >> I'm trying to get Travis to do that for us. >> Which OSs can you test? Travis creates an AppImage, Windows and an unsigned >> Mac .app - assum

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Dirk Hohndel
We now have binaries for Windows, Mac, and Linux (AppImage only) available in order for people to test this. https://github.com/Subsurface-divelog/subsurface/releases/tag/continuous-NG /D_

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Salvador Cuñat
Good night, On Wed, Apr 18, 2018 at 11:01:28PM +0200, Dirk Hohndel wrote: > > We now have binaries for Windows, Mac, and Linux (AppImage only) available in > order for people to test this. > AppImage works fine for USB download (on debian with an OSTC 2N device). Best regards. Salva. _

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Robert Helling
Hi, > On 18. Apr 2018, at 23:01, Dirk Hohndel wrote: > > We now have binaries for Windows, Mac, and Linux (AppImage only) available in > order for people to test this. > > https://github.com/Subsurface-divelog/subsurface/releases/tag/continuous-NG >

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Linus Torvalds
On Wed, Apr 18, 2018 at 3:37 PM, Robert Helling wrote: > > Couldn’t get the dive computer configuration to work either with BLE or > classic. Did this work with the previous release (4.7.8 or whatever)? I had been hoping that I got the config thing right, but I've never used it or tested it (I'

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Linus Torvalds
On Wed, Apr 18, 2018 at 12:27 PM, Sébastien Dugué wrote: > > I looked into this when writing a simulator of my 2G and as far as I > remember, there's not much of the stack involved when talking to an irda > DC. All special cases. I may still have the traffic captures laying around Hmm. Which IR

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Linus Torvalds
On Wed, Apr 18, 2018 at 4:18 PM, Linus Torvalds wrote: > > Hmm. Which IRDA chip is it that is in the Uwatec dongle? > > Is it perhaps the MosChip MCS7780? You'd know, because then it would > be using USB ID 9710:7780. That seems to be the common case. Hmm. Googling around, I see that it might als

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Dirk Hohndel
> On Apr 19, 2018, at 12:54 AM, Linus Torvalds > wrote: > > On Wed, Apr 18, 2018 at 3:37 PM, Robert Helling wrote: >> >> Couldn’t get the dive computer configuration to work either with BLE or >> classic. > > Did this work with the previous release (4.7.8 or whatever)? > > I had been hopin

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Robert Helling
LInus, > On 19. Apr 2018, at 00:54, Linus Torvalds > wrote: > > Did this work with the previous release (4.7.8 or whatever)? > > I had been hoping that I got the config thing right, but I've never > used it or tested it (I'm not sure I even have any of the dive > computers that are supported),

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Robert Helling
Hi, > On 19. Apr 2018, at 08:01, Robert Helling wrote: > > I double checked: In 4.7.8, I can connect with BT classic, in your branch I > cannot. Also, in the release version I can change the settings in BLE while > in your branch I get an „Unsupported operation“ error (BTW, we should show > t

Re: Any brave dive computer download testers out there?

2018-04-19 Thread tormento
I will give a try to NG. Where does the stable Subsurface save the configuration file with cloud password etc? I'd like to make a backup. 2018-04-19 8:39 GMT+02:00 Robert Helling : > Hi, > > On 19. Apr 2018, at 08:01, Robert Helling wrote: > > I double checked: In 4.7.8, I can connect with BT c

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Sébastien Dugué
On Thu, Apr 19, 2018 at 1:18 AM, Linus Torvalds wrote: > > Hmm. Which IRDA chip is it that is in the Uwatec dongle? > > Is it perhaps the MosChip MCS7780? You'd know, because then it would > be using USB ID 9710:7780. That seems to be the common case. Yep, as Willem pointed out, this is the one

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Sébastien Dugué
On Thu, Apr 19, 2018 at 1:50 AM, Linus Torvalds wrote: > On Wed, Apr 18, 2018 at 4:18 PM, Linus Torvalds > wrote: >> >> Hmm. Which IRDA chip is it that is in the Uwatec dongle? >> >> Is it perhaps the MosChip MCS7780? You'd know, because then it would >> be using USB ID 9710:7780. That seems to b

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Sébastien Dugué
On Wed, Apr 18, 2018 at 10:15 PM, Willem Ferguson wrote: > From phone. You guys in the developed world have resources for all the > latest kit. I my country iRda is commonly used. In addition the CCR > community worldwide often use iRda. It has a significant role to play at > least for the next 10

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Willem Ferguson
On 18/04/2018 05:35, Linus Torvalds wrote: So libdivecomputer has a new custom IO model, which allows us to drop our home-made one. However, that new model is fairly different from our old model, and there were other updates too, so the changes are "flag-day" changes where we switch over both

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Chirana Gheorghita Eugeniu Theodor
I would test but it seems that my tusa zen iq-900 isnot present in this version of libdivecomputer (android) On Thu, Apr 19, 2018, 00:01 Dirk Hohndel wrote: > > We now have binaries for Windows, Mac, and Linux (AppImage only) available > in order for people to test this. > > https://github.com/S

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Jef Driesen
On 2018-04-19 09:42, Sébastien Dugué wrote: On Thu, Apr 19, 2018 at 1:50 AM, Linus Torvalds wrote: On Wed, Apr 18, 2018 at 4:18 PM, Linus Torvalds wrote: Hmm. Which IRDA chip is it that is in the Uwatec dongle? Is it perhaps the MosChip MCS7780? You'd know, because then it would be using US

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Sébastien Dugué
Thanks Jef, this may indeed be a good starting point. Sébastien. On Thu, Apr 19, 2018 at 10:20 AM, Jef Driesen wrote: > On 2018-04-19 09:42, Sébastien Dugué wrote: >> >> On Thu, Apr 19, 2018 at 1:50 AM, Linus Torvalds >> wrote: >>> >>> On Wed, Apr 18, 2018 at 4:18 PM, Linus Torvalds >>> wrote:

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Dirk Hohndel
On Thu, Apr 19, 2018 at 09:25:19AM +0200, tormento wrote: > I will give a try to NG. > > Where does the stable Subsurface save the configuration file with cloud > password etc? I'd like to make a backup. Depends on your OS. We rely on Qt to do that for us. Look at http://doc.qt.io/qt-5/qsettings.

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Dirk Hohndel
On Thu, Apr 19, 2018 at 08:17:56AM +, Chirana Gheorghita Eugeniu Theodor wrote: > I would test but it seems that my tusa zen iq-900 isnot present in this > version of libdivecomputer (android) That's odd. Which dive computers does it show as supported? Could you send us the subsurface.log fil

Re: Any brave dive computer download testers out there?

2018-04-19 Thread tormento
Windows 10 x64, sorry. Il giorno gio 19 apr 2018 alle 12:22 Dirk Hohndel ha scritto: > On Thu, Apr 19, 2018 at 09:25:19AM +0200, tormento wrote: > > I will give a try to NG. > > > > Where does the stable Subsurface save the configuration file with cloud > > password etc? I'd like to make a backu

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Chirana Gheorghita Eugeniu Theodor
Here is it. On Thu, Apr 19, 2018, 13:24 Dirk Hohndel wrote: > On Thu, Apr 19, 2018 at 08:17:56AM +, Chirana Gheorghita Eugeniu > Theodor wrote: > > I would test but it seems that my tusa zen iq-900 isnot present in this > > version of libdivecomputer (android) > > That's odd. Which dive comp

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Dirk Hohndel
> On Apr 19, 2018, at 1:42 PM, Chirana Gheorghita Eugeniu Theodor > wrote: > > Here is it. That's missing the listing of all the supported dive computers that we usually create at startup. I'm confused. What else is new. Let me investigate why that's the case... /D _

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Dirk Hohndel
In Windows the settings are all stored in the registry. So no easy way (that I'm aware of) of backing them up /D > On Apr 19, 2018, at 1:26 PM, tormento wrote: > > Windows 10 x64, sorry. > > Il giorno gio 19 apr 2018 alle 12:22 Dirk Hohndel > ha scritto: > On Thu, Apr

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Dirk Hohndel
> On Apr 19, 2018, at 3:31 PM, Robert Helling wrote: > > Dirk, > >> On 19. Apr 2018, at 14:34, Dirk Hohndel > > wrote: >> >> That's missing the listing of all the supported dive computers that we >> usually create at startup. >> I'm confused. What else is new. > > >

Re: Any brave dive computer download testers out there?

2018-04-19 Thread tormento
That's a pity. Subsurface already creates its own directories in Local and Roaming. Let's put settings there too... Do you think it's feasable? Alberto 2018-04-19 14:31 GMT+02:00 Dirk Hohndel : > In Windows the settings are all stored in the registry. So no easy way > (that I'm > aware of) of

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Dirk Hohndel
I'm sure that's feasible. For us using the Qt QSettings system is a major convenience as it works on all of our target OSs. I haven't looked into options to export the QSettings and being able to restore them. One way to work around this is to start Subsurface with an option to run it as a differe

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Hartley Horwitz
I plead ignorance. I didn't realize that CCR use IrDA. My point was that I'd be happy to forgo some of the new wiz-bang features and just have a stable 'old' version of Subsurface if that allows the developers the freedom to move quicker on developing newer features. Many of those new features ar

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Willem Ferguson
On 19/04/2018 18:03, Hartley Horwitz wrote: I plead ignorance.  I didn't realize that CCR use IrDA. My point was that I'd be happy to forgo some of the new wiz-bang features and just have a stable 'old' version of Subsurface if that allows the developers the freedom to move quicker on developin

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Miika Turkia
On Wed, Apr 18, 2018 at 10:12 PM, Miika Turkia wrote: > On Wed, Apr 18, 2018 at 9:47 PM, Linus Torvalds < > torva...@linux-foundation.org> wrote: > >> On Wed, Apr 18, 2018 at 11:31 AM, Miika Turkia >> wrote: >> > >> > I failed with BT download (OSTC Sport). But my download fails also with >> the

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Matt Thompson
On Wed, Apr 18, 2018 at 4:01 PM, Dirk Hohndel wrote: > > We now have binaries for Windows, Mac, and Linux (AppImage only) available > in order for people to test this. > > https://github.com/Subsurface-divelog/subsurface/releases/ > tag/continuous-NG > > > I tested all three of my computers on Wi

Re: Any brave dive computer download testers out there?

2018-04-20 Thread Jérémie Guichard
Hey guys, Just tried this build on Windows 10: https://github.com/Subsurface-divelog/subsurface/releases/download/continuous-NG/subsurface-4.7.8-73-ga12ea13d51f5.exe With Scubapro G2 and Suunto Zoop over USB. Seems to work like a charm. Jeremie 2018-04-20 9:56 GMT+07:00 Matt Thompson : > > > O

Re: Any brave dive computer download testers out there?

2018-04-20 Thread Murillo Bernardes
Successfully downloaded dives on a Mac from: - Oceanic OCi over USB - Perdix AI over BLE Murillo Bernardes On Fri, Apr 20, 2018 at 1:05 PM, Jérémie Guichard wrote: > Hey guys, > > Just tried this build on Windows 10: https://github.com/ > Subsurface-divelog/subsurface/releases/download/continuo

Re: Any brave dive computer download testers out there?

2018-04-22 Thread Jérémie Guichard
Hi guys, I just tried Scubapro G2 over bluetooth on Android build and it did not work, but I must say this was already the case on Android for the normal release. This use case was working few month ago but cannot remember the version it was. I'm not sure it actually helps but I attached the log

Re: Any brave dive computer download testers out there?

2018-04-22 Thread Jef Driesen
It looks like some data got transferred succesfully. But then the logging stops. Can you send the libdivecomputer logfile? That should give some more info. (I'm not sure whether android app supports saving libdc log.) Jef On April 22, 2018 12:52:48 PM GMT+02:00, "Jérémie Guichard" wrote: >Hi

Re: Any brave dive computer download testers out there?

2018-04-22 Thread Dirk Hohndel
> On Apr 22, 2018, at 6:17 AM, Jef Driesen wrote: > > It looks like some data got transferred succesfully. But then the logging > stops. Can you send the libdivecomputer logfile? That should give some more > info. (I'm not sure whether android app supports saving libdc log.) It does, it's in

Re: Any brave dive computer download testers out there?

2018-04-22 Thread Linus Torvalds
On Sun, Apr 22, 2018 at 3:52 AM, Jérémie Guichard wrote: > > I just tried Scubapro G2 over bluetooth on Android build and it did not > work, but I must say this was already the case on Android for the normal > release. Hmm. I just tried my G2 over USB, and that worked fine. But bluetooth connect

Re: Any brave dive computer download testers out there?

2018-04-22 Thread Jef Driesen
On 22-04-18 18:37, Linus Torvalds wrote: On Sun, Apr 22, 2018 at 3:52 AM, Jérémie Guichard wrote: I just tried Scubapro G2 over bluetooth on Android build and it did not work, but I must say this was already the case on Android for the normal release. Hmm. I just tried my G2 over USB, and th

Re: Any brave dive computer download testers out there?

2018-04-22 Thread Dirk Hohndel
> On Apr 22, 2018, at 12:22 PM, Jef Driesen wrote: > > No, the protocol doesn't support that. But it does support downloading only > the new dives. Unfortunately, the only way to take advantage of that is by > means of the libdivecomputer fingerprint feature. > > This is actually one of those

Re: Any brave dive computer download testers out there?

2018-04-22 Thread Linus Torvalds
On Sun, Apr 22, 2018, 12:42 Dirk Hohndel wrote: > > I know we initially didn't use the fingerprint (5 or so years ago) because > back then something was broken with it. > Linus, is there still a design reason why we can't use it? It still has the exact same problem it always had: it's random bi

Re: Any brave dive computer download testers out there?

2018-04-22 Thread Dirk Hohndel
> On Apr 22, 2018, at 1:09 PM, Linus Torvalds > wrote: > > > > On Sun, Apr 22, 2018, 12:42 Dirk Hohndel > wrote: > > I know we initially didn't use the fingerprint (5 or so years ago) because > back then something was broken with it. > Linus, is there still a desig

Re: Any brave dive computer download testers out there?

2018-04-22 Thread Linus Torvalds
On Sun, Apr 22, 2018 at 1:19 PM, Dirk Hohndel wrote: > > Yeah, it's ugly, but it should make a huge difference in BLE download speed > if I understand correctly what's going on. The whole thing is basically completely mis-designed and retarded. On most dive computers it actually is *worse* than w

Re: Any brave dive computer download testers out there?

2018-04-22 Thread Rick Walsh
On 19 April 2018 at 07:01, Dirk Hohndel wrote: > > We now have binaries for Windows, Mac, and Linux (AppImage only) available > in order for people to test this. > > https://github.com/Subsurface-divelog/subsurface/releases/ta > g/continuous-NG > > I'm a bit late to the party, but I've tested the

Re: Any brave dive computer download testers out there?

2018-04-23 Thread Sébastien Dugué
On Sun, Apr 22, 2018 at 9:42 PM, Dirk Hohndel wrote: > >> On Apr 22, 2018, at 12:22 PM, Jef Driesen wrote: >> >> No, the protocol doesn't support that. But it does support downloading only >> the new dives. Unfortunately, the only way to take advantage of that is by >> means of the libdivecompu

Re: Any brave dive computer download testers out there?

2018-04-23 Thread Sébastien Dugué
On Sun, Apr 22, 2018 at 10:09 PM, Linus Torvalds wrote: > > It still has the exact same problem it always had: it's random binary data > that we'd have to encode some way. Well, it's not so random. It's in fact a timestamp in the DC format which specifies from which dive we wish to download.

Re: Any brave dive computer download testers out there?

2018-04-23 Thread Jef Driesen
On 2018-04-20 04:56, Matt Thompson wrote: My Atomic Cobalt2 worked on Windows and macOS but failed on Linux. I think the failure on Linux is a configuration issue on my part but for completeness I get the following in the console: ERROR: Failed to open the usb device. [in ../../src/atomics_cob

Re: Any brave dive computer download testers out there?

2018-04-23 Thread Matt Thompson
Thanks, Jef. On Mon, Apr 23, 2018 at 4:59 AM, Jef Driesen wrote: > On 2018-04-20 04:56, Matt Thompson wrote: > >> My Atomic Cobalt2 worked on Windows and macOS but failed on Linux. I >> think >> the failure on Linux is a configuration issue on my part but for >> completeness I get the followin

Re: Any brave dive computer download testers out there?

2018-04-23 Thread Dirk Hohndel
> On Apr 23, 2018, at 7:43 AM, Matt Thompson wrote: > I do have the USB drivers for the D4i installed on macOS and Windows. On all > three platforms I was able to successfully download dives using Subsurface > 4.7.8. I take that to mean that I have the correct permissions on the > platforms

Re: Any brave dive computer download testers out there?

2018-04-23 Thread Matt Thompson
On Mon, Apr 23, 2018 at 9:51 AM, Dirk Hohndel wrote: > > > On Apr 23, 2018, at 7:43 AM, Matt Thompson wrote: > > > I do have the USB drivers for the D4i installed on macOS and Windows. > On all three platforms I was able to successfully download dives using > Subsurface 4.7.8. I take that to me

Re: Any brave dive computer download testers out there?

2018-04-23 Thread Linus Torvalds
On Mon, Apr 23, 2018 at 12:56 AM, Sébastien Dugué wrote: > On Sun, Apr 22, 2018 at 10:09 PM, Linus Torvalds > wrote: >> >> It still has the exact same problem it always had: it's random binary data >> that we'd have to encode some way. > > Well, it's not so random. It's in fact a timestamp in t

Re: Any brave dive computer download testers out there?

2018-04-23 Thread Linus Torvalds
On Mon, Apr 23, 2018 at 10:07 AM, Linus Torvalds wrote: > > What we *could* do is to do it knowingly wrong, the way dctool does > it: don't save the fingerprint data with the real dive data at all, > just have a random "last download" cache indexed by device family and > serial number. > > That's

Re: Any brave dive computer download testers out there?

2018-04-23 Thread Robert Helling
Hi, not that really followed this and have anything significant to say about dive computer download but… > On 23. Apr 2018, at 20:57, Linus Torvalds > wrote: > > It's dangerous because the rule is "once we've downloaded the dives on > one machine, we don't want to download them again". > >

Re: Any brave dive computer download testers out there?

2018-04-23 Thread Matt Thompson
On Mon, Apr 23, 2018 at 9:59 AM, Matt Thompson wrote: > > On Mon, Apr 23, 2018 at 9:51 AM, Dirk Hohndel wrote: > >> >> > On Apr 23, 2018, at 7:43 AM, Matt Thompson wrote: >> >> > I do have the USB drivers for the D4i installed on macOS and Windows. >> On all three platforms I was able to succes

Re: Any brave dive computer download testers out there?

2018-04-23 Thread Linus Torvalds
On Mon, Apr 23, 2018 at 6:45 PM, Robert Helling wrote: > > and you know the obvious solution: store a random base64 encoded string Yeah, no. I will not do stupid things just because libdivecomputer has a moronic interface. Out data format is more important than this fingerprint braindamage.

Re: Any brave dive computer download testers out there?

2018-04-24 Thread Sébastien Dugué
On Mon, Apr 23, 2018 at 7:07 PM, Linus Torvalds wrote: > On Mon, Apr 23, 2018 at 12:56 AM, Sébastien Dugué > wrote: >> On Sun, Apr 22, 2018 at 10:09 PM, Linus Torvalds >> wrote: >>> >>> It still has the exact same problem it always had: it's random binary data >>> that we'd have to encode some w

Re: Any brave dive computer download testers out there?

2018-04-24 Thread Linus Torvalds
On Tue, Apr 24, 2018 at 5:27 AM, Sébastien Dugué wrote: > On Mon, Apr 23, 2018 at 7:07 PM, Linus Torvalds > wrote: >> >> On most dive computers, it's 4 bytes, on others it's 5-6, and on some >> it's 16 bytes of random binary data. > > My bad, I assumed that feature was only present in the Uwat

Re: Any brave dive computer download testers out there?

2018-04-24 Thread Willem Ferguson
I thought I should attach the log of my BT download from a Petrel 2. Initial handshaking took maybe 40s, showing error message in red bar at bottom of screen "Timeout" But, if not interrupted, the download proceeded perfectly shortly after the timeout message and download exited normally on

Re: Any brave dive computer download testers out there?

2018-04-24 Thread Linus Torvalds
On Tue, Apr 24, 2018 at 11:03 AM, Willem Ferguson wrote: > > Initial handshaking took maybe 40s, showing error message in red bar at > bottom of screen "Timeout" Hmm. It looks like it first tried to do a BLE download, and that failed (and this is what took a longish time). And then because of th

Re: Any brave dive computer download testers out there?

2018-04-24 Thread Willem Ferguson
On 24/04/2018 20:08, Linus Torvalds wrote: On Tue, Apr 24, 2018 at 11:03 AM, Willem Ferguson wrote: Initial handshaking took maybe 40s, showing error message in red bar at bottom of screen "Timeout" Hmm. It looks like it first tried to do a BLE download, and that failed (and this is what took

Re: Any brave dive computer download testers out there?

2018-04-24 Thread Linus Torvalds
On Tue, Apr 24, 2018 at 11:25 AM, Willem Ferguson wrote: > > I did the same download by setting the dropdown option in the BT setup panel > to 'Force Classical'. The new code just ignores the classic/ble/auto setting right now. I'd rather do it using the "dc_transports" model that we now use for

Re: Any brave dive computer download testers out there?

2018-04-25 Thread Long, Martin
The BLE thing has basically made subsurface unusable for me for the last month or so. Oddly, it works fine with my Perdix AI, but not with the dual-stack Petrel 2 that's wired up to my rebreather - last time I was able to use it was when I was able to select and force the legacy BT stack. Does thi

Re: Any brave dive computer download testers out there?

2018-04-25 Thread Chirana Gheorghita Eugeniu Theodor
Hmm very weird. I use now latest 4.7.8 and successfully connects to Petrel 1 but will not connect to mh older tusa zen iq-900 over usb ftdi. On Wed, Apr 25, 2018, 10:26 Long, Martin wrote: > The BLE thing has basically made subsurface unusable for me for the last > month or so. Oddly, it works f

Re: Any brave dive computer download testers out there?

2018-04-25 Thread Long, Martin
On 25 April 2018 at 09:07, Chirana Gheorghita Eugeniu Theodor < off...@adaptcom.ro> wrote: > Hmm very weird. > I use now latest 4.7.8 and successfully connects to Petrel 1 but will not > connect to mh older tusa zen iq-900 over usb ftdi. > It's likely to connect to Petrel one because it is single

Re: Any brave dive computer download testers out there?

2018-04-25 Thread Chirana Gheorghita Eugeniu Theodor
Ok ... than i can confirm that for perdix does not work either. One of my friends tested the official release On Wed, Apr 25, 2018, 11:43 Long, Martin wrote: > > On 25 April 2018 at 09:07, Chirana Gheorghita Eugeniu Theodor < > off...@adaptcom.ro> wrote: > >> Hmm very weird. >> I use now latest

Re: Any brave dive computer download testers out there?

2018-04-25 Thread Anton Lundin
On 19 April, 2018 - Dirk Hohndel wrote: > > > On Apr 19, 2018, at 12:54 AM, Linus Torvalds > > wrote: > > > > On Wed, Apr 18, 2018 at 3:37 PM, Robert Helling wrote: > >> > >> Couldn’t get the dive computer configuration to work either with BLE or > >> classic. > > > > Did this work with th

Re: Any brave dive computer download testers out there?

2018-04-25 Thread Anton Lundin
On 18 April, 2018 - Linus Torvalds wrote: > On Wed, Apr 18, 2018 at 3:37 PM, Robert Helling wrote: > > > > Couldn’t get the dive computer configuration to work either with BLE or > > classic. > > Did this work with the previous release (4.7.8 or whatever)? > > I had been hoping that I got the

Re: Any brave dive computer download testers out there?

2018-04-25 Thread Linus Torvalds
On Wed, Apr 25, 2018 at 10:38 AM, Anton Lundin wrote: > > I've tested it now, via the serial layer, libftdi layer, classic bt > layer, and with your latest patch BLE and they all work. Ok, so for you the classic BT case now works too with that patch that I sent out a couple of hours ago (the "sup

  1   2   >