{"id":2609,"date":"2016-06-25T15:35:22","date_gmt":"2016-06-25T14:35:22","guid":{"rendered":"http:\/\/olivier.hoarau.org\/?p=2609"},"modified":"2016-06-25T15:35:22","modified_gmt":"2016-06-25T14:35:22","slug":"changer-la-voix-de-son-gps-tomtom-sous-linux","status":"publish","type":"post","link":"https:\/\/olivier.hoarau.org\/?p=2609","title":{"rendered":"Changer la voix de son GPS TomTom sous linux"},"content":{"rendered":"<p style=\"text-align: justify;\">On trouve pas mal d&rsquo;articles pour changer la voix sur un GPS TomTom mais tous les articles en question proposent la manip sous windows. Alors pour \u00e9quilibrer, voil\u00e0 comment on s&rsquo;y prend sous linux avec un GPS TomTom Via 135.<\/p>\n<p style=\"text-align: justify;\">Tout d&rsquo;abord on cr\u00e9era les 59 fichiers son au format Ogg Vorbis comme c&rsquo;est expliqu\u00e9 <a href=\"http:\/\/www.tomtomax.fr\/tomtom-creation-voix-navigation.html#enregistrement-voix\">ici<\/a>. De la m\u00eame mani\u00e8re sous linux on utilisera audacity. On retrouve nos 59 fichiers <strong>.ogg<\/strong> qu&rsquo;on placera dans un r\u00e9pertoire particulier. Ensuite on r\u00e9cup\u00e8rera le fichier python <strong>viftool<\/strong> qu&rsquo;on trouvera <a href=\"https:\/\/www.ghostwheel.de\/viftool\/\">l\u00e0<\/a>. On le place dans le r\u00e9pertoire de fichiers son dans lequel on tape dans un shell la commande suivante:<\/p>\n<blockquote>\n<p style=\"text-align: justify;\">python viftool.1.3.py join 90 name data90.chk<\/p>\n<\/blockquote>\n<p style=\"text-align: justify;\">j&rsquo;ai eu une petite erreur sur un fichier son que j&rsquo;ai d\u00fb renommer comme ceci<\/p>\n<blockquote>\n<p style=\"text-align: justify;\">mv Uturn.ogg UTurn.ogg<\/p>\n<\/blockquote>\n<p style=\"text-align: justify;\">et voil\u00e0 le r\u00e9sultat final de la commande<\/p>\n<blockquote>\n<p style=\"text-align: justify;\">Gathering sound files&#8230;<br \/>\nCreating vif file&#8230;<br \/>\nCreating chk file&#8230;<br \/>\nTraceback (most recent call last):<br \/>\nFile \u00ab\u00a0..\/viftool.1.3.py\u00a0\u00bb, line 259, in &lt;module&gt;<br \/>\njoin(*sys.argv[2:5])<br \/>\nFile \u00ab\u00a0..\/viftool.1.3.py\u00a0\u00bb, line 238, in join<br \/>\nout.write(struct.pack(&lsquo;&gt;BBHLLL&rsquo;, 1, 0, (elen+12+pad)&gt;&gt;2, 1, 8, elen))<br \/>\nstruct.error: &lsquo;H&rsquo; format requires 0 &lt;= number &lt;= 65535<\/p>\n<\/blockquote>\n<p style=\"text-align: justify;\">il y a une erreur ? C&rsquo;est pas grave, on obtient le fichier<strong> .chk<\/strong> voulu. On cr\u00e9\u00e9 maintenant un fichier <strong>data90.vif<\/strong> qui va contenir<\/p>\n<blockquote>\n<p style=\"text-align: justify;\">Fran\u00e7ais &#8211; Olivier<br \/>\ndata90.chk<br \/>\nOlivier<br \/>\n2<br \/>\n3<br \/>\n113<br \/>\n3<\/p>\n<\/blockquote>\n<p style=\"text-align: justify;\">et on cr\u00e9era avec <strong>gimp<\/strong> une ic\u00f4ne de notre personnage au format<strong> .bmp<\/strong> d&rsquo;une taille de 160&#215;160 pixels qu&rsquo;on nommera <strong>data90.bmp<\/strong>.\u00a0 On cr\u00e9era un fichier<strong> .zip<\/strong> contenant nos trois fichiers <strong>data90.chk<\/strong>, <strong>data90.vif<\/strong> et <strong>data90.bmp<\/strong>.<\/p>\n<p style=\"text-align: justify;\">Maintenant quand on branche le GPS, voil\u00e0 le r\u00e9sultat avec un <strong>journalctl -f<\/strong>.<\/p>\n<blockquote>\n<p style=\"text-align: justify;\">juin 15 18:07:13 uapou.kervao.fr kernel: usb 2-1.1: new high-speed USB device number 6 using ehci-pci<br \/>\njuin 15 18:07:14 uapou.kervao.fr kernel: usb 2-1.1: New USB device found, idVendor=1390, idProduct=5454<br \/>\njuin 15 18:07:14 uapou.kervao.fr kernel: usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br \/>\njuin 15 18:07:14 uapou.kervao.fr kernel: usb 2-1.1: Product: TomTom<br \/>\njuin 15 18:07:14 uapou.kervao.fr kernel: usb 2-1.1: Manufacturer: Linux 2.6.28.10 with dwc_otg_pcd<br \/>\njuin 15 18:07:14 uapou.kervao.fr kernel: usb 2-1.1: SerialNumber: BP4365D00367<br \/>\njuin 15 18:07:14 uapou.kervao.fr kernel: cdc_ether 2-1.1:2.0 usb0: register &lsquo;cdc_ether&rsquo; at usb-0000:00:1d.0-1.1, CDC Ethernet Device, 02:04:06:08:0a<br \/>\n:0c<br \/>\njuin 15 18:07:14 uapou.kervao.fr mtp-probe[3890]: checking bus 2, device 6: \u00ab\u00a0\/sys\/devices\/pci0000:00\/0000:00:1d.0\/usb2\/2-1\/2-1.1\u00a0\u00bb<br \/>\njuin 15 18:07:14 uapou.kervao.fr mtp-probe[3890]: bus: 2, device: 6 was not an MTP device<br \/>\njuin 15 18:07:14 uapou.kervao.fr kernel: cdc_ether 2-1.1:2.0 enp0s29u1u1c2: renamed from usb0<br \/>\njuin 15 18:07:14 uapou.kervao.fr systemd-networkd[928]: usb0 : renamed to enp0s29u1u1c2<br \/>\njuin 15 18:07:14 uapou.kervao.fr ifplugd(enp0s29u1u1c2)[3935]: ifplugd 0.28 initializing.<br \/>\njuin 15 18:07:14 uapou.kervao.fr ifplugd(enp0s29u1u1c2)[3935]: Using interface enp0s29u1u1c2\/02:04:06:08:0A:0C with driver &lt;cdc_ether&gt; (version: 22-<br \/>\nAug-2005)<br \/>\njuin 15 18:07:14 uapou.kervao.fr ifplugd(enp0s29u1u1c2)[3935]: Using detection mode: SIOCETHTOOL<br \/>\njuin 15 18:07:14 uapou.kervao.fr ifplugd(enp0s29u1u1c2)[3935]: Initialization complete, link beat detected.<br \/>\njuin 15 18:07:14 uapou.kervao.fr ifplugd(enp0s29u1u1c2)[3935]: Executing &lsquo;\/etc\/ifplugd\/ifplugd.action enp0s29u1u1c2 up&rsquo;.<br \/>\njuin 15 18:07:14 uapou.kervao.fr kernel: cdc_ether 2-1.1:2.0 enp0s29u1u1c2: kevent 12 may have been dropped<br \/>\njuin 15 18:07:14 uapou.kervao.fr systemd-sysctl[3937]: Overwriting earlier assignment of kernel\/sysrq in file &lsquo;\/etc\/sysctl.d\/51-alt-sysrq.conf&rsquo;.<br \/>\njuin 15 18:07:14 uapou.kervao.fr systemd-networkd[928]: enp0s29u1u1c2 : gained carrier<br \/>\njuin 15 18:07:15 uapou.kervao.fr dhclient[3977]: DHCPREQUEST on enp0s29u1u1c2 to 255.255.255.255 port 67<br \/>\njuin 15 18:07:15 uapou.kervao.fr dhclient[3977]: DHCPACK from 169.254.255.1<br \/>\njuin 15 18:07:15 uapou.kervao.fr avahi-daemon[840]: Joining mDNS multicast group on interface enp0s29u1u1c2.IPv4 with address 169.254.255.2.<br \/>\njuin 15 18:07:15 uapou.kervao.fr kernel: cdc_ether 2-1.1:2.0 enp0s29u1u1c2: kevent 12 may have been dropped<br \/>\njuin 15 18:07:15 uapou.kervao.fr avahi-daemon[840]: New relevant interface enp0s29u1u1c2.IPv4 for mDNS.<br \/>\njuin 15 18:07:15 uapou.kervao.fr avahi-daemon[840]: Registering new address record for 169.254.255.2 on enp0s29u1u1c2.IPv4.<br \/>\njuin 15 18:07:15 uapou.kervao.fr avahi-daemon[840]: Withdrawing address record for 169.254.255.2 on enp0s29u1u1c2.<br \/>\njuin 15 18:07:15 uapou.kervao.fr avahi-daemon[840]: Leaving mDNS multicast group on interface enp0s29u1u1c2.IPv4 with address 169.254.255.2.<br \/>\njuin 15 18:07:15 uapou.kervao.fr avahi-daemon[840]: Interface enp0s29u1u1c2.IPv4 no longer relevant for mDNS.<br \/>\njuin 15 18:07:15 uapou.kervao.fr avahi-daemon[840]: Joining mDNS multicast group on interface enp0s29u1u1c2.IPv4 with address 169.254.255.2.<br \/>\njuin 15 18:07:15 uapou.kervao.fr avahi-daemon[840]: New relevant interface enp0s29u1u1c2.IPv4 for mDNS.<br \/>\njuin 15 18:07:15 uapou.kervao.fr avahi-daemon[840]: Registering new address record for 169.254.255.2 on enp0s29u1u1c2.IPv4.<br \/>\njuin 15 18:07:15 uapou.kervao.fr kernel: cdc_ether 2-1.1:2.0 enp0s29u1u1c2: kevent 12 may have been dropped<br \/>\njuin 15 18:07:15 uapou.kervao.fr kernel: cdc_ether 2-1.1:2.0 enp0s29u1u1c2: kevent 12 may have been dropped<br \/>\njuin 15 18:07:15 uapou.kervao.fr avahi-daemon[840]: Registering new address record for fe80::4:6ff:fe08:a0c on enp0s29u1u1c2.*.<br \/>\njuin 15 18:07:15 uapou.kervao.fr dhclient[3977]: bound to 169.254.255.2 &#8212; renewal in 41911 seconds.<br \/>\njuin 15 18:07:15 uapou.kervao.fr ifplugd(enp0s29u1u1c2)[3935]: client: Determining IP information for enp0s29u1u1c2&#8230; done.<\/p>\n<\/blockquote>\n<p style=\"text-align: justify;\">on constate que le GPS est accessible via le r\u00e9seau, on y acc\u00e8de simpplement via un navigateur en tapant comme URL <strong>http:\/\/169.254.255.1\/pcmi\/?locale=fr_fr<\/strong> et voici ce que \u00e7a donne<\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/olivier.hoarau.org\/?attachment_id=2610\" rel=\"attachment wp-att-2610\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2610\" src=\"https:\/\/i0.wp.com\/olivier.hoarau.org\/wp-content\/uploads\/tomtom.jpg?resize=474%2C253\" alt=\"tomtom\" width=\"474\" height=\"253\" srcset=\"https:\/\/i0.wp.com\/olivier.hoarau.org\/wp-content\/uploads\/tomtom.jpg?w=1000&amp;ssl=1 1000w, https:\/\/i0.wp.com\/olivier.hoarau.org\/wp-content\/uploads\/tomtom.jpg?resize=300%2C160&amp;ssl=1 300w, https:\/\/i0.wp.com\/olivier.hoarau.org\/wp-content\/uploads\/tomtom.jpg?resize=768%2C409&amp;ssl=1 768w, https:\/\/i0.wp.com\/olivier.hoarau.org\/wp-content\/uploads\/tomtom.jpg?w=948&amp;ssl=1 948w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/a>il n&rsquo;y a plus qu&rsquo;\u00e0 parcourir dans l&rsquo;arborescence, choisir votre fichier <strong>.zip<\/strong> et l&rsquo;installer sur le GPS et le tour est jou\u00e9 !<\/p>\n<p style=\"text-align: justify;\">A noter que j&rsquo;ai d\u00fb d\u00e9sactiver le firewall <a href=\"http:\/\/www.funix.org\/fr\/linux\/index.php?ref=intrusions#Installer_un_firewall_avec_shorewall\">shorewall<\/a> le temps de me connecter sur le GPS en tapant:<\/p>\n<blockquote>\n<p style=\"text-align: justify;\">systemctl stop shorewall<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>On trouve pas mal d&rsquo;articles pour changer la voix sur un GPS TomTom mais tous les articles en question proposent la manip sous windows. Alors pour \u00e9quilibrer, voil\u00e0 comment on s&rsquo;y prend sous linux avec un GPS TomTom Via 135. Tout d&rsquo;abord on cr\u00e9era les 59 fichiers son au format Ogg Vorbis comme c&rsquo;est expliqu\u00e9 &hellip; <a href=\"https:\/\/olivier.hoarau.org\/?p=2609\" class=\"more-link\">Continuer la lecture de <span class=\"screen-reader-text\">Changer la voix de son GPS TomTom sous linux<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[5],"tags":[],"class_list":["post-2609","post","type-post","status-publish","format-standard","hentry","category-logiciels-libres"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/peOjJ-G5","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=\/wp\/v2\/posts\/2609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2609"}],"version-history":[{"count":1,"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=\/wp\/v2\/posts\/2609\/revisions"}],"predecessor-version":[{"id":2611,"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=\/wp\/v2\/posts\/2609\/revisions\/2611"}],"wp:attachment":[{"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}