Bonjour et bonne année "le.nox",
Le Père Noël m'a apporté une Gramin Swim. Non, en fait c'est ma mère. 😃
Jusqu'à présent j'avais pu éviter le problème du protocole ANT sous Linux car j'ai toujours ma "vieille" Garmin 305 en USB. Mais avec cette autre montre...
Je suis sous Ubuntu 13.10. J'ai absolument tout essayé mais, alors que GFrun et la montre s’apparient parfaitement, le logiciel n'arrive pas à récupérer les données.
Voila la sortie de l'option n°6 de GFrun lancé en root :
==============================================================
GFrun - Garmin Forerunner 60 - 405CX - 310XT - 610 - 910XT
==============================================================
: '######...'########.'########..'##....'##.'##... ##:
:'##... ##.. ##....... ##.... ##. ##.... ##. ###.. ##:
: ##:::..::: ##::::::: ##:::: ##: ##:::: ##: ####: ##:
: ##..'####. ######... ########.. ##.... ##. ## ## ##.
: ##::: ##:: ##...:::: ##.. ##::: ##:::: ##: ##. ####:
: ##... ##.. ##....... ##... ##.. ##.... ##. ##.. ###:
: ######::: ##::::::: ##:::. ##:. #######:: ##::. ##:
:....................................................:
0.5.1
==============================================================
Garmin-Forerunner-610-Extractor - garminplugin - gcpuploader
==============================================================
GFrun.sh -el
"""""
|c .
\ _/
___/( /(
/--/ \\//
__ )/ /\/ \/
-.\ //\\
\\// \\
\/ \\
\\
--
0.5.1
./GFrun.sh: ligne 171 : [: == : opérateur unaire attendu
====================================================
Wget: https://github.com/xonel/GFrun/raw//GFrun/GFrun.sh
GFrun.sh -el
Vbranche =
====================================================
>>> F_Xterm_Geometry
=== /bin/bash /home/yannick/GFrun/GFrun.sh -el
>>> M_Main
>>> F_extractor
=== /home/yannick/GFrun/logs/extractorLogs
<<< Dongle ANT+ is plugged : OK
Driver available: [<class ant.base.driver.SerialDriver at 0x1813738>, <class ant.base.driver.USB2Driver at 0x1813db8>, <class ant.base.driver.USB3Driver at 0x1813e20>]
- Using: ant.base.driver.USB3Driver
Request basic information...
Capabilities: array('B', [8, 8, 0, 186, 54, 0, 223, 0])
Starting system...
Key done...
Searching...
Authenticating with GARMIN SWIM (3868564760)
- Passkey: OK
Downloading 6 file(s) and uploading 0 file(s)
Downloading 1989-12-31_01-00-00_1_0.fit [Traceback (most recent call last):
File "/home/yannick/GFrun/tools/extractor/garmin.py", line 340, in main
g.start()
File "/home/yannick/GFrun/tools/extractor/ant/fs/manager.py", line 202, in start
self._main()
File "/home/yannick/GFrun/tools/extractor/ant/fs/manager.py", line 134, in _main
self.on_transport(beacon)
File "/home/yannick/GFrun/tools/extractor/garmin.py", line 235, in on_transport
self.download_file(fileobject)
File "/home/yannick/GFrun/tools/extractor/garmin.py", line 293, in download_file
data = self.download(fil.get_index(), self._get_progress_callback())
File "/home/yannick/GFrun/tools/extractor/ant/fs/manager.py", line 316, in download
response._get_argument("response"))
AntFSDownloadException: ('Download request failed: ', 2)
Interrupted: ('Download request failed: ', 2)
Vpath : /home/yannick/GFrun
Press [Enter] key to continue...
J'ai l'impression que le problème vient de pyusb qui est en version 0.4.3-1 et non pas1.x
Si je supprime l'ancienne version et que je suis les tes instructions pour installer la version 1.x, cette installation semble fonctionner mais lors de la ré-intallation de GFrun, celui-ci ne détecte pas pyusb et du coup installe la version 0.4.3-1
D'autre part voici ce que retournent les commandes que tu vas sûrement me demander :
yannick@yannick-Latitude-E6400:~/GFrun$ cat $HOME/GFrun/resources/DIAG
cat: /home/yannick/GFrun/resources/DIAG: Aucun fichier ou dossier de ce type
yannick@yannick-Latitude-E6400:~/GFrun$ dpkg -l | grep libusb
ii libgusb2:amd64 0.1.5-0ubuntu1 amd64 GLib wrapper around libusb1
ii libusb-0.1-4:amd64 2:0.1.12-23.2ubuntu1 amd64 userspace USB programming library
ii libusb-0.1-4:i386 2:0.1.12-23.2ubuntu1 i386 userspace USB programming library
ii libusb-1.0-0:amd64 2:1.0.16-3 amd64 userspace USB programming library
ii libusb-1.0-0:i386 2:1.0.16-3 i386 userspace USB programming library
ii libusbmuxd2 1.0.8-1ubuntu1 amd64 USB multiplexor daemon for iPhone and iPod Touch devices - library
yannick@yannick-Latitude-E6400:~/GFrun$ python --version
Python 2.7.5+
Je suis étonné que personne n'ai ce problème.
Bravo pour ton travail et ta disponibilité.
Yannick