LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-19-2015, 04:18 PM   #1
oremora
Member
 
Registered: Sep 2015
Location: Texas
Distribution: Debian
Posts: 51

Rep: Reputation: Disabled
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.
 
Old 09-19-2015, 04:53 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
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
 
Old 09-19-2015, 07:09 PM   #3
oremora
Member
 
Registered: Sep 2015
Location: Texas
Distribution: Debian
Posts: 51

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-19-2015, 07:17 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Yes, jmtpfs is a good way to go. Not hard at all. Glad it's working for you now.
 
Old 09-19-2015, 07:26 PM   #5
oremora
Member
 
Registered: Sep 2015
Location: Texas
Distribution: Debian
Posts: 51

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-21-2015, 11:00 PM   #6
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
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
 
Old 09-22-2015, 12:29 AM   #7
oremora
Member
 
Registered: Sep 2015
Location: Texas
Distribution: Debian
Posts: 51

Original Poster
Rep: Reputation: Disabled
jmtpfs worked great for me and after installing gvfs-backends the device can be mounted by just clicking it on thunar.
 
Old 09-22-2015, 05:15 AM   #8
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] The process for the mtp protocol died unexpectedly when mounting Android devices Hasek39 Slackware 1 08-12-2015 02:33 PM
Why is MTP still broken in 2014? jman82s Linux - Hardware 4 12-27-2014 04:35 AM
MTP not mounting (rantwarning) vavoem Debian 7 01-06-2014 11:34 AM
MTP Rao423 Linux - Embedded & Single-board computer 6 06-18-2010 04:02 AM
On slack-current: /usr/bin/mtp-getfile -> /tmp/package-libmtp/usr/bin/mtp-connect ? LuckyCyborg Slackware 3 05-03-2010 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration