sensus ultra slow read
Artur Wroblewski
wrobell at pld-linux.org
Thu Aug 2 23:46:57 UTC 2012
Hi,
I am using libdivecomputer 781f0db71f7a06591e819f7960dd5b504b4f16a0
at the moment and when trying to download the data from my
Sensus Ultra I can see the following on Linux via strace
select(4, [3], [], [], {5, 0}) = 1 (in [3], left {4, 999992})
read(3, "\1\0\323u\245", 31095) = 5
select(4, [3], [], [], {5, 0}) = 1 (in [3], left {4, 2265})
read(3, "\2\3d\35\321\202\n\7\2\0z\203\177", 31090) = 13
select(4, [3], [], [], {5, 0}) = 1 (in [3], left {4, 999869})
read(3, "\1\371\0\n\0W\4", 31077) = 7
select(4, [3], [], [], {5, 0}) = 1 (in [3], left {4, 999995})
read(3, "\17\0\1", 31070) = 3
select(4, [3], [], [], {5, 0}) = 1 (in [3], left {4, 999968})
read(3, "\0`@", 31067) = 3
The data download is very slow (still downloading actually ;) and I wonder
what that could be
- some change in libdivecomputer (it reads 1-5 bytes at once :/)
- the device dies
- Linux kernel 3.5.0
- combination of all above
Does anyone experience something similar?
Regards,
w
More information about the Devel
mailing list