<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>It seems that being "a quiet, non-coding, time-limited<br>reader of your mailing list" is unfortunately also true for me.<br><br></div>But I also want to share my current experience.<br><br></div>Some weeks ago I was able to download from my OSTC sport to my Oneplus X with lineageOS.<br><br></div>Now this has unfortunately changed.<br><br></div>Installed is latest LineageOS 14.1 from 6.July 2017<br></div>OSTC sport is latest firmware v10.37<br><br></div>bluetooth is paired but there is no connection with download.<br><br><br></div>From what I can see in the log.<br></div>2.0(4.6.4.380): Android Nougat (7.1): arm:en-GB""0.002: build with Qt Version 5.9.1, runtime from Qt Version 5.9.1"<br></div>localBtDevice isn't valid<br>...<br>...<br></div>"22.847: DCDownloadThread started for cannot determine address of dive computer"<br></div>Starting download from BT<br></div>Starting the thread 0<br></div>connecting to Uui<br></div>"{00001101-000-1000-8000-00805f9b34fb}"<br></div>connectToService() "00:00:00:00:00:00"<br>"00001101-000-1000-8000-00805f9b34fb}"<br></div>Bt device offline<br></div>Failed to connect to device cannot determine address if dive computer . Device state QBluetoothSocket::UnconnectedState . Error:QBluetoothSocket::NetworkError<br></div>Finishing the thread Insufficient privileges to open the device %s %s (%s) dives downloaded 0 no new dives downloaded.<br>...<br>...<br><br></div>I realised that bluetooth is still off. Is there a way to activate bluetooth automatically when the bluetooth checkbox is checked?<br><br></div>After activating bluetooth the lines from "Bt device offline" downwards changed to:<br></div><br></div>Connnecting via insecure rfcomm<br></div>Connecting socket<br></div>The connection step took more than expected.<br></div>Wait another 20 seconds<br></div>Falling back to reverse uuid workaround.<br></div>Workaround failed<br></div>Failed to connect ........ same as above<br><br></div>I afterwards also checked with my backup mobile (no custom firmware - just plain old Android 4.4.2) to make sure it is not a mobile or Android problem.<br></div>The same results.<br><br></div>I am also a DiveMate user and the download there is working (if that helps in any way).<br><br></div>Thanks a lot for creating subsurface. I use it to archive all my dives.<br></div>If only I could help more - coding skills are very limited, unfortunately.<br><br></div>regards<br></div>Werner  <br><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 10, 2017 at 12:04 AM, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On Jul 9, 2017, at 3:02 PM, Dietrich Meyer <<a href="mailto:dietrich@sunnynames.com">dietrich@sunnynames.com</a>> wrote:<br>
><br>
> On Sonntag, 9. Juli 2017 23:53:36 CEST you wrote:<br>
>>> but with your help I see the problem:<br>
>>> there is a line<br>
>>> "Finished thread Insufficient privileges to open the device %s %s (%s)<br>
>>> dives downloaded 0"<br>
>>> next line reads<br>
>>> "50.409: DCDownloadThread finished"<br>
>>><br>
>>> So some privileges problem..... probably similar to what was discussed<br>
>>> previously with selinux....<br>
>><br>
>> Actually, that's another potentially painfully misleading error message.<br>
>> Is there anything useful in the lines just before this?<br>
><br>
> There are three more lines:<br>
> ------------------------------<wbr>-----------------------<br>
> "50.393: DCDownloadThread started for /tmp/ttyS1"<br>
> Starting download from   ftdi<br>
> Starting the thread 0<br>
> ------------------------------<wbr>---------<br>
><br>
> This seems ok. Everything above that and below the "50.409: DCDownloadThread<br>
> finished" is not related to download (pixel size etc).<br>
<br>
<br>
</span>Correct analysis. I'm about NN minutes away from an update that provides<br>
much better debug information. I hope NN < 30 - but I have learned not to<br>
make such promises.<br>
<span class="HOEnZb"><font color="#888888"><br>
/D<br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org">subsurface@subsurface-divelog.<wbr>org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-<wbr>divelog.org/cgi-bin/mailman/<wbr>listinfo/subsurface</a><br>
</div></div></blockquote></div><br></div>