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"
Anonymous
lsusb -v gives:
I do not fully understand ... does the device first show up with the "091e",/ "0003" id?
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.
I can observe the same (current openSUSE TUmbleweed, libmtp version 1.1.19). @Marcuss Meissner: do you need some more information on that Issue?