So possible workaround is to use different mtp option from #FUSE filesystems like go-mtpfs for such directories or somehow change file naming policy of your phone camera (or switch to another camera app like Open Camera for example). There are several tickets ( one, two and etc) and questions ( one, two) about it. Samsung phones for example like to create files with such names. It seems that it is caused by file with name like 20180915_180351(0).jpg. Possible and very probable reason is the bug of libmtp. In this case filemanager freezes and even in command line you cannot run even ls on that directory. Symptoms: everything works fine till moment of entering DCIM/Camera directory. Troubleshooting libmtp (gvfs-mtp): filemanager (nautilus, pcmanfm, vifm and etc) hangs on accessing DCIM/Camera of Android device cp, ls then look for gvfs own alternatives, ls -1 /usr/bin/gvfs-*. Note: If you getting limited access to the device and cannot use standard commands from command line such as e.g. The file managers with support for gvfs will be able to show MTP devices and mount them if supported by #libmtp but if has no support and cannot be opened then change settings in the phone to PTP and install gvfs-gphoto2 for having access at least to the photos, command line mounting of PTP is a little similar to mounting of the MTP devices: gio mount gphoto2:///. SUBSYSTEM="usb", ATTR="1", SYMLINK+="libmtp" It should be something like that:īus 003 Device 011: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone, GT-P7500 Īnd entry to /etc/udev/rules.d/les will be this: To achieve this, you might have to edit /etc/udev/rules.d/les (the MTP device used in the following example is a Galaxy Nexus). You can also use your MTP device in music players such as Amarok. It lets you connect to Android devices and manage files using a desktop agnostic GUI. You can transfer files using the mtp-connect command. If an error is returned, make sure your user is in the adbusers user group. Libmtp is a library MTP implementation, which also comes with some example command-line tools (which you can list using pacman -Ql libmtp). If you try to access your device while having an SD card and go-mtpfs complains, try removing the SD card and mounting again.)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |