You are not logged in.

#1 2023-12-03 10:25:07

vdelecroix
Member
Registered: 2017-02-26
Posts: 14

Mounting Garmin Forerunner 255

Hello,

I would like to be able to read/write the memory of my Garmin Forerunner 255 on my computer in order to copy activity from the watch and gps tracks to the watch. The watch is connected via USB cable to the computer. I used to be able to see the memory as a standard disk when using ubuntu 22.04 with Unity desktop. More precisely, using the latter an icon appears when the cable is plugged in and one can mount the device. I would like to be able to do the same in my laptop with archlinux installed (though the icon does not matter, I just would like to mount it as a standard disk).

When I plug the watch on my laptop with archlinux installed I see the following messages (dmesg)

[54944.903745] usb 3-6: new high-speed USB device number 41 using xhci_hcd
[54945.044635] usb 3-6: New USB device found, idVendor=091e, idProduct=0003, bcdDevice= 0.01
[54945.044645] usb 3-6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[54945.047473] garmin_gps 3-6:1.0: Garmin GPS usb/tty converter detected
[54945.047664] usb 3-6: Garmin GPS usb/tty converter now attached to ttyUSB0
[54951.267829] usb 3-6: USB disconnect, device number 41
[54951.268872] garmin_gps ttyUSB0: Garmin GPS usb/tty converter now disconnected from ttyUSB0
[54951.268938] garmin_gps 3-6:1.0: device disconnected

Up to 54951.267829 everything looks normal. What I do not understand is why after roughly 5sec the device is automatically disconnected. Between 54945.047664 and 54951.267829 I am able to see a /dev/ttyUSB device that suddenly disappears even though the watch remains plugged.

I was not able to find any relevant information in other posts.

Last edited by vdelecroix (2023-12-03 14:12:59)

Offline

#2 2023-12-03 11:26:05

xerxes_
Member
Registered: 2018-04-29
Posts: 648

Re: Mounting Garmin Forerunner 255

Do you see it in commands: 'lsusb' , 'lsblk -f' also 'usb-devices' , 'journalctl -b -e' ?

Offline

#3 2023-12-03 12:10:54

vdelecroix
Member
Registered: 2017-02-26
Posts: 14

Re: Mounting Garmin Forerunner 255

lsusb

Bus 001 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 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 30c9:0095 Luxvisions Innotech Limited HP 5MP Camera
Bus 003 Device 004: ID 8087:0033 Intel Corp. AX211 Bluetooth
Bus 003 Device 046: ID 091e:4f98 Garmin International 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

lsblk -f

NAME        FSTYPE      FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
nvme0n1                                                                                 
├─nvme0n1p1 vfat        FAT32       A685-0C57                             905.6M    11% /boot
└─nvme0n1p2 crypto_LUKS 2           f2016f3a-fb2e-4d98-89c6-8e7302fe8839                
  └─root    ext4        1.0         700b44f4-80a6-4140-9bdc-b336e1d25183    747G    15% /

usb-devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=06.06
S:  Manufacturer=Linux 6.6.3-arch1-1 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:0d.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=20000 MxCh= 3
D:  Ver= 3.10 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=06.06
S:  Manufacturer=Linux 6.6.3-arch1-1 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:0d.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh=12
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=06.06
S:  Manufacturer=Linux 6.6.3-arch1-1 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:14.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
D:  Ver= 2.01 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=30c9 ProdID=0095 Rev=00.06
S:  Manufacturer=DQYGK0A9IHT0AN
S:  Product=HP 5MP Camera
S:  SerialNumber=200901010001
C:  #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
E:  Ad=83(I) Atr=03(Int.) MxPS=  32 Ivl=4ms
I:  If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
I:  If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=(none)

T:  Bus=03 Lev=01 Prnt=02 Port=09 Cnt=01 Dev#=  4 Spd=12   MxCh= 0
D:  Ver= 2.01 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=8087 ProdID=0033 Rev=00.00
C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms

T:  Bus=03 Lev=01 Prnt=04 Port=05 Cnt=01 Dev#= 46 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=091e ProdID=4f98 Rev=00.01
S:  SerialNumber=0000cd57692d
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=(none)
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=125us

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=10000 MxCh= 4
D:  Ver= 3.10 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=06.06
S:  Manufacturer=Linux 6.6.3-arch1-1 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:14.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

journalctl -b -e

Dec 03 13:09:38 mangouste kernel: usb 3-6: USB disconnect, device number 49
Dec 03 13:09:38 mangouste kernel: garmin_gps ttyUSB0: Garmin GPS usb/tty converter now disconnected from ttyUSB0
Dec 03 13:09:38 mangouste kernel: garmin_gps 3-6:1.0: device disconnected
Dec 03 13:09:39 mangouste kernel: usb 3-6: new high-speed USB device number 50 using xhci_hcd
Dec 03 13:09:39 mangouste kernel: usb 3-6: New USB device found, idVendor=091e, idProduct=4f98, bcdDevice= 0.01
Dec 03 13:09:39 mangouste kernel: usb 3-6: New USB device strings: Mfr=0, Product=0, SerialNumber=5
Dec 03 13:09:39 mangouste kernel: usb 3-6: SerialNumber: 0000cd57692d
Dec 03 13:09:44 mangouste dbus-daemon[580]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.192' (uid=0 pid=6166 comm="sudo journalctl -b -e")
Dec 03 13:09:44 mangouste dbus-daemon[580]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Dec 03 13:09:44 mangouste sudo[6166]:  vincent : TTY=pts/2 ; PWD=/home/vincent ; USER=root ; COMMAND=/usr/bin/journalctl -b -e
Dec 03 13:09:44 mangouste sudo[6166]: pam_unix(sudo:session): session opened for user root(uid=0) by vincent(uid=1000)

Last edited by vdelecroix (2023-12-03 14:13:36)

Offline

#4 2023-12-03 12:50:57

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,636

Re: Mounting Garmin Forerunner 255

Please edit your posts and use [ code ] tags (not quote tags) when posting output. This makes the output easier to read and provides a scroll box for long output.

https://wiki.archlinux.org/title/Genera … s_and_code
https://bbs.archlinux.org/help.php#bbcode


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#5 2023-12-03 13:14:18

xerxes_
Member
Registered: 2018-04-29
Posts: 648

Re: Mounting Garmin Forerunner 255

It looks like for some reason no driver is loaded for Garmin, but there is garmin_gps module in current kernel. For more information read here:
https://wiki.openstreetmap.org/wiki/USB … _GNU/Linux
but remember that you have Archlinux distro.

Offline

#6 2023-12-03 15:26:24

vdelecroix
Member
Registered: 2017-02-26
Posts: 14

Re: Mounting Garmin Forerunner 255

xerxes_ wrote:

It looks like for some reason no driver is loaded for Garmin, but there is garmin_gps module in current kernel. For more information read here:
https://wiki.openstreetmap.org/wiki/USB … _GNU/Linux
but remember that you have Archlinux distro.

Thanks for the suggestion. This is also the first link I found when googling "garmin linux". Though I do not understand how it is relevant to my question (which is mounting the memory of the watch as a disk) whereas the link describes how to use the garmin device as a GPS (somehow interactively). If you can be a bit more explicit I would appreciate.

Offline

Board footer

Powered by FluxBB