{"id":2015,"date":"2024-06-28T15:35:53","date_gmt":"2024-06-28T13:35:53","guid":{"rendered":"https:\/\/hannes.enjoys.it\/blog\/?p=2015"},"modified":"2024-06-28T15:37:00","modified_gmt":"2024-06-28T13:37:00","slug":"copying-files-to-a-fenix-6s-on-archlinux","status":"publish","type":"post","link":"https:\/\/hannes.enjoys.it\/blog\/2024\/06\/copying-files-to-a-fenix-6s-on-archlinux\/","title":{"rendered":"Copying files to a Fenix 6S on Archlinux"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Make sure its USB mode is set to MTP mode, not Garmin mode.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Watch <code>dmesg<\/code> to see when the device is connected and ready:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>[Fri Jun 28 15:27:59 2024] usb 1-2.1: new high-speed USB device number 36 using xhci_hcd<br>[Fri Jun 28 15:27:59 2024] usb 1-2.1: New USB device found, idVendor=091e, idProduct=CENSORED, bcdDevice= 0.01<br>[Fri Jun 28 15:27:59 2024] usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=5<br>[Fri Jun 28 15:27:59 2024] usb 1-2.1: SerialNumber: CENSORED<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use <code>lsusb<\/code> to verify:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Bus 001 Device 036: ID 091e:CENSORED Garmin International<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>android-file-transfer<\/code>\/<code>aft-mtp-mount<\/code> will not enable to you to write files on to it, instead it will show <code>your device does not have android EditObject extension, you will not be able to write into individual files<\/code> if you mount with it and creating files will lead to <code>cannot create regular file<\/code> errors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use <a href=\"https:\/\/aur.archlinux.org\/packages\/simple-mtpfs\">simple-mtpfs<\/a> instead (<a href=\"https:\/\/bbs.archlinux.org\/viewtopic.php?id=228874\">via<\/a>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>simple-mtpfs --list-devices<\/code> should list<br><code>1: GarminFenix 6S Pro\/Sapphire<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mount it: <code>simple-mtpfs \/tmp\/mnt<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Copy something: <code>cp -v some_file \/tmp\/mnt\/GARMIN\/<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unmount it: <code>fusermount -u \/tmp\/mnt<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wait for the clock to be ready.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Done!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Make sure its USB mode is set to MTP mode, not Garmin mode. Watch dmesg to see when the device is connected and ready: [Fri Jun 28 15:27:59 2024] usb 1-2.1: new high-speed USB device number 36 using xhci_hcd[Fri Jun 28 15:27:59 2024] usb 1-2.1: New USB device found, idVendor=091e, idProduct=CENSORED, bcdDevice= 0.01[Fri Jun 28 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2015","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/posts\/2015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/comments?post=2015"}],"version-history":[{"count":3,"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/posts\/2015\/revisions"}],"predecessor-version":[{"id":2018,"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/posts\/2015\/revisions\/2018"}],"wp:attachment":[{"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/media?parent=2015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/categories?post=2015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/tags?post=2015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}