Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   MTP Support in Fedora (http://www.linux-archive.org/fedora-user/706362-mtp-support-fedora.html)

Dave Cross 09-22-2012 01:45 PM

MTP Support in Fedora
 
I can't be the only person with this problem.

I have a Nexus 7. The Nexus runs Android Jellybean. Recent versions of
Android (like Jellybean) have removed support for USB mass storage and
the Nexus now connect to my Fedora 17 desktop using MTP.

This seems to be a problem as MTP support in Fedora (perhaps in Linux
in general) appears to be appalling. I have libmtp installed and up to
date. When I plug in the Nexus, both RhythmBox sees it and claim to
display the music found on it. But it doesn't find the MP3s I've
downloaded using the Amazon MP3 application. Banshee doesn't detect
the Nexus at all.

I've seen talk of something called "mtpfs", but that doesn't seem to
be available from the Fedora repos. Another app called gMTP sounds
like it might be useful, but is also not available for Fedora.

Has anyone else found a way round this problem? Is anyone packaging
mtpfs or gMTP for Fedora?

Thanks,

Dave...

--
Dave Cross :: dave@dave.org.uk
http://dave.org.uk/
@davorg
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Tom Horsley 09-22-2012 02:01 PM

MTP Support in Fedora
 
On Sat, 22 Sep 2012 14:45:57 +0100
Dave Cross wrote:

> Has anyone else found a way round this problem? Is anyone packaging
> mtpfs or gMTP for Fedora?

I don't bother with the USB cable at all. I just use File Expert
on the Nexus to share files over the network with the web
interface it provides.

I did try some MTP stuff and found there definitely seems to be
something busted. It could see directories, but not any files in
those directories. I suspect the mtp libs need work. (MTP on
Windows 7 worked fine, so it doesn't seem to be a problem on
the Nexus side).

Over in the Nexus 7 forum on android forums, there was even
a post about people who got cifs network mounts working
(but you need a rooted nexus 7 for that to add new kernel modules
and do the mount).
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Patrick O'Callaghan 09-22-2012 02:04 PM

MTP Support in Fedora
 
On Sat, 2012-09-22 at 14:45 +0100, Dave Cross wrote:
> I can't be the only person with this problem.
>
> I have a Nexus 7. The Nexus runs Android Jellybean. Recent versions of
> Android (like Jellybean) have removed support for USB mass storage and
> the Nexus now connect to my Fedora 17 desktop using MTP.
>
> This seems to be a problem as MTP support in Fedora (perhaps in Linux
> in general) appears to be appalling. I have libmtp installed and up to
> date. When I plug in the Nexus, both RhythmBox sees it and claim to
> display the music found on it. But it doesn't find the MP3s I've
> downloaded using the Amazon MP3 application. Banshee doesn't detect
> the Nexus at all.
>
> I've seen talk of something called "mtpfs", but that doesn't seem to
> be available from the Fedora repos. Another app called gMTP sounds
> like it might be useful, but is also not available for Fedora.
>
> Has anyone else found a way round this problem? Is anyone packaging
> mtpfs or gMTP for Fedora?

This has been asked a couple of times here. I haven't had much luck with
mtpfs either (I just compiled it from source). Clearly a properly
working libmtp is what is needed and unfortunately I don't see any
mention of such a thing in the F18 Proposed Features list.

However a workaround for many use cases is to install an FTP or sftp
server on the device - there are several in the Play store - and either
use a basic FTP client from Linux or just mount the server from Nautilus
and use drag-and-drop. Be careful though. Doing this with a large group
of files at once seems to give random dropouts.

Very recently I started using Airdroid on my GNexus phone under Jelly
Bean. It's basically a specialized website running on the phone and
talking over Wifi, with file transfers plus some other features. We'll
see how it works out.

poc

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Tim 09-22-2012 04:15 PM

MTP Support in Fedora
 
On Sat, 2012-09-22 at 09:34 -0430, Patrick O'Callaghan wrote:
> However a workaround for many use cases is to install an FTP or sftp
> server on the device - there are several in the Play store - and
> either use a basic FTP client from Linux or just mount the server from
> Nautilus and use drag-and-drop. Be careful though. Doing this with a
> large group of files at once seems to give random dropouts.

On that note, across numerous computers and OSs, and network schemes,
and file managing programs, I've always found that sort of thing to
happen.

It's meant that I've given up on doing backups on/with large storage
devices, because it *always* cocks up, and it's a big pain in the neck
to try and sort out which files got skipped, aborted, partially
transferred, or corrupted.

If I want to copy, say a few thousand files, I have to spend hours
manually selecting batches of no more than a few hundred files at a
time. I have NEVER got this to work well.

--
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored. I
read messages from the public lists.



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Joe Zeff 09-22-2012 04:32 PM

MTP Support in Fedora
 
On 09/22/2012 09:15 AM, Tim wrote:

It's meant that I've given up on doing backups on/with large storage
devices, because it*always* cocks up, and it's a big pain in the neck
to try and sort out which files got skipped, aborted, partially
transferred, or corrupted.


So does this mean that you've given up on backups altogether, or have
you just fallen back on that old standby, tar?

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

"Eddie G. O'Connor Jr." 09-22-2012 05:33 PM

MTP Support in Fedora
 
On 09/22/2012 12:15 PM, Tim wrote:

On Sat, 2012-09-22 at 09:34 -0430, Patrick O'Callaghan wrote:

However a workaround for many use cases is to install an FTP or sftp
server on the device - there are several in the Play store - and
either use a basic FTP client from Linux or just mount the server from
Nautilus and use drag-and-drop. Be careful though. Doing this with a
large group of files at once seems to give random dropouts.

On that note, across numerous computers and OSs, and network schemes,
and file managing programs, I've always found that sort of thing to
happen.

It's meant that I've given up on doing backups on/with large storage
devices, because it *always* cocks up, and it's a big pain in the neck
to try and sort out which files got skipped, aborted, partially
transferred, or corrupted.

If I want to copy, say a few thousand files, I have to spend hours
manually selecting batches of no more than a few hundred files at a
time. I have NEVER got this to work well.

What about grabbing the files you want and compressing them with Archive
Manger or something? Then you only have to concern yourself with just
one file, granted it might be a very large zipped file, but you won't
have to worry about losing files or having them get corrupted during
transfer.....or maybe I'm not on the right track with this....but
there's my suggestion.



EGO II
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Patrick O'Callaghan 09-22-2012 07:05 PM

MTP Support in Fedora
 
On Sun, 2012-09-23 at 01:45 +0930, Tim wrote:
> On Sat, 2012-09-22 at 09:34 -0430, Patrick O'Callaghan wrote:
> > However a workaround for many use cases is to install an FTP or sftp
> > server on the device - there are several in the Play store - and
> > either use a basic FTP client from Linux or just mount the server from
> > Nautilus and use drag-and-drop. Be careful though. Doing this with a
> > large group of files at once seems to give random dropouts.
>
> On that note, across numerous computers and OSs, and network schemes,
> and file managing programs, I've always found that sort of thing to
> happen.
>
> It's meant that I've given up on doing backups on/with large storage
> devices, because it *always* cocks up, and it's a big pain in the neck
> to try and sort out which files got skipped, aborted, partially
> transferred, or corrupted.
>
> If I want to copy, say a few thousand files, I have to spend hours
> manually selecting batches of no more than a few hundred files at a
> time. I have NEVER got this to work well.

Rsync to the rescue, as long as you can either mount the remote
filesystem or talk to an rsync process at the other end. Ideally use a
remote rsync process, but where this is not feasible you can still use
rsync to check for correct reception as long as you can read the files
back, and repeat any failed blocks automatically. Can be slow of course,
but if it's for taking backups that is a secondary consideration.

poc

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

James Wilkinson 09-22-2012 07:43 PM

MTP Support in Fedora
 
Dave Cross wrote:
> I can't be the only person with this problem.

No, you aren’t.

> I have a Nexus 7. The Nexus runs Android Jellybean. Recent versions of
> Android (like Jellybean) have removed support for USB mass storage and
> the Nexus now connect to my Fedora 17 desktop using MTP.
>
> This seems to be a problem as MTP support in Fedora (perhaps in Linux
> in general) appears to be appalling.

This is a Known Problem.

There was a post recently on the devel list
(http://lists.fedoraproject.org/pipermail/devel/2012-September/171639.html)
where the Fedora maintainer of mtpfs announced he was abandoning the
package for various reasons (like “It’s buggy” and “Upstream is not
responsive”), and suggested either go-mtpfs or jmptfs
(https://bugzilla.redhat.com/show_bug.cgi?id=841260#c1).

You might find the next comment behind that link relevant: not having a
suitable device, I can’t comment.

Incidentally, I understand that Android hasn’t removed support for USB
mass storage: it’s just that many recent devices come without support
for SD cards, so there’s nothing to export as USB mass storage. This
means the Android device *and* the computer can both access the shared
data at the same time, there aren’t any problems with jolts causing
momentary disconnects of the SD card, and it gives the designers more
freedom, especially with phones that have sealed-in batteries (so no
battery cover to hide the SD card).

More cynically, this gives phone manufacturers and networks a greater
share of the price of a phone with 8 GB or 16 GB of storage, gives them
a convenient way of providing a “premium” device with more capacity (at
a premium, of course), and means they don’t have to worry about
Microsoft’s FAT and exFAT patents.

James.

--
E-mail: james@ | Bond films are about seducing beautiful girls, gadgets,
aprilcottage.co.uk | and defeating supervillains who never seem to learn that
| the way to deal with James Bond is simply to shoot him.
| -- Professor Steven Dutch
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Patrick O'Callaghan 09-23-2012 01:05 AM

MTP Support in Fedora
 
On Sat, 2012-09-22 at 20:43 +0100, James Wilkinson wrote:
> Incidentally, I understand that Android hasn’t removed support for USB
> mass storage: it’s just that many recent devices come without support
> for SD cards, so there’s nothing to export as USB mass storage. This
> means the Android device *and* the computer can both access the shared
> data at the same time, there aren’t any problems with jolts causing
> momentary disconnects of the SD card, and it gives the designers more
> freedom, especially with phones that have sealed-in batteries (so no
> battery cover to hide the SD card).

The Galaxy Nexus has a "virtual SD card", which is apparently why the
phone doesn't present itself directly as a storage device over USB and
forces the use of MTP for access.

(Note that it does have a removable battery though.)

poc

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Roberto Ragusa 09-23-2012 01:59 PM

MTP Support in Fedora
 
On 09/22/2012 09:05 PM, Patrick O'Callaghan wrote:

>> If I want to copy, say a few thousand files, I have to spend hours
>> manually selecting batches of no more than a few hundred files at a
>> time. I have NEVER got this to work well.
>
> Rsync to the rescue, as long as you can either mount the remote
> filesystem or talk to an rsync process at the other end. Ideally use a
> remote rsync process, but where this is not feasible you can still use
> rsync to check for correct reception as long as you can read the files
> back, and repeat any failed blocks automatically. Can be slow of course,
> but if it's for taking backups that is a secondary consideration.

After realizing that mtp is not seriously feasible, I switched to
rsync for my backups.
It is not optimal, wifi involved (slow), ssh involved (slow), and
for some reason I never got the sshd daemons running well on my Galaxy
Nexus (one of the problems seems to be lack of entropy in the kernel).

Finally got something working by using "Linux Installer", which creates
a really cool debian chroot inside the Nexus.

--
Roberto Ragusa mail at robertoragusa.it
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


All times are GMT. The time now is 09:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.