ncssar / gpsio

GPSIO Browser Extension
GNU General Public License v2.0
8 stars 2 forks source link

Alpha 200i not recognized (MTP rather than USB Mass Storage) #10

Closed caver456 closed 3 years ago

caver456 commented 3 years ago

It does mount as an external drive in Windows, and it does have a Garmin directory with GarminDevice.xml in it, but, GPSIO gives a red line 'no GPS was found' (or similar) every time for export and import. File transfer worked fine.

caver456 commented 3 years ago

One searcher's Alpha 200i recognized just fine (evidently, DRIVE:\Garmin\GarminDevice.xml exists) but another searcher's Alpha 200i did not recognize - looks like all the dirs were one level down - didn't recognize this right away. So, try just changing the code to look for DRIVE:\Internal Storage\Garmin\GarminDevice.xml, and if found then use DRIVE:\Internal Storage\Garmin\GPX as the data directory:

image

caver456 commented 3 years ago

The interesting question is why one GPS had the Internal Storage dir level but the other (evidently) did not. I asked the to searchers to see if the GPS menus have some setting that might control this.

caver456 commented 3 years ago

Code appears to be fixed but I want to wait til testing it with the problem GPS in person before pushing to github.

caver456 commented 3 years ago

Nope, the code fixes to check for a subdirectory named 'Internal Storage' did not work, that was barking up the wrong tree. It's not recognized as a drive letter because it's using MTP rather than USB Mass Storage. The manual is wrong. This Alpha 200i was MTP whether a microSD card was installed or not.

So, two tasks: 1) determine why one Alpha 200i was recognized by GPSIO (i.e. must have been using USB Mass Storage Mode), and the other was MTP. Verify that the models are the same. Check firmware versions on each. Check for other settings? There was a setting I think called 'USB Mass Storage' and the options were 'always' or 'prompt'?

2) get MTP working with GPSIO.

caver456 commented 3 years ago

First task resolved: Alpha 200i firmware 3.10 is USB Mass Storage (drive letters), 3.20 is MTP, and Garmin help confirms that there's nothing the user can do to affect that. They also can't provide a change log that says as much, so pursuing that is not real productive.

Onwards to MTP. Closing this issue, and making a separate issue for MTP.