RPD is unmounting my smartphone when it is configured as MTP mode

Bug #1743274 reported by Andre Soares
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rapid Photo Downloader
Invalid
Undecided
Unassigned

Bug Description

Hi.

Revision history for this message
Damon Lynch (dlynch3) wrote :

Only one operating system process can access an MTP / PTP device at one time. It's either your file browser or Rapid Photo Downloader, but never both.

Changed in rapid:
status: New → Invalid
Revision history for this message
Andre Soares (soares-andre) wrote :

I am not able to download my photos when my smart phone is configured as MTP. It appears that RPD is unmounting my device when it tries to detect it automatically. I've attached the bug report. Works properly when I disable the automatic device detection and I am able to download my photos. In fact my smart phone has a addictional SD Card and my photos are saved in both storages (internal and external).

Any advice?

Changed in rapid:
status: Invalid → New
Revision history for this message
Damon Lynch (dlynch3) wrote :

It seems to me that you're confused about what's happening.

First, to repeat myself using different words, Rapid Photo Downloader must request GVFS to unmount the phone. There is no way around this. That's how MTP works using libmtp, which is what Linux uses.

Second, if you are are not seeing files on one of your phone's storage device that you expect to see, that means you've configured Rapid Photo Downloader incorrectly. See the option "Folders to scan" in the "Devices Scanning" section of the "Devices" panel in the program preferences.

Rapid Photo Downloader will not scan every folder on a phone's storage device because in practice it's a bad idea.

Changed in rapid:
status: New → Invalid
Revision history for this message
Andre Soares (soares-andre) wrote : Re: [Bug 1743274] Re: RPD is unmounting my smartphone when it is configured as MTP mode

Hi Damon.

Thank you for your fast answer and sorry for post a bug without details.

My issue is: When I open RPD in automatic device detection, it appears
that the RDP is unmounting my smartphone when it is in MTP mode before
access it. But if I disable the automatic device detection, it is able to
access my smartphone in MTP mode and I am able to download my photos.
Is this behavior normal? If it is normal, sorry for bothering you.

Thank you for this great software. I've helped to translate it into
Brazilian Portuguese. I will be waiting for the next release with our
language in it.

Best regards.

2018-01-14 23:01 GMT-02:00 Damon Lynch <email address hidden>:

> Only one operating system process can access an MTP / PTP device at one
> time. It's either your file browser or Rapid Photo Downloader, but never
> both.
>
> ** Changed in: rapid
> Status: New => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1743274
>
> Title:
> RPD is unmounting my smartphone when it is configured as MTP mode
>
> Status in Rapid Photo Downloader:
> New
>
> Bug description:
> Hi.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/rapid/+bug/1743274/+subscriptions
>

--
André Soares.

Revision history for this message
Andre Soares (soares-andre) wrote :

Hi.

Now I understood.

Thank you so much for your explanation.

Best regards.

Revision history for this message
Damon Lynch (dlynch3) wrote :

I'm glad you worked it out. And thank you for your translation efforts!

Revision history for this message
Andre Soares (soares-andre) wrote :

Hi Damon.

I was researching on the Internet about my issue and I think it would be a
good idea sharing my thoughts with you.

I found a bug report at Red Hat Bugzilla related to Fedora's *libmtp* library.
You can check here if you wish: https://bugzilla.redhat.
com/show_bug.cgi?id=1478580

The behavior reported by Fabrice appears almost the same that happens here
with me. As a result, Rapid Photo Downloader tries to unmount my
smartphone all the time and I need to disable the automatic device
detection to stop the errors pop-up. Furthermore, I didn't feel comfortable
enough to access my device manually.

So, I've avoided this by opening the program through a bash script: "pkill
-9 gvfsd-mtp && rapid-photo-downloader".

And it is working for me since them. My Android is correctly unmounted and
Rapid Photo Downloader can access it properly.

Thank you for your time helping me. I love Fedora and MATE, although hating
CAJA.

*(some tests about gio command)*
[andre@fedoranote ~] $ gio mount -l
Drive(0): SAMSUNG SSD PM830 2.5" 7mm 128GB
  Type: GProxyDrive (GProxyVolumeMonitorUDisks2)
Drive(1): TSSTcorp DVD+/-RW TS-U633J
  Type: GProxyDrive (GProxyVolumeMonitorUDisks2)
Volume(0): NAS
  Type: GProxyVolume (GProxyVolumeMonitorGoa)
Volume(1): LGE Android Phone
  Type: GProxyVolume (GProxyVolumeMonitorMTP)
  Mount(0): LGE Android Phone -> mtp://%5Busb%3A002,012%5D/
    Type: GProxyShadowMount (GProxyVolumeMonitorMTP)
Mount(1): mtp -> mtp://%5Busb%3A002,012%5D/
  Type: GDaemonMount
[andre@fedoranote ~] $ gio mount -u mtp://%5Busb%3A002,012%5D/
[andre@fedoranote ~] $ gio mount -u mtp://%5Busb%3A002,013%5D/
[andre@fedoranote ~] $ gio mount -u mtp://%5Busb%3A002,014%5D/
[andre@fedoranote ~] $ gio mount -u mtp://%5Busb%3A002,015%5D/
[andre@fedoranote ~] $ gio mount -u mtp://%5Busb%3A002,016%5D/

Best regards.

2018-01-14 23:52 GMT-02:00 Damon Lynch <email address hidden>:

> I'm glad you worked it out. And thank you for your translation efforts!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1743274
>
> Title:
> RPD is unmounting my smartphone when it is configured as MTP mode
>
> Status in Rapid Photo Downloader:
> Invalid
>
> Bug description:
> Hi.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/rapid/+bug/1743274/+subscriptions
>

--
André Soares.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.