I didn't keep the email from Ljubomir, so for those of you threading the list on mutt, this will mess up the headers--please accept my apologies.
I don't know why I never looked for mtpfs to compile on CentOS--after the link Ljubomir gave, I just downloaded it and compilation was trivial. I think I was always looking for simple-mtpfs, but honestly, I don't remember. Maybe I just never thought of it.
At any rate, even with older CentOS libmtp packages, installing mtpfs to /usr/local allows me to mount my S-III. I tried both with and without the udev rules suggested in the link, and it doesn't seem to make a difference. The thing that is essential for me is to run mtp-detect after plugging in the phone. Otherwise, mtpfs will mount the phone, but nothing will show in the directories. If I first run mtp-detect, (though I may have to run it a couple of times before it takes--no apparent link to USB port, and I did make sure phone was unlocked when plugged in) and then mount it with mtpfs, it's fine and works as it does in most other systems. (My way of using is command line, I mount it, usually on /mnt, then with root privilege add or remove files).
This was with the phone set to mtp, NOT set to camera.
So, many thanks to all who have kept this thread alive as I've been taking the easy way out and just using a more modern system.
On 06/01/2013 08:56 PM, Scott Robbins wrote:
I didn't keep the email from Ljubomir, so for those of you threading the list on mutt, this will mess up the headers--please accept my apologies.
I don't know why I never looked for mtpfs to compile on CentOS--after the link Ljubomir gave, I just downloaded it and compilation was trivial. I think I was always looking for simple-mtpfs, but honestly, I don't remember. Maybe I just never thought of it.
At any rate, even with older CentOS libmtp packages, installing mtpfs to /usr/local allows me to mount my S-III. I tried both with and without the udev rules suggested in the link, and it doesn't seem to make a difference. The thing that is essential for me is to run mtp-detect after plugging in the phone. Otherwise, mtpfs will mount the phone, but nothing will show in the directories. If I first run mtp-detect, (though I may have to run it a couple of times before it takes--no apparent link to USB port, and I did make sure phone was unlocked when plugged in) and then mount it with mtpfs, it's fine and works as it does in most other systems. (My way of using is command line, I mount it, usually on /mnt, then with root privilege add or remove files).
This was with the phone set to mtp, NOT set to camera.
So, many thanks to all who have kept this thread alive as I've been taking the easy way out and just using a more modern system.
Please provide link to rpm for Rock. Thanks.
It would be good to see if EPEL would maintain this package.
On Sat, Jun 01, 2013 at 09:06:54PM +0200, Ljubomir Ljubojevic wrote:
On 06/01/2013 08:56 PM, Scott Robbins wrote:
I didn't keep the email from Ljubomir, so for those of you threading the list on mutt, this will mess up the headers--please accept my apologies.
I don't know why I never looked for mtpfs to compile on CentOS--after the link Ljubomir gave, I just downloaded it and compilation was trivial. I think I was always looking for simple-mtpfs, but honestly, I don't remember. Maybe I just never thought of it.
So, many thanks to all who have kept this thread alive as I've been taking the easy way out and just using a more modern system.
Please provide link to rpm for Rock. Thanks.
Firstly, MANY thanks--your link was the thing that fixed it for me.
It wasn't an rpm, I just used the link that you gave
http://marcofalchi.blogspot.com/2012/02/android-ics-usb-storage-on-fedora-16..., downloaded the tarball from the link on the page, ran .configure && make && sudo make install.
As for libmtp, rpm -qi shows that I'm using the standard CentOS one.
Note that it was (for me) rough around the edges, I didn't worry about permissions, had to run mtp-detect a couple of times, but it did work. My needs are really simple though, copying a DRM ebook back and forth, or possible a short video snippet I made to show a friend, custom Ringtones and the like.
On Sat, 01 Jun 2013 15:22:03 -0400, Scott Robbins wrote:
http://marcofalchi.blogspot.com/2012/02/android-ics-usb-storage-on-fedora-16..., downloaded the tarball from the link on the page, ran .configure && make && sudo make install. As for libmtp, rpm -qi shows that I'm using the standard CentOS one.
The good news is that it appears there are two decent solutions: 1. PTP (camera) mode, enabled on the smartphone to work with Centos 2. MTP (media) mode, enabled by adding mtpfs to Centos to work with the phone
Neither of which appears to need the newer libmtp.
On 06/01/2013 09:22 PM, Scott Robbins wrote:
On Sat, Jun 01, 2013 at 09:06:54PM +0200, Ljubomir Ljubojevic wrote:
On 06/01/2013 08:56 PM, Scott Robbins wrote:
I didn't keep the email from Ljubomir, so for those of you threading the list on mutt, this will mess up the headers--please accept my apologies.
I don't know why I never looked for mtpfs to compile on CentOS--after the link Ljubomir gave, I just downloaded it and compilation was trivial. I think I was always looking for simple-mtpfs, but honestly, I don't remember. Maybe I just never thought of it.
So, many thanks to all who have kept this thread alive as I've been taking the easy way out and just using a more modern system.
Please provide link to rpm for Rock. Thanks.
Firstly, MANY thanks--your link was the thing that fixed it for me.
It wasn't an rpm, I just used the link that you gave
http://marcofalchi.blogspot.com/2012/02/android-ics-usb-storage-on-fedora-16..., downloaded the tarball from the link on the page, ran .configure && make && sudo make install.
As for libmtp, rpm -qi shows that I'm using the standard CentOS one.
Note that it was (for me) rough around the edges, I didn't worry about permissions, had to run mtp-detect a couple of times, but it did work. My needs are really simple though, copying a DRM ebook back and forth, or possible a short video snippet I made to show a friend, custom Ringtones and the like.
Here is link to mtfs source rpm I posted earlier, but I do not have time to recompile it: ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/f/fu/fuduntu/sources/mtpfs-1.1-0.3.svn20120510.fu2012.src.rpm
Also for Fedora 18: ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/linux/releases/18/Everything/source/SRPMS/m/mtpfs-1.1-0.3.svn20120510.fc18.src.rpm
Recompiling src.rpm is better then make from tar files.
On Sat, Jun 01, 2013 at 11:13:58PM +0200, Ljubomir Ljubojevic wrote:
Please provide link to rpm for Rock. Thanks.
Firstly, MANY thanks--your link was the thing that fixed it for me.
It wasn't an rpm, I just used the link that you gave
http://marcofalchi.blogspot.com/2012/02/android-ics-usb-storage-on-fedora-16..., downloaded the tarball from the link on the page, ran .configure && make && sudo make install.
Here is link to mtfs source rpm I posted earlier, but I do not have time to recompile it: ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/f/fu/fuduntu/sources/mtpfs-1.1-0.3.svn20120510.fu2012.src.rpm
Just tried that but it wants the newer libmtp which may mess up vlc.
On the system I use as workstation-cum-server (minimal server stuff) I'd rather be sure that vlc is working. Also, for Rock's purposes, might not be good, because, I understand it, he also wants vlc, so while I fully agree that it would be better to have it from an rpm, in this case, (for me), it's more trouble than it's worth for the machine that I'm most likely to use. I built it on a VM running i386 just to see how it would do.
Actually, I had less luck with it than on bare metal--part of that may be due to it being a VM, but the phone works fine with more current distributions on VM.
The rpms for later libmtp and mtpfs all built and installed without problem, but though I could mount the phone, I was unable to see anything in the directories, even after running mtp-detect.
So...my _personal_ experience with this is still rather iffy.
Experimentation indicates that on the install where I have gotten it working, I have to run mtp-detect 2 or 3 times, till it completes, then I can mount the device.
It's probably quicker (for me in my particular situation) to start up the Lubuntu VM I have on this and mount it that way.
Still, as of today, I'm way ahead of where I was before reading your post.
Rock, I can almost certainly make an x86_64 rpm for you, but it would probably require that later libmtp which might cause its own issues.
On Sat, 01 Jun 2013 20:49:52 -0400, Scott Robbins wrote:
Still, as of today, I'm way ahead of where I was before reading your post.
Rock, I can almost certainly make an x86_64 rpm for you, but it would probably require that later libmtp which might cause its own issues.
Hi Scott (and thank you Ljubomir),
I too am way ahead now, compared to the day the thread was posted. Actually, for 'me', the workaround works great (using PTP). And, for you, it's also working (using your compiled mtpfs).
As you correctly surmised, I would want VLC to work; so at this time, I have no desire for the latest libmtp. So there's nothing more for you to do for me at this point in time.
Any efforts moving forward should be for the general community, and not specifically for us, at this point in time.
Thanks everyone for your help - and I hope someone with a Redhat subscription takes Ljubomir's advice of filing a bug report against MTP so that the proper solution is in place for the future.
You guys are all so wonderful!
On 02.Jun.2013, at 04:57, Rock wrote:
Thanks everyone for your help - and I hope someone with a Redhat subscription takes Ljubomir's advice of filing a bug report against MTP so that the proper solution is in place for the future.
I did not read the whole thread, but I just wanted to add: You don't have to purchase a redhat subscription to file into their bugzilla.
On Sun, 02 Jun 2013 16:01:05 +0200, Markus Falb wrote:
You don't have to purchase a redhat subscription to file into their bugzilla.
OK. I opened an account, and can file the bug report: https://bugzilla.redhat.com/enter_bug.cgi
What should I say?
I'm confused how to write that bug report so that a developer will be interested in it, and so that we make that developer do the *least* amount of work possible to reproduce the problem, and, to therefore have a convenient testcase for solving the problem for that developer, since they are, after all, only human.
We need to make this as simple, explicit, and rewarding for them to work on as possible.
How is this for starters? (please modify brutally as needed!)
a) Project = Fedora Products (but should it be Redhat Products?) b) Product = Fedora 18? (or should it be Fedora EPEL?) c) Component = mtpfs (or should it be libmtp?) d) Version = 18 (or should it be rawhide?) e) Summary: The Fedora mtpfs does not allow Android 4.x media file transfer (What's a good one-sentence summary of the problem?) f) Description: Description of problem: Connecting an unlocked Android 4.x phone to Fedora 18 does not result in the ability to transfer media from the phone to the Fedora 18 PC.
Version-Release number of selected component (if applicable): libmtp-1.1.6-0.el6.x86_64.rpm (or should we list the mtpfs version)?
How reproducible: When you connect an Android 4.x smartphone to Fedora 18
Steps to Reproduce: 1. Set the Android 4.x smartphone to MTP mode (if not already) 2. Unlock the Android 4.x smartphone 3. Connect the Android 4.x smartphone to Fedora 18 by USB cable 4. The file system will _not_ show up in the Desktop browser
Actual results: Unable to mount SAMSUNG_Android_SGH-T999 Error initializing camera: -1: Unspecified error http://www5.picturepush.com/photo/a/13169313/640/13169313.png
$ dmesg ==> gvfs-gphoto2-vo[3575]: segfault at 3 ip 00007f886e7ac290 sp 00007fffacd22980 ==> error 4 in ptp2.so[7f886e78c000+4f000]
The file system shows up but all the directories show up as empty: http://www5.picturepush.com/photo/a/13169408/640/13169408.png
Expected results: The file system should show up properly, with non-zero-sized files: http://www5.picturepush.com/photo/a/13199358/640/13199358.png
Additional info: https://www.centos.org/modules/newbb/viewtopic.php?topic_id=39977&forum=...
On Sun, Jun 02, 2013 at 02:53:09PM +0000, Rock wrote:
On Sun, 02 Jun 2013 16:01:05 +0200, Markus Falb wrote:
You don't have to purchase a redhat subscription to file into their bugzilla.
OK. I opened an account, and can file the bug report: https://bugzilla.redhat.com/enter_bug.cgi
I thought we're having the problem with RHEL6. (and offshoots).
Fedora works almost out of the box with the phone, using simple-mtpfs. Actually, mtpfs has been abandoned (BIG DISCLAIMER--going on memory could be wrong) or else had other problems, but regardless (end of disclaimer, this part I distinctly remember) Fedora is using simple-mtpfs and once installed, Android is fine. So I think you want to file this against RHEL6.
However: Although it now works for me with the tarball on my main workstation, which has all sorts of other things installed, when trying on a few VMS, both with and without the newer version of libmtp, with and without the udev file mentioned, and with both tarball and compiled from source mtpfs, I couldn't get it to work. It would mount the phone, but show nothing in the directories. Therefore, not sure what a proper bug report would be at this point. I was under the impression that all that was needed was a working mtpfs, but that doesn't seem to be the case.
So...I'm back at square one, save for my workstation (the important one for me, though), I can't get any combination to work on any CentOS 6.4 VM.
On Sun, 02 Jun 2013 11:08:28 -0400, Scott Robbins wrote:
I thought we're having the problem with RHEL6
My mistake. I don't really understand any of this, so, I'm really *not* the right guy to file the bug report, as I'm out of my league. I can "append" to it though. :)
On Sun, Jun 02, 2013 at 04:53:16PM +0000, Rock wrote:
On Sun, 02 Jun 2013 11:08:28 -0400, Scott Robbins wrote:
I thought we're having the problem with RHEL6
My mistake. I don't really understand any of this, so, I'm really *not* the right guy to file the bug report, as I'm out of my league. I can "append" to it though. :)
No problem. I'm not going to file a bug report myself, as it's something that I suspect will be fixed with the next release and not a major inconvenience to me, though it is nice to finally have it work on at least one machine.
On Sun, 02 Jun 2013 11:08:28 -0400, Scott Robbins wrote:
I thought we're having the problem with RHEL6. (and offshoots).
What's a good one-line description of the problem?
Is it this? RHEL6 mtpfs does not properly mount Samsung Galaxy SIII in MTP media mode If not, would someone kindly correct that one liner?
In addition, is this bug the same thing? Bug 820583 - Review Request: mtpfs - FUSE file system allowing MTP device to be mounted and browsed https://bugzilla.redhat.com/show_bug.cgi?id=820583
Or maybe this bug? Bug 841260 - mtpfs sees only directories, not files, on Verizon Wireless Samsung Galaxy S III with lots of data https://bugzilla.redhat.com/show_bug.cgi?id=841260 Notice comment #7 that mtpfs has been abandoned.
Also notice three MTP-file system alternatives listed in that bug report: go-mtpfs: https://github.com/hanwen/go-mtpfs/#readme jmptfs: research.jacquette.com/jmtpfs-exchanging-files-between-android-devices-and-linux/ simple-mtpfs: https://github.com/phatina/simple-mtpfs
On Mon, Jun 03, 2013 at 07:53:26AM +0000, Rock wrote:
On Sun, 02 Jun 2013 11:08:28 -0400, Scott Robbins wrote:
I thought we're having the problem with RHEL6. (and offshoots).
What's a good one-line description of the problem?
Is it this? RHEL6 mtpfs does not properly mount Samsung Galaxy SIII in MTP media mode If not, would someone kindly correct that one liner?
Yes, that's pretty accurate. Although there is no official RH mtpfs package. The source rpm was from sourceforge. So perhaps a feature request like
RHEL6 cannot current mount the popular Samsung Galaxy SIII. Fedora is using simple-mtpf (and perhaps a link to 841260, and even 820583 with a mention that 841260 shows that mtpfs has been abandoned by Fedora).
In addition, is this bug the same thing? Bug 820583 - Review Request: mtpfs - FUSE file system allowing MTP device to be mounted and browsed https://bugzilla.redhat.com/show_bug.cgi?id=820583
It's against Fedora.
Or maybe this bug? Bug 841260 - mtpfs sees only directories, not files, on Verizon Wireless Samsung Galaxy S III with lots of data https://bugzilla.redhat.com/show_bug.cgi?id=841260 Notice comment #7 that mtpfs has been abandoned.
Note that I was one of the ones who commented on that one, with the simple-mtpfs solution. That is also against Fedora 17, so not applicable.
On Mon, 03 Jun 2013 07:02:33 -0400, Scott Robbins wrote:
perhaps a feature request
OK. Please take a look at the bug and feel free to correct anywhere that I err or misrepresent the problem.
If nobody corrects anything, I'll know you didn't look :) (because I really can't have accurately portrayed the problem!).
I invite corrections, so that we all benefit: https://bugzilla.redhat.com/show_bug.cgi?id=970242
On Mon, Jun 03, 2013 at 07:20:08PM +0000, Rock wrote:
On Mon, 03 Jun 2013 07:02:33 -0400, Scott Robbins wrote:
perhaps a feature request
OK. Please take a look at the bug and feel free to correct anywhere that I err or misrepresent the problem.
I don't see anything to add--you linked to the forum thread, which covers most of the information we have had here.
On Mon, 03 Jun 2013 16:55:47 -0400, Scott Robbins wrote:
I don't see anything to add--you linked to the forum thread, which covers most of the information we have had here.
Thanks. Now I'll go back to my file recovery problems! :)
On Mon, 03 Jun 2013 16:55:47 -0400, Scott Robbins wrote:
I don't see anything to add--you linked to the forum thread, which covers most of the information we have had here.
Just for the record, for the past two weeks, for whatever (unknown) reason, I have been unable to mount the phone in PTP mode (i.e., camera mode) onto the Centos laptop. Sigh.
This is pretty frustrating.
I'm sure *something* changed (either on the phone or on the laptop); but, whatever it is, is unknown to me.
Sigh ...
When that happened to me it was because I'd gotten paranoid and put a password on my phone. Which then, as a security measure, refused to mount itself on my PC. Ali
On Wed, Jul 17, 2013 at 11:38 AM, Rock Rocksockdoc@gmail.com wrote:
On Mon, 03 Jun 2013 16:55:47 -0400, Scott Robbins wrote:
I don't see anything to add--you linked to the forum thread, which covers most of the information we have had here.
Just for the record, for the past two weeks, for whatever (unknown) reason, I have been unable to mount the phone in PTP mode (i.e., camera mode) onto the Centos laptop. Sigh.
This is pretty frustrating.
I'm sure *something* changed (either on the phone or on the laptop); but, whatever it is, is unknown to me.
Sigh ...
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos