#1 Le 26/08/2017, à 11:03
- dpt
[Résolu]Utilisation Gpsbabel avec gps garmi etrex vista hcx
Bonjour
Nouvel utilisateur de Ubuntu je désire continuer à utiliser mon gps Garmin etrex vista Hcx.
Je souhaite principalement pouvoir envoyer à partir de l'ordinateur des fichiers .gpx route vers le gps.
J'ai installé Gpsbabel et je ne réussis pas à envoyer des fichiers .gpx vers le gps
La ligne de commande sur gpsbabel est la suivante:
gpsbabel -w -r -t -i gpx -f /home/bernard/Bureau/10 km Valframbert route.gpx -o garmin -F usb:
et j'obtiens comme réponse:
Un problème a été détecté par GPSBabel.
Le message d'erreur initial reporté par GPSBabel est :
Claim interfaced failed: could not claim interface 0: Operation not permitted
Par ailleurs le gps indique qu'il est bien connecté.
Pouvez-vous m'aider à résoudre cette difficulté.
Merci
Dernière modification par Ayral (Le 27/08/2017, à 23:10)
Hors ligne
#2 Le 26/08/2017, à 12:56
- lann
Re : [Résolu]Utilisation Gpsbabel avec gps garmi etrex vista hcx
Tu peux également utilisé en interface graphique grâce Gebabbel.
Mon interface gps est : /dev/tty/USB0
Essayes de le remplacer usb: par /dev/tty/USB0
Hors ligne
#3 Le 26/08/2017, à 14:38
- dpt
Re : [Résolu]Utilisation Gpsbabel avec gps garmi etrex vista hcx
J'ai remplacé usb: par /dev/tty/USB0 et voilà ce que j'obtiens:
Un problème a été détecté par GPSBabel.
Il y a eu une erreur à l'ouverture d'un fichier ou d'un port.
Le message d'erreur initial reporté par GPSBabel est :
[ERROR] XSERIAL: Cannot open serial port ' /dev/tty/USB0': No such file or directory
[ERROR] Cannot open serial port ' /dev/tty/USB0'
GARMIN:Can't init /dev/tty/USB0
Mais je ne comprends pas ce que tu entends par:
Tu peux également utilisé en interface graphique
Quelle est cette manip?
Merci
Hors ligne
#4 Le 26/08/2017, à 19:14
- lann
Re : [Résolu]Utilisation Gpsbabel avec gps garmi etrex vista hcx
Il faut que tu installes le logiciel Gebabbel
Pour le reste, il faudrait que tu me donnes le retour de
ls -lah /dev/
Hors ligne
#5 Le 26/08/2017, à 22:17
- dpt
Re : [Résolu]Utilisation Gpsbabel avec gps garmi etrex vista hcx
C'est bien Gebabbel que j'utilise.
Quand j'utilise ta commande, gps branché, voici ce que j'obtiens:
bernard@Portable1:~$ ls -lah /dev/
total 4,0K
drwxr-xr-x 20 root root 4,1K août 26 22:00 .
drwxr-xr-x 24 root root 4,0K août 17 09:23 ..
crw------- 1 root root 10, 235 août 26 22:00 autofs
drwxr-xr-x 2 root root 320 août 26 22:00 block
drwxr-xr-x 2 root root 100 août 26 22:00 bsg
crw------- 1 root root 10, 234 août 26 22:00 btrfs-control
drwxr-xr-x 3 root root 60 août 26 22:00 bus
lrwxrwxrwx 1 root root 3 août 26 22:00 cdrom -> sr0
lrwxrwxrwx 1 root root 3 août 26 22:00 cdrw -> sr0
drwxr-xr-x 2 root root 3,9K août 26 22:03 char
crw------- 1 root root 5, 1 août 26 22:00 console
lrwxrwxrwx 1 root root 11 août 26 22:00 core -> /proc/kcore
drwxr-xr-x 2 root root 60 août 26 22:00 cpu
crw------- 1 root root 10, 59 août 26 22:00 cpu_dma_latency
crw------- 1 root root 10, 203 août 26 22:00 cuse
drwxr-xr-x 8 root root 160 août 26 22:00 disk
drwxr-xr-x 2 root root 100 août 26 22:00 dri
crw------- 1 root root 247, 0 août 26 22:00 drm_dp_aux0
crw------- 1 root root 247, 1 août 26 22:00 drm_dp_aux1
lrwxrwxrwx 1 root root 3 août 26 22:00 dvd -> sr0
lrwxrwxrwx 1 root root 3 août 26 22:00 dvdrw -> sr0
crw------- 1 root root 10, 61 août 26 22:00 ecryptfs
crw-rw---- 1 root video 29, 0 août 26 22:00 fb0
lrwxrwxrwx 1 root root 13 août 26 22:00 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 août 26 22:00 full
crw-rw-rw- 1 root root 10, 229 août 26 22:00 fuse
crw------- 1 root root 10, 228 août 26 22:00 hpet
drwxr-xr-x 2 root root 0 août 26 22:00 hugepages
crw------- 1 root root 10, 183 août 26 22:00 hwrng
crw------- 1 root root 89, 0 août 26 22:00 i2c-0
crw------- 1 root root 89, 1 août 26 22:00 i2c-1
crw------- 1 root root 89, 2 août 26 22:00 i2c-2
crw------- 1 root root 89, 3 août 26 22:00 i2c-3
crw------- 1 root root 89, 4 août 26 22:00 i2c-4
lrwxrwxrwx 1 root root 25 août 26 22:00 initctl -> /run/systemd/initctl/fifo
drwxr-xr-x 4 root root 380 août 26 22:00 input
crw-r--r-- 1 root root 1, 11 août 26 22:00 kmsg
crw-rw----+ 1 root root 10, 232 août 26 22:00 kvm
drwxr-xr-x 2 root root 60 août 26 22:00 lightnvm
lrwxrwxrwx 1 root root 28 août 26 22:00 log -> /run/systemd/journal/dev-log
brw-rw---- 1 root disk 7, 0 août 26 22:00 loop0
brw-rw---- 1 root disk 7, 1 août 26 22:00 loop1
brw-rw---- 1 root disk 7, 2 août 26 22:00 loop2
brw-rw---- 1 root disk 7, 3 août 26 22:00 loop3
brw-rw---- 1 root disk 7, 4 août 26 22:00 loop4
brw-rw---- 1 root disk 7, 5 août 26 22:00 loop5
brw-rw---- 1 root disk 7, 6 août 26 22:00 loop6
brw-rw---- 1 root disk 7, 7 août 26 22:00 loop7
crw-rw---- 1 root disk 10, 237 août 26 22:00 loop-control
drwxr-xr-x 2 root root 60 août 26 22:00 mapper
crw------- 1 root root 10, 227 août 26 22:00 mcelog
crw------- 1 root root 245, 0 août 26 22:00 media0
crw------- 1 root root 246, 0 août 26 22:00 mei0
crw-r----- 1 root kmem 1, 1 août 26 22:00 mem
crw------- 1 root root 10, 56 août 26 22:00 memory_bandwidth
drwxrwxrwt 2 root root 40 août 26 22:00 mqueue
drwxr-xr-x 2 root root 60 août 26 22:00 net
crw------- 1 root root 10, 58 août 26 22:00 network_latency
crw------- 1 root root 10, 57 août 26 22:00 network_throughput
crw-rw-rw- 1 root root 1, 3 août 26 22:00 null
crw-r----- 1 root kmem 1, 4 août 26 22:00 port
crw------- 1 root root 108, 0 août 26 22:00 ppp
crw------- 1 root root 10, 1 août 26 22:00 psaux
crw-rw-rw- 1 root tty 5, 2 août 26 22:14 ptmx
drwxr-xr-x 2 root root 0 août 26 22:00 pts
crw-rw-rw- 1 root root 1, 8 août 26 22:00 random
crw-rw-r--+ 1 root netdev 10, 62 août 26 22:00 rfkill
lrwxrwxrwx 1 root root 4 août 26 22:00 rtc -> rtc0
crw------- 1 root root 251, 0 août 26 22:00 rtc0
brw-rw---- 1 root disk 8, 0 août 26 22:00 sda
brw-rw---- 1 root disk 8, 1 août 26 22:00 sda1
brw-rw---- 1 root disk 8, 2 août 26 22:00 sda2
brw-rw---- 1 root disk 8, 3 août 26 22:00 sda3
brw-rw---- 1 root disk 8, 16 août 26 22:00 sdb
crw-rw---- 1 root disk 21, 0 août 26 22:00 sg0
crw-rw---- 1 root disk 21, 1 août 26 22:00 sg1
crw-rw----+ 1 root cdrom 21, 2 août 26 22:00 sg2
drwxrwxrwt 2 root root 220 août 26 22:13 shm
crw------- 1 root root 10, 231 août 26 22:00 snapshot
drwxr-xr-x 3 root root 260 août 26 22:00 snd
brw-rw----+ 1 root cdrom 11, 0 août 26 22:00 sr0
lrwxrwxrwx 1 root root 15 août 26 22:00 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 août 26 22:00 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 août 26 22:00 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root tty 5, 0 août 26 22:00 tty
crw--w---- 1 root tty 4, 0 août 26 22:00 tty0
crw--w---- 1 root tty 4, 1 août 26 22:00 tty1
crw--w---- 1 root tty 4, 10 août 26 22:00 tty10
crw--w---- 1 root tty 4, 11 août 26 22:00 tty11
crw--w---- 1 root tty 4, 12 août 26 22:00 tty12
crw--w---- 1 root tty 4, 13 août 26 22:00 tty13
crw--w---- 1 root tty 4, 14 août 26 22:00 tty14
crw--w---- 1 root tty 4, 15 août 26 22:00 tty15
crw--w---- 1 root tty 4, 16 août 26 22:00 tty16
crw--w---- 1 root tty 4, 17 août 26 22:00 tty17
crw--w---- 1 root tty 4, 18 août 26 22:00 tty18
crw--w---- 1 root tty 4, 19 août 26 22:00 tty19
crw--w---- 1 root tty 4, 2 août 26 22:00 tty2
crw--w---- 1 root tty 4, 20 août 26 22:00 tty20
crw--w---- 1 root tty 4, 21 août 26 22:00 tty21
crw--w---- 1 root tty 4, 22 août 26 22:00 tty22
crw--w---- 1 root tty 4, 23 août 26 22:00 tty23
crw--w---- 1 root tty 4, 24 août 26 22:00 tty24
crw--w---- 1 root tty 4, 25 août 26 22:00 tty25
crw--w---- 1 root tty 4, 26 août 26 22:00 tty26
crw--w---- 1 root tty 4, 27 août 26 22:00 tty27
crw--w---- 1 root tty 4, 28 août 26 22:00 tty28
crw--w---- 1 root tty 4, 29 août 26 22:00 tty29
crw--w---- 1 root tty 4, 3 août 26 22:00 tty3
crw--w---- 1 root tty 4, 30 août 26 22:00 tty30
crw--w---- 1 root tty 4, 31 août 26 22:00 tty31
crw--w---- 1 root tty 4, 32 août 26 22:00 tty32
crw--w---- 1 root tty 4, 33 août 26 22:00 tty33
crw--w---- 1 root tty 4, 34 août 26 22:00 tty34
crw--w---- 1 root tty 4, 35 août 26 22:00 tty35
crw--w---- 1 root tty 4, 36 août 26 22:00 tty36
crw--w---- 1 root tty 4, 37 août 26 22:00 tty37
crw--w---- 1 root tty 4, 38 août 26 22:00 tty38
crw--w---- 1 root tty 4, 39 août 26 22:00 tty39
crw--w---- 1 root tty 4, 4 août 26 22:00 tty4
crw--w---- 1 root tty 4, 40 août 26 22:00 tty40
crw--w---- 1 root tty 4, 41 août 26 22:00 tty41
crw--w---- 1 root tty 4, 42 août 26 22:00 tty42
crw--w---- 1 root tty 4, 43 août 26 22:00 tty43
crw--w---- 1 root tty 4, 44 août 26 22:00 tty44
crw--w---- 1 root tty 4, 45 août 26 22:00 tty45
crw--w---- 1 root tty 4, 46 août 26 22:00 tty46
crw--w---- 1 root tty 4, 47 août 26 22:00 tty47
crw--w---- 1 root tty 4, 48 août 26 22:00 tty48
crw--w---- 1 root tty 4, 49 août 26 22:00 tty49
crw--w---- 1 root tty 4, 5 août 26 22:00 tty5
crw--w---- 1 root tty 4, 50 août 26 22:00 tty50
crw--w---- 1 root tty 4, 51 août 26 22:00 tty51
crw--w---- 1 root tty 4, 52 août 26 22:00 tty52
crw--w---- 1 root tty 4, 53 août 26 22:00 tty53
crw--w---- 1 root tty 4, 54 août 26 22:00 tty54
crw--w---- 1 root tty 4, 55 août 26 22:00 tty55
crw--w---- 1 root tty 4, 56 août 26 22:00 tty56
crw--w---- 1 root tty 4, 57 août 26 22:00 tty57
crw--w---- 1 root tty 4, 58 août 26 22:00 tty58
crw--w---- 1 root tty 4, 59 août 26 22:00 tty59
crw--w---- 1 root tty 4, 6 août 26 22:00 tty6
crw--w---- 1 root tty 4, 60 août 26 22:00 tty60
crw--w---- 1 root tty 4, 61 août 26 22:00 tty61
crw--w---- 1 root tty 4, 62 août 26 22:00 tty62
crw--w---- 1 root tty 4, 63 août 26 22:00 tty63
crw--w---- 1 root tty 4, 7 août 26 22:00 tty7
crw--w---- 1 root tty 4, 8 août 26 22:00 tty8
crw--w---- 1 root tty 4, 9 août 26 22:00 tty9
crw------- 1 root root 5, 3 août 26 22:00 ttyprintk
crw-rw---- 1 root dialout 4, 64 août 26 22:00 ttyS0
crw-rw---- 1 root dialout 4, 65 août 26 22:00 ttyS1
crw-rw---- 1 root dialout 4, 74 août 26 22:00 ttyS10
crw-rw---- 1 root dialout 4, 75 août 26 22:00 ttyS11
crw-rw---- 1 root dialout 4, 76 août 26 22:00 ttyS12
crw-rw---- 1 root dialout 4, 77 août 26 22:00 ttyS13
crw-rw---- 1 root dialout 4, 78 août 26 22:00 ttyS14
crw-rw---- 1 root dialout 4, 79 août 26 22:00 ttyS15
crw-rw---- 1 root dialout 4, 80 août 26 22:00 ttyS16
crw-rw---- 1 root dialout 4, 81 août 26 22:00 ttyS17
crw-rw---- 1 root dialout 4, 82 août 26 22:00 ttyS18
crw-rw---- 1 root dialout 4, 83 août 26 22:00 ttyS19
crw-rw---- 1 root dialout 4, 66 août 26 22:00 ttyS2
crw-rw---- 1 root dialout 4, 84 août 26 22:00 ttyS20
crw-rw---- 1 root dialout 4, 85 août 26 22:00 ttyS21
crw-rw---- 1 root dialout 4, 86 août 26 22:00 ttyS22
crw-rw---- 1 root dialout 4, 87 août 26 22:00 ttyS23
crw-rw---- 1 root dialout 4, 88 août 26 22:00 ttyS24
crw-rw---- 1 root dialout 4, 89 août 26 22:00 ttyS25
crw-rw---- 1 root dialout 4, 90 août 26 22:00 ttyS26
crw-rw---- 1 root dialout 4, 91 août 26 22:00 ttyS27
crw-rw---- 1 root dialout 4, 92 août 26 22:00 ttyS28
crw-rw---- 1 root dialout 4, 93 août 26 22:00 ttyS29
crw-rw---- 1 root dialout 4, 67 août 26 22:00 ttyS3
crw-rw---- 1 root dialout 4, 94 août 26 22:00 ttyS30
crw-rw---- 1 root dialout 4, 95 août 26 22:00 ttyS31
crw-rw---- 1 root dialout 4, 68 août 26 22:00 ttyS4
crw-rw---- 1 root dialout 4, 69 août 26 22:00 ttyS5
crw-rw---- 1 root dialout 4, 70 août 26 22:00 ttyS6
crw-rw---- 1 root dialout 4, 71 août 26 22:00 ttyS7
crw-rw---- 1 root dialout 4, 72 août 26 22:00 ttyS8
crw-rw---- 1 root dialout 4, 73 août 26 22:00 ttyS9
crw------- 1 root root 10, 239 août 26 22:00 uhid
crw------- 1 root root 10, 223 août 26 22:00 uinput
crw-rw-rw- 1 root root 1, 9 août 26 22:00 urandom
crw------- 1 root root 10, 240 août 26 22:00 userio
drwxr-xr-x 4 root root 80 août 26 22:00 v4l
crw-rw---- 1 root tty 7, 0 août 26 22:00 vcs
crw-rw---- 1 root tty 7, 1 août 26 22:00 vcs1
crw-rw---- 1 root tty 7, 2 août 26 22:00 vcs2
crw-rw---- 1 root tty 7, 3 août 26 22:00 vcs3
crw-rw---- 1 root tty 7, 4 août 26 22:00 vcs4
crw-rw---- 1 root tty 7, 5 août 26 22:00 vcs5
crw-rw---- 1 root tty 7, 6 août 26 22:00 vcs6
crw-rw---- 1 root tty 7, 128 août 26 22:00 vcsa
crw-rw---- 1 root tty 7, 129 août 26 22:00 vcsa1
crw-rw---- 1 root tty 7, 130 août 26 22:00 vcsa2
crw-rw---- 1 root tty 7, 131 août 26 22:00 vcsa3
crw-rw---- 1 root tty 7, 132 août 26 22:00 vcsa4
crw-rw---- 1 root tty 7, 133 août 26 22:00 vcsa5
crw-rw---- 1 root tty 7, 134 août 26 22:00 vcsa6
drwxr-xr-x 2 root root 60 août 26 22:00 vfio
crw------- 1 root root 10, 63 août 26 22:00 vga_arbiter
crw------- 1 root root 10, 137 août 26 22:00 vhci
crw------- 1 root root 10, 238 août 26 22:00 vhost-net
crw-rw----+ 1 root video 81, 0 août 26 22:00 video0
crw-rw-rw- 1 root root 1, 5 août 26 22:00 zero
Modération : merci à l'avenir d'utiliser les balises code (explications ici).
Dernière modification par cqfd93 (Le 26/08/2017, à 22:19)
Hors ligne
#6 Le 27/08/2017, à 10:05
- lann
Re : [Résolu]Utilisation Gpsbabel avec gps garmi etrex vista hcx
Je ne vois pas ton GPS dans la liste des périphériques détectés.
Tu peux me donner le retour des dernières lignes de
dmesg
après avoir branché et allumé ton GPS
Hors ligne
#7 Le 27/08/2017, à 10:29
- dpt
Re : [Résolu]Utilisation Gpsbabel avec gps garmi etrex vista hcx
Voici:
[ 4.490434] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[ 4.490621] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[ 4.550389] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[ 4.550560] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[ 4.564147] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 4.567867] IPv6: ADDRCONF(NETDEV_UP): enp2s0f1: link is not ready
[ 4.584903] r8169 0000:02:00.1 enp2s0f1: link down
[ 4.584953] IPv6: ADDRCONF(NETDEV_UP): enp2s0f1: link is not ready
[ 4.666447] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 5.319645] Bluetooth: RFCOMM TTY layer initialized
[ 5.319665] Bluetooth: RFCOMM socket layer initialized
[ 5.319669] Bluetooth: RFCOMM ver 1.11
[ 10.908699] wlp3s0: authenticate with 02:09:a5:dc:6c:a0
[ 10.912997] wlp3s0: send auth to 02:09:a5:dc:6c:a0 (try 1/3)
[ 10.916373] wlp3s0: authenticated
[ 10.916469] iwlwifi 0000:03:00.0 wlp3s0: disabling HT/VHT due to WEP/TKIP use
[ 10.916471] iwlwifi 0000:03:00.0 wlp3s0: disabling HT as WMM/QoS is not supported by the AP
[ 10.916472] iwlwifi 0000:03:00.0 wlp3s0: disabling VHT as WMM/QoS is not supported by the AP
[ 10.918708] wlp3s0: associate with 02:09:a5:dc:6c:a0 (try 1/3)
[ 10.920819] wlp3s0: RX AssocResp from 02:09:a5:dc:6c:a0 (capab=0x411 status=0 aid=4)
[ 10.921322] wlp3s0: associated
[ 10.921351] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
bernard@Portable1:~$
Dernière modification par Ayral (Le 27/08/2017, à 23:11)
Hors ligne
#9 Le 27/08/2017, à 19:27
- lann
Re : [Résolu]Utilisation Gpsbabel avec gps garmi etrex vista hcx
Pas de GPS en vue
Pour comparaison, moi j'ai ça:
[293384.716216] usb 2-3: new full-speed USB device number 11 using ohci-pci
[293384.930325] garmin_gps 2-3:1.0: Garmin GPS usb/tty converter detected
[293384.930722] usb 2-3: Garmin GPS usb/tty converter now attached to ttyUSB0
Hors ligne
#10 Le 27/08/2017, à 21:43
- dpt
Re : [Résolu]Utilisation Gpsbabel avec gps garmi etrex vista hcx
Bonsoir.
J'ai la solution: il suffit de lancer gebabbel par le terminal: sudo gebabbel
Il y a un bug avec l'interface qui est connu, voir :ici
Merci d'avoir consacré du temps à tenter de m'aider.
dpt
Hors ligne
#11 Le 27/08/2017, à 23:04
- vv221
Re : [Résolu]Utilisation Gpsbabel avec gps garmi etrex vista hcx
Salut !
Pour indiquer que ton souci est réglé, clique sur "Modifier" affiché en bas à droite de ton premier message et tu pourras modifier le titre en éditant le texte dans le champ "Sujet (obligatoire)". Il suffit alors que tu ajoutes "Résolu" au début du sujet et que tu valides en cliquant le bouton "Valider" en bas à gauche.
Pense bien à modifier le premier message et pas un autre pour pouvoir changer le sujet de cette discussion.
Jouer sur Ubuntu ? Facile !
Hors ligne
#12 Le 27/08/2017, à 23:13
- Ayral
Re : [Résolu]Utilisation Gpsbabel avec gps garmi etrex vista hcx
Modération : quand le nombre de caractères du sujet est trop important, impossible de rajouter [Résolu]. Dans ce cas il faut raccourcir le sujet pour que le tout rentre...
Pour mettre les retours de commande entre deux balises code, les explications sont là : https://forum.ubuntu-fr.org/viewtopic.php?id=1614731
Blog d'un retraité
Site de graphisme du fiston Loïc
Ubuntu 22.04 LTS sur un Thinkpad W540
Hors ligne