Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems copying data to android[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
blakdeath
Guru
Guru


Joined: 21 Sep 2012
Posts: 462

PostPosted: Fri Nov 16, 2012 9:24 am    Post subject: problems copying data to android[solved] Reply with quote

I have an LG p705, on windows I just set the USB mode to media sync and the device appears as lgxxxx with the contents of the storage and the storage card inside
in Linux i get nothing
Solution:
emerge libmtp, then emerge mtpfs, then create an entry in the fstab as follows:
mtpfs /home/adel/Desktop/android fuse user,noauto,allow_other 0 0

the mount point has to be a user accessible directory(a diectory accessible by the current user), I have been unable to mount to root accessible directories

then edit the /etc/fuse.conf and uncomment the user_allow_other
et voila

Thanks,
Adel


Last edited by blakdeath on Fri Nov 16, 2012 3:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
b0nafide
Apprentice
Apprentice


Joined: 17 Feb 2008
Posts: 153
Location: ~/

PostPosted: Fri Nov 16, 2012 10:50 am    Post subject: Reply with quote

You want libmtp 1.1.5 for that.
Back to top
View user's profile Send private message
blakdeath
Guru
Guru


Joined: 21 Sep 2012
Posts: 462

PostPosted: Fri Nov 16, 2012 1:10 pm    Post subject: Reply with quote

well I emerged libmtp, is there something else I'm supposed to do?
I don't think it worked, or maybe there's some step I've missed
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 688
Location: Arrakis

PostPosted: Fri Nov 16, 2012 1:15 pm    Post subject: Reply with quote

useflag mtp might help too
_________________
"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present."

-Master Oogway
Back to top
View user's profile Send private message
blakdeath
Guru
Guru


Joined: 21 Sep 2012
Posts: 462

PostPosted: Fri Nov 16, 2012 1:41 pm    Post subject: Reply with quote

nope, that didn't do it either
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 412
Location: Maryland, US

PostPosted: Fri Nov 16, 2012 2:47 pm    Post subject: Reply with quote

The P705 user manual states that to access the device you do need to use the MTP protocol, so you will need to do a couple of things in order to mount it under Linux. Basically, install the library, libmtp, as you've indicated you've done, and then either install a FUSE mtp file system, such as mtpfs, and then mount the device on your system manually, or use an app that can directly access the mtp device, like gmtp. I was able to access my Galaxy Nexus and Nexus 7, using jmtpfs and the live ebuild of libmtp, as I posted here. The only caveat is that I have to manually mount the device after plugging it in. Here's three Gentoo forum threads that discussed connecting mtp devices under Gentoo;

Mount Galaxy Nexus Android Phone via USB [solved]
[Solved] Galaxy S3 and MTP
Mount your Nexus 7 with MTP

Good Luck..
Back to top
View user's profile Send private message
blakdeath
Guru
Guru


Joined: 21 Sep 2012
Posts: 462

PostPosted: Fri Nov 16, 2012 3:32 pm    Post subject: Reply with quote

Excellent
that solved the problem, I created an entry in fstab as you stated

thanks alot
that's one more problem down
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum