can't download Oceanic VT3 on linux
Hamish Moffatt
hamish at cloud.net.au
Thu Mar 6 18:20:22 PST 2014
Hi,
I'm trying to download from my VT3. I've built libdivecomputer 0.4.2 on
Linux (64-bit) but downloading is very slow and eventually fails. I've
tested with both Subsurface and using the "universal" example. It does
retrieve some dive data ok though.
Downloading my VT3 does work on Windows though, using Diving Log 5.0
(includes libdivecomputer 0.4.2, 32-bit) or the "universal" app binary
which I downloaded directly from the libdivecomputer.org site.
I've included a bit of the output log from "universal" on linux below. I
checked that nothing else has the port open with lsof - earlier
modem-manager was running but I've killed and removed that now.
Any suggestions?
Thanks,
Hamish
[0.000037] DATETIME 2014-03-07T01:56:02Z (1394157362)
[0.000068] VERSION 0.4.2
[0.000092] Opening the device (Oceanic VT3, /dev/ttyUSB0).
[0.000865] INFO: Configure: baudrate=38400, databits=8, parity=0, stopbits=1, flowcontrol=0
[0.001106] INFO: Timeout: value=3000
[0.001115] INFO: Sleep: value=100
[0.101194] INFO: Flush: queue=3, input=263, output=0
[0.101437] INFO: Write: size=2, data=8400
[0.103572] INFO: Read: size=1, data=00
[0.103586] ERROR: Unexpected answer start byte(s). [in oceanic_atom2.c:337 (oceanic_atom2_send)]
[0.103602] INFO: Sleep: value=100
[0.203686] INFO: Flush: queue=1, input=118, output=0
[0.203937] INFO: Write: size=2, data=8400
[0.204913] INFO: Read: size=1, data=5A
[0.208911] INFO: Read: size=17, data=4F43452056543320523244203531324BBF
[0.208939] Registering the event handler.
[0.208948] Registering the cancellation handler.
[0.209039] Downloading the dives.
[0.209046] Event: progress 0.00% (0/64992)
[0.209067] Event: vendor=4F43452056543320523244203531324B
[0.209269] INFO: Write: size=4, data=B1000000
[3.212314] INFO: Read: size=0, data=
[3.212333] ERROR: Failed to receive the answer. [in oceanic_atom2.c:331 (oceanic_atom2_send)]
[3.212341] INFO: Sleep: value=100
[3.312423] INFO: Flush: queue=1, input=0, output=0
[3.312656] INFO: Write: size=4, data=B1000000
[3.314042] INFO: Read: size=1, data=5A
[3.324885] INFO: Read: size=17, data=0416041120081001425800730000000075
[3.324901] Event: progress 0.02% (16/64992)
[3.324920] Event: model=16984 (0x00004258), firmware=0 (0x00000000), serial=7300 (0x00001c84)
[3.325176] INFO: Write: size=4, data=B1000400
[6.328221] INFO: Read: size=0, data=
[6.328240] ERROR: Failed to receive the answer. [in oceanic_atom2.c:331 (oceanic_atom2_send)]
[6.328248] INFO: Sleep: value=100
[6.428331] INFO: Flush: queue=1, input=0, output=0
[6.428523] INFO: Write: size=4, data=B1000400
[6.430266] INFO: Read: size=1, data=5A
[6.441137] INFO: Read: size=17, data=200210028003480530BE70B70000000019
[6.441154] Event: progress 0.05% (32/63408)
[6.441357] INFO: Write: size=4, data=B1005400
[6.443109] INFO: Read: size=1, data=A5
[6.443125] ERROR: Unexpected answer start byte(s). [in oceanic_atom2.c:337 (oceanic_atom2_send)]
[6.443133] INFO: Sleep: value=100
[6.543215] INFO: Flush: queue=1, input=0, output=0
[6.543519] INFO: Write: size=4, data=B1005400
[6.544642] INFO: Read: size=1, data=5A
[6.555511] INFO: Read: size=17, data=39111F172E0CABB4258302172E4B7BB785
[6.555528] Event: progress 0.08% (48/63408)
[6.555756] INFO: Write: size=4, data=B1005300
[9.558799] INFO: Read: size=0, data=
[9.558818] ERROR: Failed to receive the answer. [in oceanic_atom2.c:331 (oceanic_atom2_send)]
[9.558826] INFO: Sleep: value=100
[9.658909] INFO: Flush: queue=1, input=0, output=0
[9.659097] INFO: Write: size=4, data=B1005300
[9.660614] INFO: Read: size=1, data=5A
[9.671487] INFO: Read: size=17, data=26861F1F16936AAD3389021F16D7BAB0DE
[9.671502] Event: progress 0.10% (64/63408)
[9.671799] INFO: Write: size=4, data=B1005200
[9.673490] INFO: Read: size=1, data=A5
[9.673521] ERROR: Unexpected answer start byte(s). [in oceanic_atom2.c:337 (oceanic_atom2_send)]
[9.673530] INFO: Sleep: value=100
[9.773608] INFO: Flush: queue=1, input=0, output=0
[9.773854] INFO: Write: size=4, data=B1005200
[9.774985] INFO: Read: size=1, data=5A
[9.785865] INFO: Read: size=17, data=02111F1E1BA689A22685021E1B292AA91E
[9.785881] Event: progress 0.13% (80/63408)
[9.786098] INFO: Write: size=4, data=B1005100
[12.789144] INFO: Read: size=0, data=
[12.789163] ERROR: Failed to receive the answer. [in oceanic_atom2.c:331 (oceanic_atom2_send)]
[12.789171] INFO: Sleep: value=100
[12.889257] INFO: Flush: queue=1, input=0, output=0
[12.889449] INFO: Write: size=4, data=B1005100
[12.890959] INFO: Read: size=1, data=5A
[12.901835] INFO: Read: size=17, data=43861F0ACA45B9965088020ACA6C599A5D
[12.901851] Event: progress 0.15% (96/63408)
[12.902035] INFO: Write: size=4, data=B1005000
[12.903804] INFO: Read: size=1, data=A5
[12.903819] ERROR: Unexpected answer start byte(s). [in oceanic_atom2.c:337 (oceanic_atom2_send)]
[12.903827] INFO: Sleep: value=100
[13.003939] INFO: Flush: queue=1, input=0, output=0
[13.004197] INFO: Write: size=4, data=B1005000
[13.005314] INFO: Read: size=1, data=5A
[13.016331] INFO: Read: size=17, data=45100F18AAC6E88F09041F09CAFF48943D
[13.016347] Event: progress 0.18% (112/63408)
[13.016648] INFO: Write: size=4, data=B1004F00
[16.019691] INFO: Read: size=0, data=
[16.019710] ERROR: Failed to receive the answer. [in oceanic_atom2.c:331 (oceanic_atom2_send)]
[16.019718] INFO: Sleep: value=100
[16.119803] INFO: Flush: queue=1, input=0, output=0
[16.120080] INFO: Write: size=4, data=B1004F00
[16.121183] INFO: Read: size=1, data=5A
[16.132159] INFO: Read: size=17, data=24060D18AA57088910090E18AA91588C3F
[16.132168] Event: progress 0.20% (128/63408)
[16.132373] INFO: Write: size=4, data=B1004E00
[19.135409] INFO: Read: size=0, data=
[19.135429] ERROR: Failed to receive the answer. [in oceanic_atom2.c:331 (oceanic_atom2_send)]
[19.135437] INFO: Sleep: value=100
[19.235521] INFO: Flush: queue=1, input=0, output=0
[19.235775] INFO: Write: size=4, data=B1004E00
[19.237157] INFO: Read: size=1, data=5A
More information about the devel
mailing list