LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   MTP mounting (https://www.linuxquestions.org/questions/debian-26/mtp-mounting-4175553964/)

oremora 09-19-2015 04:18 PM

MTP mounting
 
Hello all,

I've been trying to mount my HTC One m7 onto Jessie but my computer won't even recognize my phone. Are there any specific packages I need to be able to pass files between my phone and computer? I appreciate any help or being pointed in the right direction.

ferrari 09-19-2015 04:53 PM

Can you show us the dmesg output when your first connect the phone?
Code:

dmesg|tail
If using systemd, you can also watch/capture the kernel output in a terminal window using
Code:

journalctl -f
Then connect your device.CTRL+C to terminate. Share the output here if further assistance needed.

These references might be helpful to you as well
https://packages.debian.org/jessie/utils/mtp-tools
https://wiki.debian.org/mtp

oremora 09-19-2015 07:09 PM

Never mind

I found a way to fix this by using the "Connecting your Android phone or tablet to Ubuntu with MTPFS" part from the link. I substituted mtpfs with jmtpfs since mtpfs wasn't in the jessie repo. You mount the android phone by using jmtpfs /mounted/folder and unmount by running fusermount -u /mounted/folder.

ferrari 09-19-2015 07:17 PM

Yes, jmtpfs is a good way to go. Not hard at all. Glad it's working for you now. :)

oremora 09-19-2015 07:26 PM

Thanks!

I'm not sure if I needed to do all that or just install jmtpfs, but it worked in the end so I don't have any complaints.

jim_p 09-21-2015 11:00 PM

Sorry to hijack the thread, but I am looking for something more reliable than mtpfs to use with my phone. Is jmtpfs worth it? Can it mount the device with a simple click on the file manager (pcmanfm), just by using gvfs? This is all the mtp-related stuff I have now.

Code:

$ dpkg -l | grep mtp
ii  libmtp-common                        1.1.9-3                          all          Media Transfer Protocol (MTP) common files
ii  libmtp9:i386                        1.1.9-3                          i386        Media Transfer Protocol (MTP) library
ii  libnet-smtp-ssl-perl                1.03-1                          all          Perl module providing SSL support to Net::SMTP
ii  mtp-tools                            1.1.9-3                          i386        Media Transfer Protocol (MTP) library tools
ii  mtpfs                                1.1-5                            i386        FUSE filesystem for Media Transfer Protocol devices


oremora 09-22-2015 12:29 AM

jmtpfs worked great for me and after installing gvfs-backends the device can be mounted by just clicking it on thunar.

jim_p 09-22-2015 05:15 AM

Ok I will try it later on. Do I have to remove something from the above?


All times are GMT -5. The time now is 04:28 PM.