Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #183589 > unrolled thread

How to use Garmin Connect with Debian 7?

Started byJoerg Desch <news@jdesch.de>
First post2017-07-12 13:10 +0200
Last post2017-07-15 17:50 +0200
Articles 15 — 6 participants

Back to article view | Back to linux.debian.user


Contents

  How to use Garmin Connect with Debian 7? Joerg Desch <news@jdesch.de> - 2017-07-12 13:10 +0200
    Re: How to use Garmin Connect with Debian 7? solitone <solitone@mail.com> - 2017-07-12 13:30 +0200
      Re: How to use Garmin Connect with Debian 7? Fungi4All <fungilife@protonmail.com> - 2017-07-12 13:50 +0200
        Re: How to use Garmin Connect with Debian 7? Joerg Desch <news@jdesch.de> - 2017-07-12 14:10 +0200
          Re: How to use Garmin Connect with Debian 7? <tomas@tuxteam.de> - 2017-07-12 14:20 +0200
            Re: How to use Garmin Connect with Debian 7? Joerg Desch <news@jdesch.de> - 2017-07-12 14:30 +0200
              Re: How to use Garmin Connect with Debian 7? <tomas@tuxteam.de> - 2017-07-12 15:20 +0200
      Re: How to use Garmin Connect with Debian 7? Joerg Desch <news@jdesch.de> - 2017-07-12 14:00 +0200
        Re: How to use Garmin Connect with Debian 7? solitone <solitone@mail.com> - 2017-07-12 14:10 +0200
          Re: How to use Garmin Connect with Debian 7? Joerg Desch <news@jdesch.de> - 2017-07-12 14:20 +0200
            Re: How to use Garmin Connect with Debian 7? Jörg-Volker Peetz <jvpeetz@web.de> - 2017-07-13 12:20 +0200
              Re: How to use Garmin Connect with Debian 7? Joerg Desch <news@jdesch.de> - 2017-07-13 17:00 +0200
                Re: How to use Garmin Connect with Debian 7? rhkramer@gmail.com - 2017-07-14 14:20 +0200
                  Re: How to use Garmin Connect with Debian 7? Jörg-Volker Peetz <jvpeetz@web.de> - 2017-07-15 10:20 +0200
                    Re: How to use Garmin Connect with Debian 7? rhkramer@gmail.com - 2017-07-15 17:50 +0200

#183589 — How to use Garmin Connect with Debian 7?

FromJoerg Desch <news@jdesch.de>
Date2017-07-12 13:10 +0200
SubjectHow to use Garmin Connect with Debian 7?
Message-ID<u2nGO-7sP-25@gated-at.bofh.it>
I'm using a Garmin Edge 520 for my bycicle and a (new) Forerunner for 
running. How can I access Garmin Connect without installing the Windows 
tools?

The Garmin Edge 520 is already registered to my Garmin Connect account. 
I've used an old Windows 7 notebook with isn't functional anymore. Now 
I've tried to sync the Edge 520 and (more important) to register the 
Forerunner with the garmin-plugin and the garmin-forerunner-tools. But it 
didn't work.

Is there anyone on the list using this tools?

I've installed firefox-esr from the official repos. I've tried to change 
the user agent string as mentioned by Andres Diener. But nothing happens. 
Neither the expected dialog appears, nor the configurations files are 
created.

garmin_get_info reports "garmin unit could not be opened!". The device 
itself is deteced and the filesysdtem is mounted:

"scsi 6:0:0:0: Direct-Access     Garmin   FR235 Flash"

What's wrong?

[toc] | [next] | [standalone]


#183591

Fromsolitone <solitone@mail.com>
Date2017-07-12 13:30 +0200
Message-ID<u2o0a-7C7-9@gated-at.bofh.it>
In reply to#183589
On Wednesday, 12 July 2017 11:07:39 CEST Joerg Desch wrote:
> I'm using a Garmin Edge 520 for my bycicle and a (new) Forerunner for
> running. How can I access Garmin Connect without installing the Windows
> tools?
> 
> The Garmin Edge 520 is already registered to my Garmin Connect account.
> I've used an old Windows 7 notebook with isn't functional anymore. Now
> I've tried to sync the Edge 520

I have a Garmin Edge 520, and I use the Garmin Connect app on my smartphone to 
sync it, not the Windows tool. I just needed the Windows tool during initial 
configuration, but once it's registered you no longer need it (except for some 
rare events when you need it to solve weird sync issues).

I don't know whether it's possible to perform the initial configuration steps 
without the official Garmin tool, I have a Windows 10 installation on a libvirt 
virtual machine, that I use just for Garmin and iTunes.

[toc] | [prev] | [next] | [standalone]


#183593

FromFungi4All <fungilife@protonmail.com>
Date2017-07-12 13:50 +0200
Message-ID<u2ojv-7Jo-11@gated-at.bofh.it>
In reply to#183591

[Multipart message — attachments visible in raw view] — view raw

> From: solitone@mail.com
> On Wednesday, 12 July 2017 11:07:39 CEST Joerg Desch wrote:
>> I"m using a Garmin Edge 520 for my bycicle and a (new) Forerunner for
>> running. How can I access Garmin Connect without installing the Windows
>> tools?
>>
>> The Garmin Edge 520 is already registered to my Garmin Connect account.
>> I"ve used an old Windows 7 notebook with isn"t functional anymore. Now
>> I"ve tried to sync the Edge 520
> I have a Garmin Edge 520, and I use the Garmin Connect app on my smartphone to
> sync it, not the Windows tool. I just needed the Windows tool during initial
> configuration, but once it"s registered you no longer need it (except for some
> rare events when you need it to solve weird sync issues).
> I don"t know whether it"s possible to perform the initial configuration steps
> without the official Garmin tool, I have a Windows 10 installation on a libvirt
> virtual machine, that I use just for Garmin and iTunes.

I think you need to read up to the NMEA183 protocol, which for a while it
was the standard of i/o data ever since the first gps had wired connections on it.
This is pre-USB era, we use to splice 9pin serial ports on our own before
Garmin started selling wired plugs for 25x the cost. Worth it?
Now it is even easier, here is what I found with a quick search https://www.gpsbabel.org/htmldoc-1.4.4/fmt_garmin.html
But this pdf takes all the mystery out of the input/output of such devices.
Nearly 20-25 years have passed and not much has changed
https://www.garmin.com/support/pdf/NMEA_0183.pdf
To communicate with a Garmin GPS serially, use the name of that serial port such as COM1 or /dev/cu.serial.
To communicate via USB use usb: as the filename on all OSes. Thus, to read the waypoints from a Garmin USB receiver and write them to a GPX file:
gpsbabel -i garmin -f usb: -o gpx -F blah.gpx
If you have multiple units attached via USB, you may provide a unit number, with zero being the implied default. So if you have three USB models on your system, they can be addressed as usb:0, usb:1, and usb:2. To get a list of recognized devices, specify a negative number such as:
gpsbabel -i garmin -f usb:-1
When reporting problems with the Garmin format, be sure to include the full unit model, firmware version, and be prepared to offer debugging dumps by adding -D9 to the command line, like:
gpsbabel -D9 -i garmin -f usb: -o gpx -F blah.gpx
Custom icons are supported on units that support that. Neither GPSBabel nor your firmware know what is associated with any given slot number. They don't know that the picture you placed in the first slot is a happy face, they only know they're in the lowest numbered slot. GPSBabel names the them consistently with Mapsource, so they are named 'Custom 0' through 'Custom 511'.
For models where the connection on the GPS is a serial interface, be sure the GPS is set for "Garmin mode" in setup and that nothing else (PDA hotsync programs, gpsd, getty, pppd, etc.) is using the serial port.
For models connected via USB, we recommend use of the usb: filename. For this to work on Windows, you must install the Garmin driver. For Linux, this will fail if you have the garmin_gps kernel module loaded. See the Operating System Notes for details.

[toc] | [prev] | [next] | [standalone]


#183595

FromJoerg Desch <news@jdesch.de>
Date2017-07-12 14:10 +0200
Message-ID<u2oCR-858-9@gated-at.bofh.it>
In reply to#183593
Am Wed, 12 Jul 2017 07:43:31 -0400 schrieb Fungi4All:

> I think you need to read up to the NMEA183 protocol, which for a while
> it was the standard of i/o data ever since the first gps had wired
> connections on it.

Both devices are visible as filesystem. So I can easily copy and convert 
the recorded FIT files. My problem is the connection to the Garmin 
Connect cloud service. I have to initialize the device and bind it to my 
account.

[toc] | [prev] | [next] | [standalone]


#183597

From<tomas@tuxteam.de>
Date2017-07-12 14:20 +0200
Message-ID<u2oMx-88t-1@gated-at.bofh.it>
In reply to#183595
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jul 12, 2017 at 11:58:10AM +0000, Joerg Desch wrote:
> Am Wed, 12 Jul 2017 07:43:31 -0400 schrieb Fungi4All:
> 
> > I think you need to read up to the NMEA183 protocol, which for a while
> > it was the standard of i/o data ever since the first gps had wired
> > connections on it.
> 
> Both devices are visible as filesystem. So I can easily copy and convert 
> the recorded FIT files. My problem is the connection to the Garmin 
> Connect cloud service. I have to initialize the device and bind it to my 
> account.

Just a bystander here -- I don't even own a smartphone (I'll put that off
until strictly necessary), but thanks for those infos.

I'm downright appalled to see that a little piece of hardware comes tied
to TahCloud and doesn't give the user any choices in that. I'd be raging
at Garmin, were I their customer, for being (mis)treated like that.

Seems I won't be a customer of Garmin, then.

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAllmEpwACgkQBcgs9XrR2kZiuQCeJlcl7pZ9RrLBPwYm9pEdkx4w
eSMAniaIdibi+CUsZwTuDf9hxQJqEiAZ
=/T09
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#183600

FromJoerg Desch <news@jdesch.de>
Date2017-07-12 14:30 +0200
Message-ID<u2oWe-8bN-5@gated-at.bofh.it>
In reply to#183597
Am Wed, 12 Jul 2017 14:14:20 +0200 schrieb tomas:

> I'm downright appalled to see that a little piece of hardware comes tied
> to TahCloud and doesn't give the user any choices in that. I'd be raging
> at Garmin, were I their customer, for being (mis)treated like that.

My mistake... The Forerunner works like a charm without cloud connection. 
It's my personal choose to let the companion software sync the data to 
the cloud in order to get the processed results.

So Garmin is doing it right. ;-)

[toc] | [prev] | [next] | [standalone]


#183605

From<tomas@tuxteam.de>
Date2017-07-12 15:20 +0200
Message-ID<u2pID-g1-27@gated-at.bofh.it>
In reply to#183600
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jul 12, 2017 at 12:20:17PM +0000, Joerg Desch wrote:
> Am Wed, 12 Jul 2017 14:14:20 +0200 schrieb tomas:

[whine... cloud... blah... ;-]

> My mistake... The Forerunner works like a charm without cloud connection. 
> It's my personal choose to let the companion software sync the data to 
> the cloud in order to get the processed results.
> 
> So Garmin is doing it right. ;-)

So thanks for the correction. The only fly in the ointment is the need
for some @%$#! windows software on the other side, then?

That's definitely better!

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAllmH/UACgkQBcgs9XrR2kaEBACeMtMUsizfx1W5NlmUCi14n/RF
cZQAnAqQqt7PCMeZQthjpvrXKcvZnzLH
=N7R4
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#183594

FromJoerg Desch <news@jdesch.de>
Date2017-07-12 14:00 +0200
Message-ID<u2otb-7MP-5@gated-at.bofh.it>
In reply to#183591
Am Wed, 12 Jul 2017 13:28:11 +0200 schrieb solitone:

> I have a Garmin Edge 520, and I use the Garmin Connect app on my
> smartphone to sync it, not the Windows tool. I just needed the Windows
> tool during initial configuration, but once it's registered you no
> longer need it (except for some rare events when you need it to solve
> weird sync issues).

I have the same situation here. The Edge 520 is running, only firmware 
updates needs Windows.


> I don't know whether it's possible to perform the initial configuration
> steps without the official Garmin tool, I have a Windows 10 installation
> on a libvirt virtual machine, that I use just for Garmin and iTunes.

That is a good idea. I could use the Windows license key of the dead 
windows notebook and run it inside VirtualBox. Do you know if the USB 
connection to the Garmin devices runs through the virtual host?

[toc] | [prev] | [next] | [standalone]


#183596

Fromsolitone <solitone@mail.com>
Date2017-07-12 14:10 +0200
Message-ID<u2oCR-858-7@gated-at.bofh.it>
In reply to#183594
On Wednesday, 12 July 2017 11:55:25 CEST Joerg Desch wrote:
> I could use the Windows license key of the dead
> windows notebook and run it inside VirtualBox. Do you know if the USB
> connection to the Garmin devices runs through the virtual host?

Yes, I used to have a VirtualBox instance on my previous laptop, and it did 
work. Then I migrated that VirtualBox image to KVM when I prepared my new 
laptop, and it continued to work.

[toc] | [prev] | [next] | [standalone]


#183598

FromJoerg Desch <news@jdesch.de>
Date2017-07-12 14:20 +0200
Message-ID<u2oMx-88t-13@gated-at.bofh.it>
In reply to#183596
Am Wed, 12 Jul 2017 14:08:22 +0200 schrieb solitone:

> Yes, I used to have a VirtualBox instance on my previous laptop, and it
> did work. Then I migrated that VirtualBox image to KVM when I prepared
> my new laptop, and it continued to work.

Just because you mentioned it.... You have build a VirtualBox image from 
the content of your harddrive?

Which tool have you used for this?

Does Windows reconfigure all the drivers after starting inside a VM?

What's the benefit in using libvirt / KVM?

[toc] | [prev] | [next] | [standalone]


#183638

FromJörg-Volker Peetz <jvpeetz@web.de>
Date2017-07-13 12:20 +0200
Message-ID<u2JnY-4lu-13@gated-at.bofh.it>
In reply to#183598
Hi Joerg,

I use an older Garmin device, so have not tested what follows:
there's this nice blog in German:
https://blog.dafb-o.de/neue-firmware-fuer-garmin-devices-unter-linux/ where the
firmware update procedure from Linux is detailed and a link to the firmware
files for your device is given http://gawisp.com/perry/edge/ .

Have fun,
jvp.

[toc] | [prev] | [next] | [standalone]


#183653

FromJoerg Desch <news@jdesch.de>
Date2017-07-13 17:00 +0200
Message-ID<u2NKW-6Wd-19@gated-at.bofh.it>
In reply to#183638
Am 13.07.17 12:13 nachm., schrieb Jörg-Volker Peetz:
>there's this nice blog in German:
>https://blog.dafb-o.de/neue-firmware-fuer-garmin-devices-unter-linux/ where the
>firmware update procedure from Linux is detailed and a link to the firmware
>files for your device is given http://gawisp.com/perry/edge/ .

Thanks for the links. Today I have tried to connect the FR235 to the Garmin
 Android app. So much pain.... Damned Bluetooth. After 10 fails to add the
 FR to the app, I had some luck. After that, the app shows me a running
 firmware download. The progress was 50% for 20 minutes. So I abort this
 juke.

I will try the step in the blog above. Thanks again.

[toc] | [prev] | [next] | [standalone]


#183674

Fromrhkramer@gmail.com
Date2017-07-14 14:20 +0200
Message-ID<u37JG-3iP-53@gated-at.bofh.it>
In reply to#183653
> Am 13.07.17 12:13 nachm., schrieb Jörg-Volker Peetz:
> >there's this nice blog in German:
> >https://blog.dafb-o.de/neue-firmware-fuer-garmin-devices-unter-linux/
> >where the firmware update procedure from Linux is detailed and a link to
> >the firmware files for your device is given http://gawisp.com/perry/edge/
> >.

Can you provide a more precise link--that link gives me "Oh! Die Seite konnte 
nicht gefunden werden."

I don't suppose there is an English translation?  (I assume not, and I'll see 
if Google translate makes it understandable to me.)

Thanks!
Randy Kramer

[toc] | [prev] | [next] | [standalone]


#183709

FromJörg-Volker Peetz <jvpeetz@web.de>
Date2017-07-15 10:20 +0200
Message-ID<u3qsV-7uK-5@gated-at.bofh.it>
In reply to#183674
rhkramer@gmail.com wrote on 07/14/17 14:10:
>> Am 13.07.17 12:13 nachm., schrieb Jörg-Volker Peetz:
>>> there's this nice blog in German:
>>> https://blog.dafb-o.de/neue-firmware-fuer-garmin-devices-unter-linux/
>>> where the firmware update procedure from Linux is detailed and a link to
>>> the firmware files for your device is given http://gawisp.com/perry/edge/
>>> .
> 
> Can you provide a more precise link--that link gives me "Oh! Die Seite konnte 
> nicht gefunden werden."
> 
> I don't suppose there is an English translation?  (I assume not, and I'll see 
> if Google translate makes it understandable to me.)
> 
> Thanks!
> Randy Kramer
> 
> 
Today, at 7:57 UTC o'clock both links worked for me.

The blog page mainly states a procedure which worked also on other devices like
the older Oregon: the firmware file is copied via USB onto the device into the
"/Garmin/" directory under the name "gupdate.gcd". When the device is restarted,
this new firmware file get's installed.
>From the second link the firmware file can be downloaded.

Regards,
jvp.

[toc] | [prev] | [next] | [standalone]


#183719

Fromrhkramer@gmail.com
Date2017-07-15 17:50 +0200
Message-ID<u3xup-3eO-3@gated-at.bofh.it>
In reply to#183709
On Saturday, July 15, 2017 04:10:01 AM Jörg-Volker Peetz wrote:
> rhkramer@gmail.com wrote on 07/14/17 14:10:
> > Can you provide a more precise link--that link gives me "Oh! Die Seite
> > konnte nicht gefunden werden."

...

> Today, at 7:57 UTC o'clock both links worked for me.

Thanks--it worked (just now) for me also--don't know why it didn't work 
earlier.


> The blog page mainly states a procedure which worked also on other devices
> like the older Oregon: the firmware file is copied via USB onto the device
> into the "/Garmin/" directory under the name "gupdate.gcd". When the
> device is restarted, this new firmware file get's installed.

Thanks for this, also, it may be all the clues I need ;-)

regards,
Randy Kramer

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web