<html><head></head><body><div class="ydp5581763yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
        <div dir="ltr" data-setdir="false">I am using the prebuilt binary from the website. I tried unmounting the MK2i. But what do I put in the field "Device or mount point". It doesn't work if I leave it blank, put in "<span>mtp://091e_4cba_0000c6aec8c7/".</span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span>I tried "<span>/run/user/1000/gvfs/mtp:host=091e_4cba_0000c6aec8c7/Primary/GARMIN/"when it was mounted using both MK1 and MK2i. I even copied the GARMIN directory to a local directory, and it still gave the same error with both <span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">MK1 and MK2i.</span></span></span></span></div><div dir="ltr" data-setdir="false"><span><span><span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;"><br></span></span></span></span></div><div dir="ltr" data-setdir="false"><span><span><span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">I'm still sure it is operator error, but not sure what. Is it possible that the prebuilt doesnt link libmtp properly?</span></span></span></span></div><div dir="ltr" data-setdir="false"><span><span><span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;"><br></span></span></span></span></div><div dir="ltr" data-setdir="false">Thanks,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">David</div><div><br></div>
        
        </div><div id="ydpe407c554yahoo_quoted_7206000539" class="ydpe407c554yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Monday, March 22, 2021, 12:32:49 PM CDT, Dirk Hohndel <dirk@hohndel.org> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="ydpe407c554yiv4391429286"><div>Built from source or using prebuilt binaries?<div class="ydpe407c554yiv4391429286">The Mk2i is supposed to be read via libmtp, not via a file system.</div><div class="ydpe407c554yiv4391429286">So my guess is that you have some library mounting the device with exclusive access, Subsurface trying to mount it as well, and things fail.</div><div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286"></div><div class="ydpe407c554yiv4391429286">You could select the Mk1 and then point to the Garmin folder above Activities - that should work and it should do the right thing parsing the FIT files (I haven't tried this method, but it's a thought). Or you could just not mount the Mk2i and let Subsurface do its thing (assuming you have linked libdivecomputer against libmtp - that's why I asked if you built from source)</div><div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286"></div><div class="ydpe407c554yiv4391429286">/D<br clear="none" class="ydpe407c554yiv4391429286"><div class="ydpe407c554yiv4391429286yqt3697198974" id="ydpe407c554yiv4391429286yqt30751"><div><br clear="none" class="ydpe407c554yiv4391429286"><blockquote class="ydpe407c554yiv4391429286" type="cite"><div class="ydpe407c554yiv4391429286">On Mar 21, 2021, at 9:41 PM, David Lautenschlager <<a shape="rect" class="ydpe407c554yiv4391429286" href="mailto:davidlautenschlager@yahoo.com" rel="nofollow" target="_blank">davidlautenschlager@yahoo.com</a>> wrote:</div><br clear="none" class="ydpe407c554yiv4391429286Apple-interchange-newline"><div class="ydpe407c554yiv4391429286"><div class="ydpe407c554yiv4391429286"><div class="ydpe407c554yiv4391429286ydp25d27decyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div class="ydpe407c554yiv4391429286"></div>
        <div class="ydpe407c554yiv4391429286" dir="ltr">Hi,</div><div class="ydpe407c554yiv4391429286" dir="ltr"><br clear="none" class="ydpe407c554yiv4391429286"></div><div class="ydpe407c554yiv4391429286" dir="ltr">I was just going to ask the question that is the subject of this thread "How to download dives from Garmin MK2i?" I am running Linux Mint, and I can browse the files on the MK2i, but no matter what directory in the path I use for the "Device or mount point" I get a "Dive data import error." I assume I am doing something wrong, but I can't figure out what.</div><div class="ydpe407c554yiv4391429286" dir="ltr"><br clear="none" class="ydpe407c554yiv4391429286"></div><div class="ydpe407c554yiv4391429286" dir="ltr">Thanks,</div><div class="ydpe407c554yiv4391429286" dir="ltr"><br clear="none" class="ydpe407c554yiv4391429286"></div><div class="ydpe407c554yiv4391429286" dir="ltr">David</div><div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286"></div>
        
        </div><div class="ydpe407c554yiv4391429286ydp752cb5e3yahoo_quoted" id="ydpe407c554yiv4391429286ydp752cb5e3yahoo_quoted_6549201219">
            <div class="ydpe407c554yiv4391429286" style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div class="ydpe407c554yiv4391429286">
                    On Sunday, March 21, 2021, 07:24:29 PM CDT, Dirk Hohndel via subsurface <<a shape="rect" class="ydpe407c554yiv4391429286" href="mailto:subsurface@subsurface-divelog.org" rel="nofollow" target="_blank">subsurface@subsurface-divelog.org</a>> wrote:
                </div>
                <div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286"></div>
                <div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286"></div>
                <div class="ydpe407c554yiv4391429286"><div class="ydpe407c554yiv4391429286" id="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"><div class="ydpe407c554yiv4391429286">Hi Mark<br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"><div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"><blockquote class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" type="cite"><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517">On Mar 21, 2021, at 3:42 PM, Mark Stiebel <<a shape="rect" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" href="mailto:mark@stiebel.me" rel="nofollow" target="_blank">mark@stiebel.me</a>> wrote:</div><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" style="font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;"><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"></div><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" style="font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;">Wasn't sure if I should be responded on the google group, or on the subsurface mailing list which I've now subscribed to. Please let me know, and I'll repost this email to whichever is your preferred channel.</div></div></blockquote><div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"></div><div class="ydpe407c554yiv4391429286">Development discussions best work on the developer mailing list.</div><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"><blockquote class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" type="cite"><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" style="font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;">I'm keen on seeing how I can contribute to Subsurface, although having said that it might be a slow start to getting to the point of actually being able to contribute. I'll give you a little background.. </div><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" style="font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;"><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"></div><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" style="font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;">I've been a diver for about 30 years or so, and every couple of years re-evaluate my dive logging platform, and despite the fact that it misses on a few subjective things, </div></div></blockquote><div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"></div><div class="ydpe407c554yiv4391429286">Always curious what these things are. There are a few common ones that we have repeatedly turned down because they just seem out of scope for what we do, but it's always worth a try.</div><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"><blockquote class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" type="cite"><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" style="font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;">I seem to stick with Subsurface. I've not dived a lot over the past few years due to, well, life. And with a renewed enthusiasm for diving again, comes a renewed enthusiasm for attempting to contribute to Subsurface.</div></div></blockquote><div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"></div><div class="ydpe407c554yiv4391429286">I envy you your renewed enthusiasm.</div><div class="ydpe407c554yiv4391429286">With two dives in the past 17 months my enthusiasm is at its absolute low point.</div><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"><blockquote class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" type="cite"><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" style="font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;">I'm also a long time developer, with my roots in C/C++, although admittedly haven't got my fingers dirty in real C/C++ for many years, so it will take a bit to brush the dust off. I'm still in the IT industry, but with my work in enterprise systems architecture and data & analytics and machine learning. The hobbyist side of me usually has me on the other end of the scale tinkering with the likes of Arduinos.</div></div></blockquote><div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"></div><div class="ydpe407c554yiv4391429286">I haven't been a professional software developer in a really, REALLY long time. So futzing around in C/C++/QML/JS/whatever really is just a hobby here. As is maintaining this project, of course.</div><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"><blockquote class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" type="cite"><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" style="font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;">I have a headless Debian Buster server as well as my Windows box. Given your comment below, I thought I'd first try to build native Linux, but have already come to a hurdle! Not having used Qt either adds a bit more to the learning curve. But nothing is insurmountable, even for an old dog :)</div><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" style="font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;"><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"></div><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" style="font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;"><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517quote" style="margin-left:1em;margin-right:1em;border-left-width:5px;border-left-style:solid;border-left-color:rgb(235, 235, 235);padding-left:0.3em;">~/src/subsurface/build$ ./subsurface<br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517">QOpenGLFunctions created with non-current context<br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517">ASSERT: "QOpenGLFunctions::isInitialized(d_ptr)" in file /usr/include/x86_64-linux-gnu/qt5/QtGui/qopenglfunctions.h, line 886<br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517">Aborted<br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517">~/src/subsurface/build$</div></div></div></blockquote><div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"></div>So Subsurface can easily be BUILT on a headless Debian box - but then for running it, you need some way to display the screen, right?</div><div class="ydpe407c554yiv4391429286">We do actually have a headless version that is intended to be used on Raspberry Pi or other small systems simply as a downloader, but that's likely not the direction you are looking for.</div><div class="ydpe407c554yiv4391429286">So what you built above, is a native Linux app that will run on a Linux system that has an real (or virtual) display.</div><div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"></div><div class="ydpe407c554yiv4391429286">In order to run something on your Windows system, you need to cross build for Linux. That's where the docker image comes in.</div><div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"><blockquote class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" type="cite"><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"><div class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517" style="font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;">Maybe I should jump straight onto building it in your docker image :)</div></div></blockquote><div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"></div>Well, I don't know. The turnaround time is really painful. It might be more fun to build under Linux. Where / how are you running this headless Debian system? Is this a VM under HyperV? Or is there a way you could install a VM with a desktop Linux somewhere? That will really make the learning curve so much less steep...</div><div class="ydpe407c554yiv4391429286"><br clear="none" class="ydpe407c554yiv4391429286ydp752cb5e3yiv9916038517"></div><div class="ydpe407c554yiv4391429286">/D</div></div></div>_______________________________________________<br clear="none" class="ydpe407c554yiv4391429286">subsurface mailing list<br clear="none" class="ydpe407c554yiv4391429286"><a shape="rect" class="ydpe407c554yiv4391429286" href="mailto:subsurface@subsurface-divelog.org" rel="nofollow" target="_blank">subsurface@subsurface-divelog.org</a><br clear="none" class="ydpe407c554yiv4391429286"><a shape="rect" class="ydpe407c554yiv4391429286" href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="nofollow" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br clear="none" class="ydpe407c554yiv4391429286"></div>
            </div>
        </div></div></div></blockquote></div></div><br clear="none" class="ydpe407c554yiv4391429286"></div></div></div></div>
            </div>
        </div></body></html>