After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 632753 - Banshee unmounts my iPhone without warning and for no reason
Banshee unmounts my iPhone without warning and for no reason
Status: RESOLVED WONTFIX
Product: banshee
Classification: Other
Component: Device - iPod
1.8.0
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
gnome[unmaintained]
Depends on: 631207
Blocks:
 
 
Reported: 2010-10-21 01:45 UTC by Anthony DiSante
Modified: 2020-03-17 08:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Debug log from when Banshee unmounts my iPhone (15.00 KB, text/plain)
2010-11-05 03:20 UTC, Anthony DiSante
Details

Description Anthony DiSante 2010-10-21 01:45:15 UTC
It seems like Banshee is trying really hard to get me to stop using it.  Today I discovered that it's auto-unmounting my iPhone right after I connect the iPhone to the PC's USB port.

Banshee is unusable with the iPhone anyway (due to bug 631207), and I have the Apple Device Support extension disabled.  But nonetheless, when I connect my iPhone to my PC (to charge it, or to copy photos off of it, etc), if Banshee is running, then Banshee will forcibly unmount the iPhone in about 10 seconds, causing the iPhone to disappear from the list of items in Nautilus' "computer:///" view.

Because of this, the only way to do anything with the iPhone in Ubuntu is to kill Banshee before connecting the phone to the PC.
Comment 1 Gabriel Burt 2010-10-21 02:48:26 UTC
Copying Alan.
Comment 2 Alan McGovern 2010-11-05 02:12:31 UTC
First I need the debug log from banshee. Start it in a terminal with "--debug" as the parameter and attach the entire output of that.

My guess is that the libmtp is claiming that your iPhone is an MTP device. This happens because iPhones implement PTP, which is a subset of MTP. With this (incorrect) knowledge, the MTP extension dutifully unmounts the device so that it can remount it in MTP mode to access the songs. However your device is *not* an MTP device so the subsequent mount in MTP mode fails.

Possible immediate solutions you can try:
1) If you leave the AppleDevice extension enabled, this won't happen.
2) If you disable the MTP extension, this also won't happen.

Possible long term solutions.
1) File a libmtp bug and get them to stop recognising PTP-only devices as supporting MTP.
2) Put logic in the MTP extension to check for iphones/ipods and ignore them.

Are there any better ways of handling this or is #2 the best thing to do for now?
Comment 3 Anthony DiSante 2010-11-05 03:20:11 UTC
Created attachment 173862 [details]
Debug log from when Banshee unmounts my iPhone

Debug log is attached.

> Possible immediate solutions you can try:
> 1) If you leave the AppleDevice extension enabled, this won't happen.

That's not an option for me since I don't want to deal with bug 631207.

> 2) If you disable the MTP extension, this also won't happen.

OK, that's what I'll do.  I just tried it and indeed the unmounting now does not happen.
Comment 4 André Klapper 2020-03-17 08:51:24 UTC
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the
responsibility for active development again.
See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.