Menu

#23 Fix to detect garmin devices on arch linux distros (possible others too)

v1.0_(example)
open
nobody
None
5
2019-01-12
2019-01-12
Anonymous
No

In arch linux turtlesport was unable to detect my FIT device. Reviewing the source code I notice that it looks for this kind of devices on '/media/user/GARMIN/', but on arch linux (and probably on other linux distros too, such as fedora, mint, etc.) devices are now mounted in '/run/media/user/GARMIN/'.

The solution is simple, just add this in GarminFitDevice.java, line 305:

listDir.add(new File( "/run/media/" + userName + "/GARMIN"));

recompile and enjoy.

Discussion

Anonymous
Anonymous

Add attachments
Cancel