<div dir="ltr">Dear Jef,<div><br></div><div>after having downloaded the linux version of dctool and having added tho the execute permission to the y fdownloaded file I tried to obtain a new copy of the SmartTec's memory dump</div><div><br></div><div>The program did not succeed in opening the device. The terminal output has been copied into subdirectory smarttec_import , within my Dropbox folder : <a href="https://www.dropbox.com/sh/dsg43qcbo013i1k/AAC_vCS3cZeZar5i3HngCNq3a?dl=0">https://www.dropbox.com/sh/dsg43qcbo013i1k/AAC_vCS3cZeZar5i3HngCNq3a?dl=0</a></div><div><br></div><div>For some at present unknown reason the linux irda interface fails to connect to SmartTec, even if it work perfectly with Galileo, on the same hardware (Dell XPS 13 DE 9350) and the same OS (Ubuntu trusty with kernel 4.4.0-66-generic).</div><div><br></div><div>The behavior of dctool and of subsurface seems not to be different.</div><div><br></div><div>Best regards.</div><div><br></div><div>Alessandro</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 14, 2017 at 8:05 AM, Jef Driesen <span dir="ltr"><<a href="mailto:jef@libdivecomputer.org" target="_blank">jef@libdivecomputer.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2017-03-14 00:43, Alessandro Volpi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have tried once again to obtain the SmartTec memory dump with dctool.exe,<br>
on the WXP VM . VirtualBox was running on my  Ubuntu trusty laptop.<br>
<br>
The command was THE RIGHT ONE, as suggested by Jef : "dctool.exe -v -l<br>
smart.log -f smart dump -o smart.bin" ; the failed trials described in my<br>
previous message were carried on with the WRONG COMMAND :<br>
"dctool.exe -v -l smart.log -f smart.dump -o smart.bin"<br>
<br>
The smart.log and smart.bin are now available in subdirectory<br>
 smarttec_import within my Dropbox folder :<br>
 <a href="https://www.dropbox.com/sh/dsg43qcbo013i1k/AAC_vCS3cZeZar5i3HngCNq3a?dl=0" rel="noreferrer" target="_blank">https://www.dropbox.com/sh/ds<wbr>g43qcbo013i1k/AAC_vCS3cZeZar5i<wbr>3HngCNq3a?dl=0</a><br>
<br>
I apologize for the inconvenience.<br>
</blockquote>
<br>
As I already suspected, downloading the Smart Tec works fine on Windows XP too. That pretty much confirms the problem is most likely located in the linux IrDA drivers, and not libdivecomputer or subsurface.<br>
<br>
Can you repeat the same test, on the Ubuntu Trusty system where downloading the Galileo worked? You can use subsurface, or the linux version of the dctool command-line application:<br>
<br>
<a href="http://libdivecomputer.org/builds/stable/linux/dctool" rel="noreferrer" target="_blank">http://libdivecomputer.org/bui<wbr>lds/stable/linux/dctool</a><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Anyway it is still to be understood why does the subsurface memory dump<br>
work with the Galileo and not with the SmartTec; the irda interface is a<br>
FIR and, AFAIK, a FIR device is characterized by high baud rate (16M in my<br>
trusty system), but should also be able to work at lower data rate when the<br>
connected device does not support such a high baud rate. The time required<br>
for the SmartTec memory dump has been much longer, compared to the same<br>
operation carried on the Galileo DC<br>
</blockquote>
<br>
I don't think this is related to the IrDA data rate. I think the explanation is a lot simpler: The Smart Tec memory dump is almost twice as large as the Galileo one (259K vs 154K). So it's not unexpected it takes longer. I don't know how long the Galileo download took (the subsurface log doesn't include timestamps), but the Smart Tec download took 613 seconds. So if the transfer speed is the same, I expect the Galileo download took approximately 364 seconds. If that's indeed correct, then you have the answer for the longer download time.<br>
<br>
(If you want to take the test, just download your galileo with the dctool on the same Windows VM, and check the last timestamp in the log.)<span class="HOEnZb"><font color="#888888"><br>
<br>
Jef<br>
</font></span></blockquote></div><br></div>