Menu

#1878 Garmin Foretrex 601

1.1.16
pending
None
1
2021-12-13
2020-05-06
Anonymous
No

The Device Garmin Foretrex 601 freezes when connected to a Linux device with libmtp. If I add the shown line above '# Autoprobe vendor-specific, communication and PTP devices' it deos not block and is showing up as mass-strorage-device.

ATTR{idVendor}=="091e", ATTR{idProduct}=="0003", GOTO="libmtp_rules_end"

Discussion

  • Anonymous

    Anonymous - 2020-05-21

    lsusb -v gives:

    Bus 001 Device 029: ID 091e:0ad1 Garmin International 
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.00
      bDeviceClass            0 
      bDeviceSubClass         0 
      bDeviceProtocol         0 
      bMaxPacketSize0        64
      idVendor           0x091e Garmin International
      idProduct          0x0ad1 
      bcdDevice            5.09
      iManufacturer           0 
      iProduct                0 
      iSerial                 0 
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           32
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0x80
          (Bus Powered)
        MaxPower              500mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass         8 Mass Storage
          bInterfaceSubClass      6 SCSI
          bInterfaceProtocol     80 Bulk-Only
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x03  EP 3 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               0
    can't get device qualifier: Resource temporarily unavailable
    can't get debug descriptor: Resource temporarily unavailable
    Device Status:     0x0001
      Self Powered
    
     
  • Marcus Meissner

    Marcus Meissner - 2020-08-09

    I do not fully understand ... does the device first show up with the "091e",/ "0003" id?

     
  • Marcus Meissner

    Marcus Meissner - 2020-08-09
    • status: open --> pending
    • assigned_to: Marcus Meissner
     
  • Anonymous

    Anonymous - 2020-12-16

    I just hit the same issue. When I plug my Garmin Foretrex 601 in my Kubuntu 20.04, the gps freezes.
    As briefly explained on the first post, I installed the libmtp rules in udev directory:

    cp /lib/udev/rules.d/69-libmtp.rules /etc/udev/rules.d/69-libmtp.rules

    and then edited this file by adding:

    ATTR{idVendor}=="091e", ATTR{idProduct}=="0003", GOTO="libmtp_rules_end"

    (although the idVendor and idProduct should be the same, you can get/check them with lsusb after having plugged in your device).

    Add the previous line right after :

    Autoprobe vendor-specific, communication and PTP devices

    which is line 2684 in my config. So I get something like this in file /dev/udev/rules.d:

    Autoprobe vendor-specific, communication and PTP devices

    ATTR{idVendor}=="091e", ATTR{idProduct}=="0003", GOTO="libmtp_rules_end"
    ENV{ID_MTP_DEVICE}!="1", ENV{MTP_NO_PROBE}!="1", ENV{COLOR_MEASUREMENT_DEVICE}!="1", ENV{ID_GPHOTO}!="1", ENV{libsane_matched}!="yes", ATTR{bDeviceClass}=="00|02|06|ef|ff", PROGRAM="mtp-probe /sys$env{DEVPATH} $attr{busnum} $attr{devnum}", RESULT=="1", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

    LABEL="libmtp_rules_end"

    Then, issue a:

    sudo udevadm control --reload

    Plug the gps. It should not freeze anymore and the system should ask you if you want to mount it.
    Thank you, hope it helps.

     
  • Anonymous

    Anonymous - 2021-12-13

    I can observe the same (current openSUSE TUmbleweed, libmtp version 1.1.19). @Marcuss Meissner: do you need some more information on that Issue?

     

Anonymous
Anonymous

Add attachments
Cancel