Ratio ix3m Pro on Android

Dirk Hohndel dirk at hohndel.org
Sat Sep 14 15:11:44 PDT 2019


Finally back at home and was able to test with my one and only partially functional FTDI dive computer. It turns out this is a bug in the current sources where it shows the wrong error code.
This is an indication that you have one of the majority of Android devices that don't support the current way in which we try to access FTDI devices.

/D

> On Sep 13, 2019, at 4:24 AM, liquid tcp <liquid.tcp at gmail.com> wrote:
> 
> > Could you try to download again and then go to the "About" page and copy the log files and paste them into an email?
> > From the below it seems that Subsurface-mobile is running out of memory - which is very surprising to me. Yes, it is a bit of a memory hog, bit even on fairly old devices running out of memory is extremely rare...
> > /D  
> 
> sure, here are the logs. just did, to be sure, a reboot and cleaned the memory, so I'm having 2.5GB available with subsurface using 193MB giving me the same behaviour. here the full logs:
> 
> ---------- subsurface.log ----------
> "0.003: Failed to open logfile /storage/emulated/0/subsurface.log at Fri Sep 13 13:12:44 2019 error: Permission denied"
> "0.004: Failed to open logfile /storage/emulated/0/Documents/subsurface.log at Fri Sep 13 13:12:44 2019 error: Permission denied"
> "0.004: Successfully opened logfile /storage/emulated/0/Android/data/org.subsurfacedivelog.mobile/files/Documents/subsurface.log at Fri Sep 13 13:12:44 2019"
> "0.004: Starting Subsurface-mobile:2.2.0(4.9.3.16):Android  (9.0):arm64:en-US"
> "0.004: built with libdivecomputer v0.7.0-devel-Subsurface-NG (ce6d9896a79afaa82641132e338f8744714c8593)"
> "0.004: built with Qt Version 5.12.4, runtime from Qt Version 5.12.4"
> "0.004: built with libgit2 0.26.0"
> BTDiscoveryReDiscover: localBtDevice.isValid() true
> localBtDevice isn't valid or not connectable
> "Created position source android"
> "0.014: Created position source android"
> "Set GPS service update interval to 300 s"
> "0.015: Set GPS service update interval to 300 s"
> "0.015: location service is not available"
> qrc:/org/kde/kirigami/Page.qml:276:5: QML Loader: Binding loop detected for property "active"
> QQmlExpression: Expression qrc:/qml/DownloadFromDiveComputer.qml:338:5 depends on non-NOTIFYable properties:
>     QMLManager::DC_forceDownload
> Model size of -1 is less than 0
> Both point size and pixel size set. Using pixel size.
> "0.578: Synchronising data file"
> "0.584: Load dives from local cache"
> "0.587: Successfully opened dive data"
> "0.588: 7 dives loaded from cache"
> "0.589: have cloud credentials, but user asked not to connect to network"
> "1.096: UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=1027,mProductId=24597,mClass=0,mSubclass=0,mProtocol=0,mManufacturerName=FTDI,mProductName=FT230X Basic UART,mVersion=10.00,mSerialNumber=DN044EHJ,mConfigurations=[\nUsbConfiguration[mId=1,mName=null,mAttributes=128,mMaxPower=45,mInterfaces=[\nUsbInterface[mId=0,mAlternateSetting=0,mName=FT230X Basic UART,mClass=255,mSubclass=255,mProtocol=255,mEndpoints=[\nUsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=64,mInterval=0]\nUsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=64,mInterval=0]]]]"
> Show download page for device -1;-1;0
> Both point size and pixel size set. Using pixel size.
> Both point size and pixel size set. Using pixel size.
> done showing download page
> checkPendingIntents 
> Column width 411 root item width 411
> width in Grid Units 27 original gridUnit 15 now 15
> Using the following font: Roboto at 12pt with mobile_scale: 1
> qqwindow devicePixelRatio 3.50092 3.50092
> 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), i200C (SERIAL, BLE), i300 (SERIAL), i300C (SERIAL, BLE), i450T (SERIAL), i550 (SERIAL), i550C (SERIAL, BLE), i750TC (SERIAL, BT), i770R (SERIAL, BLE)"
> "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)"
> "Cressi: Cartesio (SERIAL), Drake (SERIAL), Giotto (SERIAL), Goa (SERIAL), Leonardo (SERIAL), Newton (SERIAL)"
> "Deepblu: Cosmiq+ (BLE)"
> "DiveSystem: Orca (SERIAL), iDive DAN (SERIAL), iDive Deep (SERIAL), iDive Easy (SERIAL), iDive Free (SERIAL), iDive Pro (SERIAL), iDive Reb (SERIAL), iDive Stealth (SERIAL), iDive Tech (SERIAL), iDive X3M (SERIAL)"
> "Garmin: Descent Mk1 (USBSTORAGE)"
> "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: Genius (SERIAL, BLE), Puck Pro (SERIAL, BLE), Quad (SERIAL, BLE), Quad Air (SERIAL, BLE), Smart (SERIAL, BLE), Smart Air (SERIAL, BLE), Smart Apnea (SERIAL, BLE)"
> "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), Geo 4.0 (SERIAL, BLE), OC1 (SERIAL), OCS (SERIAL), OCi (SERIAL), Pro Plus 2 (SERIAL), Pro Plus 2.1 (SERIAL), Pro Plus 3 (SERIAL), Pro Plus X (SERIAL, BLE), 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)"
> "Ratio: iDive Color Deep (SERIAL), iDive Color Easy (SERIAL), iDive Color Fancy (SERIAL), iDive Color Free (SERIAL), iDive Color Pro (SERIAL), iDive Color Reb (SERIAL), iDive Color Tech+ (SERIAL), iDive Deep (SERIAL), iDive Easy (SERIAL), iDive Fancy (SERIAL), iDive Free (SERIAL), iDive Pro (SERIAL), iDive Reb (SERIAL), iDive Tech+ (SERIAL), iX3M GPS Deep (SERIAL, BT), iX3M GPS Easy (SERIAL, BT), iX3M GPS Fancy (SERIAL, BT), iX3M GPS Pro  (SERIAL, BT), iX3M GPS Reb (SERIAL, BT), iX3M GPS Tech+ (SERIAL, BT), iX3M Pro Deep (SERIAL), iX3M Pro Easy (SERIAL), iX3M Pro Fancy (SERIAL), iX3M Pro Pro (SERIAL), iX3M Pro Reb (SERIAL), iX3M Pro Tech+ (SERIAL)"
> "Scubapro: Aladin H Matrix (BLE), Aladin Sport Matrix (BLE), Aladin Square (USBHID), G2 (USBHID, BLE), G2 Console (USBHID, BLE), G2 HUD (USBHID, BLE)"
> "Seac: Guru (SERIAL), Jack (SERIAL)"
> "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), Teric (BLE)"
> "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), D5 (USBHID, BLE), 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)"
> "Tecdiving: DiveComputer.eu (SERIAL, BT)"
> "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 71.981 151.482
> "1.263: AppState changed to active with no save ongoing and no unsaved changes"
> qrc:/org/kde/kirigami/GlobalDrawer.qml:258: TypeError: Cannot read property 'length' of undefined
> qrc:/org/kde/kirigami/GlobalDrawer.qml:293: TypeError: Cannot read property 'length' of undefined
> qrc:/org/kde/kirigami/GlobalDrawer.qml:292: TypeError: Cannot read property 'length' of undefined
> "16.922: DCDownloadThread started for Ratio iX3M Pro Deep on FTDI downloading only new dives"
> Starting download from  ftdi
> downloading only new dives
> Finishing download thread: "Unable to open ftdi Ratio (iX3M Pro Deep)"
> "16.931: Out of memory"
> no new dives downloaded
> "16.933: DCDownloadThread finished"
> "19.345: DCDownloadThread started for Ratio iX3M Pro Deep on FTDI downloading all dives"
> Starting download from  ftdi
> downloading all dives
> Finishing download thread: "Unable to open ftdi Ratio (iX3M Pro Deep)"
> "19.355: Out of memory"
> no new dives downloaded
> "19.358: DCDownloadThread finished"
> Both point size and pixel size set. Using pixel size.
> Both point size and pixel size set. Using pixel size.
> Both point size and pixel size set. Using pixel size.
> 
> 
> 
> ---------- libdivecomputer.log ----------
> Subsurface: v4.9.3-16-g7c83dcd87dbe, built with libdivecomputer v0.7.0-devel-Subsurface-NG (ce6d9896a79afaa82641132e338f8744714c8593)
> ---------- finish ----------
> 
> 



More information about the subsurface mailing list