Re: Product / vendor on mobile download

2018-06-21 Thread Anton Lundin
On 21 June, 2018 - Dirk Hohndel wrote: > > > On Jun 21, 2018, at 3:16 PM, Thomas Fänge wrote: > > > > Sorry to say, but I still fail to download, the log looks just as it has > > done for the last weeks. > > I have tried on Android 6, 8 and 9, with both phone and tablet (all Sony > > Xperia).

Re: Product / vendor on mobile download

2018-06-21 Thread Anton Lundin
On 21 June, 2018 - Dirk Hohndel wrote: > Hi Thomas > > > On Jun 21, 2018, at 4:51 PM, Thomas Fänge wrote: > > > > Hi Dirk, > > > > Sorry for spamming, but I just noticed a "bug" after checking the > > libdivecomputer.log-file after the mail from Linus. > > You aren't spamming at all. Especia

Re: Product / vendor on mobile download

2018-06-21 Thread Thomas Fänge
Hi again, Just to be sure that we talk about the same things ... You wrote that: >> Yes, that's because they access devices differently than we do. This is something that we >> want to add, but so far no developer with the right skill set has had the time AND motivation >> to implement the missin

Re: Product / vendor on mobile download

2018-06-21 Thread Dirk Hohndel
Hi Thomas > On Jun 21, 2018, at 4:51 PM, Thomas Fänge wrote: > > Hi Dirk, > > Sorry for spamming, but I just noticed a "bug" after checking the > libdivecomputer.log-file after the mail from Linus. You aren't spamming at all. Especially not if you are reporting bugs! > Check the log below -

Re: Product / vendor on mobile download

2018-06-21 Thread Thomas Fänge
Hi Dirk, Sorry for spamming, but I just noticed a "bug" after checking the libdivecomputer.log-file after the mail from Linus. Check the log below - that was copied this morning by using the copy-button on the About-page in the app and the app copies both the Subsurface.log and the libdivecompute

Re: Product / vendor on mobile download

2018-06-21 Thread Thomas Fänge
Hi Linus, Yes, you are right, failure in dc_serial_open drops down to ftdi_open. >> But you cut out the rest of the output.. No, that all there was in the libdivecomputer.log, after that error the log was empty (and proceeding this is only version information), so the INFO and ERROR line is the

Re: Product / vendor on mobile download

2018-06-20 Thread Dirk Hohndel
> On Jun 21, 2018, at 3:36 PM, Thomas Fänge wrote: > > Hi Dirk, > > No, I have not been able to use OTG with my phones and Subsurface before > (Mares was not enabled back then), but when I tried I got the same problem > (same error log) as others using other DC which had worked before. Ah -

Re: Product / vendor on mobile download

2018-06-20 Thread Linus Torvalds
On Thu, Jun 21, 2018 at 3:17 PM Thomas Fänge wrote: > > Still the same error from libdivecomputer: > > INFO: Open: name=ftdi > ERROR: No such file or directory (2) [in > /data/android/subsurface/libdivecomputer/src/serial_posix.c:295 > (dc_serial_open)] Note: this is "normal". The DC_T

Re: Product / vendor on mobile download

2018-06-20 Thread Thomas Fänge
Hi Dirk, No, I have not been able to use OTG with my phones and Subsurface before (Mares was not enabled back then), but when I tried I got the same problem (same error log) as others using other DC which had worked before. But - if I try with other programs (like DiveMate), it can find and downl

Re: Product / vendor on mobile download

2018-06-20 Thread Dirk Hohndel
> On Jun 21, 2018, at 3:16 PM, Thomas Fänge wrote: > > Sorry to say, but I still fail to download, the log looks just as it has done > for the last weeks. > I have tried on Android 6, 8 and 9, with both phone and tablet (all Sony > Xperia). > I also tested on a Samsung Galaxy S6 with Android 7

Re: Product / vendor on mobile download

2018-06-20 Thread Thomas Fänge
Hi! Sorry to say, but I still fail to download, the log looks just as it has done for the last weeks. I have tried on Android 6, 8 and 9, with both phone and tablet (all Sony Xperia). I also tested on a Samsung Galaxy S6 with Android 7, but exactly the same result (and same here, if BT is on, FTDI

Re: Product / vendor on mobile download

2018-06-20 Thread Linus Torvalds
On Thu, Jun 21, 2018 at 6:52 AM Linus Torvalds wrote: > > On Thu, Jun 21, 2018 at 4:16 AM Dirk Hohndel wrote: > > > > Linus, could that be the actual culprit? > > Very possibly. Oh, I should have read the whole thread. Apparently the real cause has been found, and was not the libdivecomputer cus

Re: Product / vendor on mobile download

2018-06-20 Thread Linus Torvalds
On Thu, Jun 21, 2018 at 4:16 AM Dirk Hohndel wrote: > > This sounds like the ftdi code isn't triggered. Maybe that's what is actually > broken - when we did the NG merge of libdivecomputer... > > Linus, could that be the actual culprit? Very possibly. I verified the build (on desktop, but with

Re: Product / vendor on mobile download

2018-06-20 Thread Dirk Hohndel
> On Jun 21, 2018, at 5:36 AM, Anton Lundin wrote: > > Now the selection dialogs works, and I've found what broke all libusb > based communication and sent a PR. > > https://github.com/Subsurface-divelog/subsurface/pull/1416 > Merge

Re: Product / vendor on mobile download

2018-06-20 Thread Dirk Hohndel
> On Jun 21, 2018, at 5:40 AM, Anton Lundin wrote: > > On 20 June, 2018 - Dirk Hohndel wrote: > >> Hi Anton, >> >>> I was also trying to test the usb code for the suunto eon steel, but the >>> whole went sideways and as far as I've read the code there's no way to >>> enable the libdivecomputer

Re: Product / vendor on mobile download

2018-06-20 Thread Thomas Fänge
Sorry for this, I sent the video directly to Dirk, since it was too large for the forum mailserver... Best regards, Thomas Den ons 20 juni 2018 21:53Thomas Fänge skrev: > > Hi Dirk! > > No problem, happy to help out! > > I include a video - easier to explain. When BT is on, I can only see > Mac

Re: Product / vendor on mobile download

2018-06-20 Thread Anton Lundin
On 20 June, 2018 - Dirk Hohndel wrote: > Hi Anton, > > > I was also trying to test the usb code for the suunto eon steel, but the > > whole went sideways and as far as I've read the code there's no way to > > enable the libdivecomputer logging. Even when I changed all the saveLog > > / data.libdc

Re: Product / vendor on mobile download

2018-06-20 Thread Anton Lundin
On 20 June, 2018 - Dirk Hohndel wrote: > > > On Jun 20, 2018, at 4:30 AM, Thomas Fänge wrote: > > > > Hi, > > > > What several people have mentioned and tested, is that version 4.7.4.280 in > > the Android app seems to work with USB OTG, but any version after that > > fails. I'm running Oreo

Re: Product / vendor on mobile download

2018-06-20 Thread Matt Thompson
> > > -- libdivecomputer.log -- > > Subsurface: v4.7.8-287-g76f61468e690, built with libdivecomputer > v0.7.0-devel-Subsurface-NG (e97a47cca55973199715df0f818b4955e60d3a31) > > INFO: Open: name=ftdi > > ERROR: No such file or directory (2) [in /data/android/subsurface/ > libdivecomp

Re: Product / vendor on mobile download

2018-06-20 Thread Dirk Hohndel
Hi Thomas, Thanks for testing. I wasn't all that optimistic, but based on Anton's post it seemed possible that it was as simple as this. > On Jun 20, 2018, at 11:07 PM, Thomas Fänge wrote: > > No success, it just behaves as before, same log as before, but the reference > to "localBtDevice isn

Re: Product / vendor on mobile download

2018-06-20 Thread Thomas Fänge
Hi Dirk, No success, it just behaves as before, same log as before, but the reference to "localBtDevice isn't valid or not connect" I don't recognize from before. I still think that the log at 27.556:"Unsupported operation" should tell us something. "27.553: DCDownloadThread started for Mares Puc

Re: Product / vendor on mobile download

2018-06-20 Thread Thomas Fänge
Hi Dirk, Absolutely, I'll do that when I get home, and I'll let you know the result, with logs etc. I have some different Android phones and tablets (different cookies) to test with, and a Mares Puck Pro DC. Best regards, Thomas Den ons 20 juni 2018 13:51Dirk Hohndel skrev: > > > On Jun 20, 2

Re: Product / vendor on mobile download

2018-06-20 Thread Dirk Hohndel
> On Jun 20, 2018, at 4:30 AM, Thomas Fänge wrote: > > Hi, > > What several people have mentioned and tested, is that version 4.7.4.280 in > the Android app seems to work with USB OTG, but any version after that fails. > I'm running Oreo 8.0, and I have other apps that work with my DC using O

Re: Product / vendor on mobile download

2018-06-19 Thread Dirk Hohndel
On Wed, Jun 20, 2018 at 02:03:15AM +0900, Dirk Hohndel wrote: > Hi Anton, > > > On Jun 19, 2018, at 7:49 AM, Anton Lundin wrote: > > > > Hi. > > > > I got myself a new android device running 8.1, one of those who actually > > runs selinux in enforcing mode and was planing to take a look at the

Re: Product / vendor on mobile download

2018-06-19 Thread Thomas Fänge
Hi, What several people have mentioned and tested, is that version 4.7.4.280 in the Android app seems to work with USB OTG, but any version after that fails. I'm running Oreo 8.0, and I have other apps that work with my DC using OTG, so Oreo and the HW supports it. Best regards, Thomas Den tis

Re: Product / vendor on mobile download

2018-06-19 Thread Dirk Hohndel
Hi Anton, > On Jun 19, 2018, at 7:49 AM, Anton Lundin wrote: > > Hi. > > I got myself a new android device running 8.1, one of those who actually > runs selinux in enforcing mode and was planing to take a look at the > whole ftdi situation, but got sidetracked with that the whole download > thi

Product / vendor on mobile download

2018-06-19 Thread Anton Lundin
Hi. I got myself a new android device running 8.1, one of those who actually runs selinux in enforcing mode and was planing to take a look at the whole ftdi situation, but got sidetracked with that the whole download thingie was broken. What actually fixed the issue in the end was: diff --git i/