LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-30-2014, 11:52 PM   #1
zealbert
Member
 
Registered: Nov 2014
Posts: 51

Rep: Reputation: Disabled
smartphone not recognized by linux mint 17


I have a samsung galaxy s4, and linux mint 17. When I plug the phone in via USB, the computer does recognize it, and the folders appear on the screen (SD card, phone), but none of the files open, whether it's pictures, videos, documents, etc. It shows an error message each time. Any fix for this?
 
Old 12-31-2014, 03:45 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Distribution: SLES 12
Posts: 1,574

Rep: Reputation: 106Reputation: 106
What says /var/log/messages?
 
Old 12-31-2014, 04:11 AM   #3
zealbert
Member
 
Registered: Nov 2014
Posts: 51

Original Poster
Rep: Reputation: Disabled
Sorry, I am really ignorant with computers; is that a command to paste into the terminal, just as is?
thanks
 
Old 12-31-2014, 04:28 AM   #4
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Distribution: SLES 12
Posts: 1,574

Rep: Reputation: 106Reputation: 106
Use the file manager to navigate to /var/log/
Then open messages and search for messages containing "usb".

or

in terminal:

less /var/log/messages

.

Last edited by Keruskerfuerst; 12-31-2014 at 04:32 AM.
 
Old 12-31-2014, 10:21 AM   #5
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,504

Rep: Reputation: 325Reputation: 325Reputation: 325Reputation: 325
Appears to be similar to the situation with my Galaxy Victory. I connect the phone to my computer, the file manager pops up showing me both the phone and its external microSD card. I can browse, but cannot open any of the files. To actually view the contents of the phone's files, I have to first unmount it (using gvfs-mount) then remount it using simple-mtpfs (Fedora) or jmtpfs (Ubuntu and derivatives). Code to do this for my phone is attached
Attached Files
File Type: txt phone_gui.glade.txt (8.5 KB, 23 views)
File Type: txt phone_gui2.py.txt (5.7 KB, 11 views)
 
Old 01-01-2015, 12:05 AM   #6
zealbert
Member
 
Registered: Nov 2014
Posts: 51

Original Poster
Rep: Reputation: Disabled
Sorry, rockdoctor, I am really an ignoramus when it comes to computers, and those links you gave me are incomprehensible to me. Are those commands that I am supposed to enter into the terminal? Or?
 
Old 01-01-2015, 12:37 PM   #7
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,504

Rep: Reputation: 325Reputation: 325Reputation: 325Reputation: 325
The two files constitute one program that you can run from a terminal window. I'll try to lay out the process sequentially for you.
1. Open a terminal window and enter each line of code exactly as shown below in a terminal window

2. Install jmtpfs. I'd just do it in the terminal window with the following command:
Code:
sudo apt-get install jmtpfs
3. Plug in your phone. The computer should recognize the phone, but in the "wrong" mode (wrong in the sense that you can't view the files). We need to unmount the phone and then mount it in the proper mode.

4. We unmount the phone with the following command:
Code:
gvfs-mount -u mtpfs
5. Now we will mount the phone in such a way as to allow you to view the files. To do this, we need a place to mount the phone (a mount point). We can use an existing directory (which will hide the contents of that directory as long as the phone is mounted) or create a new mount point. I created a new subdirectory in my home directory as the mount point for my phone (I named it phone) as follows:
Code:
mkdir phone
6. Now we mount the phone:
Code:
jmtpfs phone
7. Your phone should now be properly mounted, and you should be able to view the contents of the phone's files.
 
Old 01-04-2015, 05:19 AM   #8
zealbert
Member
 
Registered: Nov 2014
Posts: 51

Original Poster
Rep: Reputation: Disabled
Hello, well I tried. this is what I get from the terminal; I think the problem is I don't know how to create a mount point. I tried, as you can see, but the commands are probably wrong.

[sudo] password for paul:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
ktorrent-data libsyndication4
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
jmtpfs
0 upgraded, 1 newly installed, 0 to remove and 50 not upgraded.
Need to get 39.0 kB of archives.
After this operation, 153 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe jmtpfs amd64 0.5-1 [39.0 kB]
Fetched 39.0 kB in 0s (61.3 kB/s)
Selecting previously unselected package jmtpfs.
(Reading database ... 192325 files and directories currently installed.)
Preparing to unpack .../jmtpfs_0.5-1_amd64.deb ...
Unpacking jmtpfs (0.5-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up jmtpfs (0.5-1) ...
paul@paul-System-Product-Name ~ $ gvfs-mount -u mtpfs
Error finding enclosing mount: Containing mount does not exist
paul@paul-System-Product-Name ~ $ sudo mkdir /home/phone
paul@paul-System-Product-Name ~ $ sudo mkdir /phone
paul@paul-System-Product-Name ~ $ gvfs-mount -u mtpfs
Error finding enclosing mount: Containing mount does not exist
paul@paul-System-Product-Name ~ $
 
Old 01-04-2015, 09:11 AM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
I think the problem is I don't know how to create a mount point.
It's explained in the post by RockDoctor. When you open a terminal as a user you should be in the /home/username directory so just type the command shown above: mkdir phone

Your mistake was doing: mkdir /home/phone. Just do: mkdir phone If you want the full path and your username is actually zealbert, you would do: mkdir /home/zealbert/phone. You should then see a "phone" directory in your /home/username directory and go to the next step.
 
Old 01-04-2015, 10:01 PM   #10
zealbert
Member
 
Registered: Nov 2014
Posts: 51

Original Poster
Rep: Reputation: Disabled
I've pasted what I get in the terminal as responses, doesn't seem to be working

paul@paul-System-Product-Name ~ $ mkdir/home/user/phone
bash: mkdir/home/user/phone: No such file or directory
paul@paul-System-Product-Name ~ $ sudo apt-get /home/phone
E: Invalid operation /home/phone
paul@paul-System-Product-Name ~ $ mkdr/home
bash: mkdr/home: No such file or directory
paul@paul-System-Product-Name ~ $ sudo apt-get /home/user/paul/phone
E: Invalid operation /home/user/paul/phone
paul@paul-System-Product-Name ~ $ mkdr/phone
bash: mkdr/phone: No such file or directory
paul@paul-System-Product-Name ~ $ mkdr home
No command 'mkdr' found, did you mean:
Command 'mkdir' from package 'coreutils' (main)
mkdr: command not found
paul@paul-System-Product-Name ~ $ mkdr corutils/home
No command 'mkdr' found, did you mean:
Command 'mkdir' from package 'coreutils' (main)
mkdr: command not found
paul@paul-System-Product-Name ~ $ mkdr coreutils/home/phone
No command 'mkdr' found, did you mean:
Command 'mkdir' from package 'coreutils' (main)
mkdr: command not found
paul@paul-System-Product-Name ~ $

I found a folder "phone" under "files"; then I typed in "jmtpfs phone in the terminal, and this is what I got:

paul@paul-System-Product-Name ~ $ jmtpfs phone
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
fuse: bad mount point `phone': No such file or directory
Unable to open ~/.mtpz-data for reading, MTPZ disabled.paul@paul-System-Product-Name ~ $
 
Old 01-04-2015, 10:09 PM   #11
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,340
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
I learned about a workaround for this at my LUG. Install AirDroid. It works very nicely.

It will prompt you to back up your stuff to the Airdroid servers (I wouldn't on a bet--I've expended a lot of effort to create my home cloud right here--I don't need anyone else's), but it also will enable you to connect to your computers over your wireless network. This article gives a good intro to it.
 
Old 01-05-2015, 12:39 AM   #12
zealbert
Member
 
Registered: Nov 2014
Posts: 51

Original Poster
Rep: Reputation: Disabled
Thanks, but it didn't work. The article concerns version 1.0.4 beta, and what I downloaded is version 3 (what's available on google play); it looks completely different, and the instructions don't really apply for this new version. It looks nothing like what is shown in the article. Sounds like a great workaround, though. What about those other apps that are listed, like "wifi file transfer", or "droid over wifi"?
 
Old 01-05-2015, 04:42 PM   #13
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,504

Rep: Reputation: 325Reputation: 325Reputation: 325Reputation: 325
Quote:
Originally Posted by zealbert View Post
paul@paul-System-Product-Name ~ $ mkdir/home/user/phone
bash: mkdir/home/user/phone: No such file or directory
$
Note the space after "mkdir":
Code:
mkdir /home/phone
 
Old 01-05-2015, 09:14 PM   #14
zealbert
Member
 
Registered: Nov 2014
Posts: 51

Original Poster
Rep: Reputation: Disabled
Thanks, I'll give it a shot. That's the only problem with Linux; people like me who are not computer savvy; no way I would have known about that space. Nevertheless, I will never go back to Windows. I'll just have to learn as I go, I guess.
 
Old 01-05-2015, 09:35 PM   #15
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,340
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
I have Airborne 3.03. That was the best link I could find in an intensive five or six seconds of research. I admit I didn't read it critically.

The thumbnail is this: turn on Airdroid. It will connect to your local network, if you have wireless (you will need to enter credentials).

It will display two links on the phone's scree: one to the Airdroid servers and one showing its local IP address, like this: 192.168.1.111:8888. Enter the latter address, including the port number, in your browser.

Your browser will ask for permission to connect and Airdroid will ask you if you want to accept the connection. Accept in both, and your browser will display a file manager-type view of your Android (you may have to navigate around a nag-screen or two).

Do not leave Airdroid running when you are done with it. If you go to a public place, it will keep hitting available networks.

Last edited by frankbell; 01-05-2015 at 09:37 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux Mint 16 Cinnamon & Gigabyte GA-990FXA-UD3 Rev. 4 Network not recognized DrLew Linux - Newbie 1 05-20-2014 11:50 AM
HD with Mint recognized but isn't in boot order... idget Linux - Hardware 3 04-26-2014 10:46 PM
LXer: Android Smartphone USB Tethering (Linux Mint 11) LXer Syndicated Linux News 0 10-03-2011 06:00 PM
[SOLVED] nokia x6 not recognized on mint gargles Linux - Newbie 1 07-07-2011 10:51 PM


All times are GMT -5. The time now is 02:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration