---
title: "Garmin Forerunner sous Ubuntu 18 : Echec !"
url: https://www.cyber-neurones.org/2020/03/garmin-forerunner-sous-ubuntu-18-echec/
date: 2020-03-11
modified: 2020-03-11
author: "Frederic"
description: "J'ai donc installé le soft : $ uname -r 5.3.0-40-generic $ sudo apt-get install garmin-forerunner-tools ... $ sudo dpkg-query -l | grep garmin-forerunner-tools ii garmin-forerunner-tools 0.10repacked-10 amd64 retrieve data from..."
categories:
  - "Ubuntu"
tags:
  - "GARMIN"
word_count: 281
---

# Garmin Forerunner sous Ubuntu 18 : Echec !

J'ai donc installé le soft :
**$ uname -r**
5.3.0-40-generic
**$ sudo apt-get install garmin-forerunner-tools**
...
**$ sudo dpkg-query -l | grep garmin-forerunner-tools**
ii garmin-forerunner-tools 0.10repacked-10 amd64 retrieve data from Garmin Forerunner/Edge GPS devices

Ensuite j'ai connecté ma montre :
**$ lsusb**
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04f2:b649 Chicony Electronics Co., Ltd
**Bus 001 Device 009: ID 091e:4c29 Garmin International **
Bus 001 Device 004: ID 8087:0025 Intel Corp.
Bus 001 Device 006: ID 062a:4106 Creative Labs
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Par contre les commandes ne fonctionnent pas :
**$ garmin_get_info**
garmin unit could not be opened!

Ensuite j'ai regardé le fichier par défaut :
**$ cat /lib/udev/rules.d/60-garmin-plugin.rules**
ATTRS{idVendor}=="091e", ATTRS{idProduct}=="**0003**", MODE="0660", GROUP="plugdev", TAG+="uaccess"

J'ai modifié le ATTRS pour ma montre :
**$ cat /lib/udev/rules.d/60-garmin-plugin.rules**
ATTRS{idVendor}=="091e", ATTRS{idProduct}=="**4c29**", MODE="0660", GROUP="plugdev", TAG+="uaccess"

Et une fois que j'ai fait cela je n'avais plus le même lsusb :
$ **lsusb**
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04f2:b649 Chicony Electronics Co., Ltd
**Bus 001 Device 010: ID 091e:0003 Garmin International GPS (various models)**
Bus 001 Device 004: ID 8087:0025 Intel Corp.
Bus 001 Device 006: ID 062a:4106 Creative Labs
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Un petit test ensuite :
**$ garmin_get_info**
libusb_bulk_write failed: LIBUSB_ERROR_TIMEOUT

C'est donc un échec pour l'instant...