这里 是一个有效的解决方案
在档案中 /lib/udev/rules.d/69-libmtp.rules
注释掉这条线
# Autoprobe vendor-specific, communication and PTP devices
ENV{ID_MTP_DEVICE}!="1", ENV{MTP_NO_PROBE}!="1", ENV{COLOR_MEASUREMENT_DEVICE}!="1", ENV{libsane_matched}!="yes", ATTR{bDeviceClass}=="00|02|06|ef|ff", PROGRAM="/usr/lib/udev/mtp-probe /sys$env{DEVPATH} $attr{busnum} $attr{devnum}", RESULT=="1", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
比你需要重装 udev
规则
# udevadm control --reload-rules && udevadm trigger
但对我来说这还不够,所以似乎需要重新启动。
相关主题和链接:
- https://unix.stackexchange.com/questions/26842/mounting-usb-drive-that-is-not-recognized
- 禁用特定设备的MTP udev规则,以便可以将其作为USB大容量存储设备安装
- https://bbs.archlinux.org/viewtopic.php?id=119676
- https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/874293
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626010