Product / vendor on mobile download

Thomas Fänge thomas.fange at gmail.com
Thu Jun 21 00:51:03 PDT 2018


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 libdivecomputer.log.
But look at the version number of the app in the two logs:

    ---------- subsurface.log ----------
    Empty filename passed to function
    "0.002: Successfully opened logfile /storage/emulated/0/subsurface.log
at Thu Jun 21 06:18:14 2018"
    "0.003: Starting Subsurface-mobile:*2.1.0(4.7.8.**389)*:Android Oreo
(8.0):arm:en-US"

    ---------- libdivecomputer.log ----------
    Subsurface: *v4.7.8-287*-g76f61468e690, built with libdivecomputer
v0.7.0-devel-Subsurface-NG (e97a47cca55973199715df0f818b4955e60d3a31)

Apparently the app just copy the log-file that is present in the root, and
as in this case, the libdivecomputer.log is an old log!
The date of that log-file is from the 3/6, so almost two weeks old!
Why is the libdivecomputer.log not updated when I run the app? I searched
the fs but this is the only file I found ... hmm ...

If I removed that file and try again, then there is no libdivecomputer.log
anymore, neither in the fs nor in the copied log-data from the app ...

Sorry for introducing erroneous logs ... :(

Best regards,
Thomas




---------- subsurface.log ----------
Empty filename passed to function
"0.002: Successfully opened logfile /storage/emulated/0/subsurface.log at
Thu Jun 21 06:18:14 2018"
"0.003: Starting Subsurface-mobile:2.1.0(4.7.8.389):Android Oreo
(8.0):arm:en-US"
"0.003: built with libdivecomputer v0.7.0-devel-Subsurface-NG (
e97a47cca55973199715df0f818b4955e60d3a31)"
"0.003: built with Qt Version 5.10.1, runtime from Qt Version 5.10.1"
"0.003: built with libgit2 0.26.0"
localBtDevice isn't valid or not connectable
"Created position source android"
"0.009: Created position source android"
"Set GPS service update interval to 300 s"
"0.009: Set GPS service update interval to 300 s"
"0.009: location service is available"
"0.332: Synchronising data file"
"0.338: Load dives from local cache"
"0.360: Successfully opened dive data"
"0.362: 109 dives loaded from cache"
"0.362: have cloud credentials, but user asked not to connect to network"
"Set GPS service update interval to 300 s"
"0.363: Set GPS service update interval to 300 s"
Using the following font: Roboto
qqwindow devicePixelRatio 3 3
Supported dive computers:
"Aeris: 500 AI (SERIAL), A300 (SERIAL), A300 AI (SERIAL), A300CS (SERIAL),
Atmos 2 (SERIAL), Atmos AI (SERIAL), Atmos AI 2 (SERIAL), Compumask
(SERIAL), Elite (SERIAL), Elite T3 (SERIAL), Epic (SERIAL), F10 (SERIAL),
F11 (SERIAL), Manta (SERIAL), XR-1 NX (SERIAL), XR-2 (SERIAL)"
"Aqualung: i200 (SERIAL), i300 (SERIAL), i450T (SERIAL), i550 (SERIAL),
i750TC (SERIAL)"
"Atomic Aquatics: Cobalt (USB), Cobalt 2 (USB)"
"Beuchat: Mundial 2 (SERIAL), Mundial 3 (SERIAL), Voyager 2G (SERIAL)"
"Cochran: Commander I (SERIAL), Commander II (SERIAL), Commander TM
(SERIAL), EMC-14 (SERIAL), EMC-16 (SERIAL), EMC-20H (SERIAL)"
"Genesis: React Pro (SERIAL), React Pro White (SERIAL)"
"Heinrichs Weikamp: Frog (SERIAL, BT), OSTC (SERIAL), OSTC 2 (SERIAL, BT,
BLE), OSTC 2 TR (SERIAL, BT, BLE), OSTC 2C (SERIAL), OSTC 2N (SERIAL), OSTC
3 (SERIAL), OSTC 4 (SERIAL, BT, BLE), OSTC Mk2 (SERIAL), OSTC Plus (SERIAL,
BT, BLE), OSTC Sport (SERIAL, BT, BLE), OSTC cR (SERIAL)"
"Hollis: DG02 (SERIAL), DG03 (SERIAL), TX1 (SERIAL)"
"Mares: Puck Pro (SERIAL), Quad (SERIAL), Smart (SERIAL)"
"Oceanic: Atom 1.0 (SERIAL), Atom 2.0 (SERIAL), Atom 3.0 (SERIAL), Atom 3.1
(SERIAL), Datamask (SERIAL), F10 (SERIAL), F11 (SERIAL), Geo (SERIAL), Geo
2.0 (SERIAL), OC1 (SERIAL), OCS (SERIAL), OCi (SERIAL), Pro Plus 2
(SERIAL), Pro Plus 2.1 (SERIAL), Pro Plus 3 (SERIAL), VT 4.1 (SERIAL), VT
Pro (SERIAL), VT3 (SERIAL), VT4 (SERIAL), VTX (SERIAL), Veo 1.0 (SERIAL),
Veo 180 (SERIAL), Veo 2.0 (SERIAL), Veo 200 (SERIAL), Veo 250 (SERIAL), Veo
3.0 (SERIAL), Versa Pro (SERIAL)"
"Scubapro: Aladin Sport Matrix (BLE), Aladin Square (USBHID), G2 (USBHID,
BLE), G2 Console (USBHID, BLE)"
"Seemann: XP5 (SERIAL)"
"Shearwater: Nerd (SERIAL, BT), Nerd 2 (BLE), Perdix (SERIAL, BT, BLE),
Perdix AI (BLE), Petrel (SERIAL, BT), Petrel 2 (SERIAL, BT, BLE), Predator
(SERIAL, BT)"
"Sherwood: Amphos (SERIAL), Amphos Air (SERIAL), Insight (SERIAL), Insight
2 (SERIAL), Vision (SERIAL), Wisdom (SERIAL), Wisdom 2 (SERIAL), Wisdom 3
(SERIAL)"
"Subgear: XP-Air (SERIAL)"
"Suunto: Cobra (SERIAL), Cobra 2 (SERIAL), Cobra 3 (SERIAL), D3 (SERIAL),
D4 (SERIAL), D4f (SERIAL), D4i (SERIAL), D6 (SERIAL), D6i (SERIAL), D9
(SERIAL), D9tx (SERIAL), DX (SERIAL), EON Core (USBHID, BLE), EON Steel
(USBHID, BLE), Eon (SERIAL), Gekko (SERIAL), HelO2 (SERIAL), Mosquito
(SERIAL), Solution (SERIAL), Solution Alpha (SERIAL), Solution Nitrox
(SERIAL), Spyder (SERIAL), Stinger (SERIAL), Vyper (SERIAL), Vyper 2
(SERIAL), Vyper Air (SERIAL), Vyper Novo (SERIAL), Vytec (SERIAL), Zoop
(SERIAL), Zoop Novo (SERIAL)"
"Tusa: Element II (IQ-750) (SERIAL), Zen (IQ-900) (SERIAL), Zen Air
(IQ-950) (SERIAL)"
"Uwatec: Aladin Air Twin (SERIAL), Aladin Air Z (SERIAL), Aladin Air Z
Nitrox (SERIAL), Aladin Air Z O2 (SERIAL), Aladin Pro (SERIAL), Aladin Pro
Ultra (SERIAL), Aladin Sport Plus (SERIAL), Memomouse (SERIAL)"
qqwindow screen has ldpi/pdpi 72 162.923
"1.134: AppState changed to active with no save ongoing and no unsaved
changes"
"1.861: AppState changed to inactive with no save ongoing and no unsaved
changes"
"1.931: AppState changed to suspended with no save ongoing and no unsaved
changes"
"46.448: AppState changed to active with no save ongoing and no unsaved
changes"
"47.456: AppState changed to inactive with no save ongoing and no unsaved
changes"
"47.676: AppState changed to suspended with no save ongoing and no unsaved
changes"
"LocalDeviceBroadcastReceiver::onReceive() - event:
android.bluetooth.adapter.action.SCAN_MODE_CHANGED"
btHostModeChange to QBluetoothLocalDevice::HostMode(HostConnectable)
"localDevice Xperia XZ2 Compact is valid, starting discovery"
paired BT classic device type 1 with address "F8:DF:15:02:29:86"
paired BT classic device type 1 with address "20:18:1C:00:06:73"
paired BT classic device type 1 with address "44:D4:E0:90:15:7D"
paired BT classic device type 1 with address "84:C7:EA:FF:28:10"
paired BT classic device type 1 with address "04:5D:4B:83:18:F3"
paired BT classic device type 1 with address "20:18:0E:00:02:3D"
Found new device: "SRS-XB31" "F8:DF:15:02:29:86"
Not recognized as dive computer
Found new device: "PaMu" "20:18:1C:00:06:73"
Not recognized as dive computer
Found new device: "BSP10" "44:D4:E0:90:15:7D"
Not recognized as dive computer
Found new device: "SBH24" "84:C7:EA:FF:28:10"
Not recognized as dive computer
Found new device: "WH-1000XM2" "04:5D:4B:83:18:F3"
Not recognized as dive computer
Found new device: "PaMu" "20:18:0E:00:02:3D"
Not recognized as dive computer
Paired = "SRS-XB31" "F8:DF:15:02:29:86"
Paired = "PaMu" "20:18:1C:00:06:73"
Paired = "BSP10" "44:D4:E0:90:15:7D"
Paired = "SBH24" "84:C7:EA:FF:28:10"
Paired = "WH-1000XM2" "04:5D:4B:83:18:F3"
Paired = "PaMu" "20:18:0E:00:02:3D"
"2652.307: AppState changed to active with no save ongoing and no unsaved
changes"
"LocalDeviceBroadcastReceiver::onReceive() - event:
android.bluetooth.adapter.action.SCAN_MODE_CHANGED"
btHostModeChange to QBluetoothLocalDevice::HostMode(HostPoweredOff)
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
"2718.041: AppState changed to inactive with no save ongoing and no unsaved
changes"
"2718.179: AppState changed to suspended with no save ongoing and no
unsaved changes"
"2725.767: AppState changed to active with no save ongoing and no unsaved
changes"
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
"2755.938: AppState changed to inactive with no save ongoing and no unsaved
changes"
"2756.024: AppState changed to suspended with no save ongoing and no
unsaved changes"
"2757.943: AppState changed to active with no save ongoing and no unsaved
changes"
"2788.113: AppState changed to inactive with no save ongoing and no unsaved
changes"
"2788.166: AppState changed to suspended with no save ongoing and no
unsaved changes"
"2795.412: AppState changed to active with no save ongoing and no unsaved
changes"
"2825.652: AppState changed to inactive with no save ongoing and no unsaved
changes"
"2825.730: AppState changed to suspended with no save ongoing and no
unsaved changes"
"2833.502: AppState changed to active with no save ongoing and no unsaved
changes"
"LocalDeviceBroadcastReceiver::onReceive() - event:
android.bluetooth.adapter.action.SCAN_MODE_CHANGED"
btHostModeChange to QBluetoothLocalDevice::HostMode(HostConnectable)
"localDevice Xperia XZ2 Compact is valid, starting discovery"
paired BT classic device type 1 with address "F8:DF:15:02:29:86"
paired BT classic device type 1 with address "20:18:1C:00:06:73"
paired BT classic device type 1 with address "44:D4:E0:90:15:7D"
paired BT classic device type 1 with address "84:C7:EA:FF:28:10"
paired BT classic device type 1 with address "04:5D:4B:83:18:F3"
paired BT classic device type 1 with address "20:18:0E:00:02:3D"
Found new device: "SRS-XB31" "F8:DF:15:02:29:86"
Not recognized as dive computer
Found new device: "PaMu" "20:18:1C:00:06:73"
Not recognized as dive computer
Found new device: "BSP10" "44:D4:E0:90:15:7D"
Not recognized as dive computer
Found new device: "SBH24" "84:C7:EA:FF:28:10"
Not recognized as dive computer
Found new device: "WH-1000XM2" "04:5D:4B:83:18:F3"
Not recognized as dive computer
Found new device: "PaMu" "20:18:0E:00:02:3D"
Not recognized as dive computer
Paired = "SRS-XB31" "F8:DF:15:02:29:86"
Paired = "PaMu" "20:18:1C:00:06:73"
Paired = "BSP10" "44:D4:E0:90:15:7D"
Paired = "SBH24" "84:C7:EA:FF:28:10"
Paired = "WH-1000XM2" "04:5D:4B:83:18:F3"
Paired = "PaMu" "20:18:0E:00:02:3D"
"2852.760: AppState changed to inactive with no save ongoing and no unsaved
changes"
"2853.312: AppState changed to suspended with no save ongoing and no
unsaved changes"
"3032.536: AppState changed to active with no save ongoing and no unsaved
changes"
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
"3051.225: AppState changed to inactive with no save ongoing and no unsaved
changes"
"3051.461: AppState changed to suspended with no save ongoing and no
unsaved changes"
"3056.542: AppState changed to active with no save ongoing and no unsaved
changes"
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::startTimer: Timers cannot be started from another thread
"3063.161: AppState changed to inactive with no save ongoing and no unsaved
changes"
"3063.393: AppState changed to suspended with no save ongoing and no
unsaved changes"
"3086.283: AppState changed to active with no save ongoing and no unsaved
changes"



---------- 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/
libdivecomputer/src/serial_posix.c:295 (dc_serial_open)]
---------- finish ----------

tors 21 juni 2018 kl 09:26 skrev Thomas Fänge <thomas.fange at gmail.com>:

> 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 complete log.
>
>     ---------- 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/libdivecomputer/src/serial_posix.c:295
> (dc_serial_open)]
>     ---------- finish ----------
>
> Somewhere along these lines, DC_STATUS_UNSUPPORTED is returned which
> causes the output "Unsupported operation", don't know if this is pointing
> somewhere, or is just also expected information ... ;)
>
> But, I guess Dirk is right, there is still some confusion about using OTG
> cable, Bluetooth Link, FTDI etc, so there are still some hurdles to pass ...
>
> Best regards,
> Thomas
>
>
>
> tors 21 juni 2018 kl 08:53 skrev Linus Torvalds <
> torvalds at linux-foundation.org>:
>
>> On Thu, Jun 21, 2018 at 3:17 PM Thomas Fänge <thomas.fange at gmail.com>
>> 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_TRANSPORT_SERIAL first just calls dc_serial_open(), and only if
>> that fails will it then try to fall back on the "ftdi_open()" case.
>>
>>                 rc = dc_serial_open(&data->iostream, context,
>> data->devname);
>>                 if (rc == DC_STATUS_SUCCESS)
>>                         return rc;
>>
>>   #ifdef SERIAL_FTDI
>>                 if (!strcmp(data->devname, "ftdi")) {
>>                         rc = ftdi_open(&data->iostream, context);
>>                         if (rc == DC_STATUS_SUCCESS)
>>                                 return rc;
>>                 }
>>   #endif
>>
>> so an error from dc_serial_open() is actually expected.
>>
>> I guess we could move the ftdi check up.
>>
>> If the FTDI open fails, it should print an error message right *after*
>> the one from dc_serial_open(). But you cut out the rest of the
>> output..
>>
>>              Linus
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20180621/015dc83f/attachment-0001.html>


More information about the subsurface mailing list