LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices

Reply
 
Search this Thread
Old 07-03-2013, 01:05 PM   #1
Toadman
Member
 
Registered: Aug 2002
Location: Texas
Distribution: Ubuntu 14.04 LTS
Posts: 166

Rep: Reputation: 15
Connecting Galaxy S3 via USB


Can't seem to get my wife's Galaxy S3 recognized like my Galaxy S2 does. All I need to do on mine is plug in the USB cable and tell it to connect. On hers I connect the cable, pull down the USB menu and select Media Device (MTP) but it still doesn't come up. Any suggestions? I'm sure it's something easy
 
Old 07-03-2013, 04:07 PM   #2
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,981

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
for some reason android does not mount as standard usb any longer. now you have to use mtp which is a pain in the ass.

i think you have to install mtpfs or something.

can you please show the following
Code:
uname -a -m -p
sudo tail -f /var/log/messages
hit enter a few times, then plug in the fone and copy-paste the junk that is displayed thereafter.
 
1 members found this post helpful.
Old 07-03-2013, 04:21 PM   #3
Toadman
Member
 
Registered: Aug 2002
Location: Texas
Distribution: Ubuntu 14.04 LTS
Posts: 166

Original Poster
Rep: Reputation: 15
[chris@localhost ~]$ uname -a -m -p
Linux localhost.localdomain 2.6.33.7-desktop586-2mnb #1 SMP Mon Sep 20 18:19:58 UTC 2010 i686 i686 i386 GNU/Linux

Jul 3 16:18:16 localhost kernel: usb 5-8.4: new high speed USB device using ehci_hcd and address 23
Jul 3 16:18:16 localhost kernel: usb 5-8.4: New USB device found, idVendor=04e8, idProduct=6860
Jul 3 16:18:16 localhost kernel: usb 5-8.4: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Jul 3 16:18:16 localhost kernel: usb 5-8.4: Product: SAMSUNG_Android_SGH-I747
Jul 3 16:18:16 localhost kernel: usb 5-8.4: Manufacturer: SAMSUNG
Jul 3 16:18:16 localhost kernel: usb 5-8.4: SerialNumber: 1f09220f

I went ahead and installed mtpfs but did notice that in MCC the phones still not recognized. I have my voice recorder with a mini-sd card plugged into one of the usb ports and both those are recognized under hard drives as well as my free agent go drive that I use for backup.

Last edited by Toadman; 07-03-2013 at 04:50 PM.
 
Old 07-03-2013, 04:27 PM   #4
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,981

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
ok... now try to click on the fone to allow usb sharing to see if more junk related to mtp is printed in /var/log/messages.

also, try setting the fone to ptp mount.
 
Old 07-03-2013, 05:06 PM   #5
Toadman
Member
 
Registered: Aug 2002
Location: Texas
Distribution: Ubuntu 14.04 LTS
Posts: 166

Original Poster
Rep: Reputation: 15
It looks the same
MTP
Jul 3 17:02:05 localhost kernel: usb 5-8.4: USB disconnect, address 34
Jul 3 17:02:05 localhost kernel: usb 5-8.4: new high speed USB device using ehci_hcd and address 35
Jul 3 17:02:06 localhost kernel: usb 5-8.4: New USB device found, idVendor=04e8, idProduct=6860
Jul 3 17:02:06 localhost kernel: usb 5-8.4: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Jul 3 17:02:06 localhost kernel: usb 5-8.4: Product: SAMSUNG_Android_SGH-I747
Jul 3 17:02:06 localhost kernel: usb 5-8.4: Manufacturer: SAMSUNG
Jul 3 17:02:06 localhost kernel: usb 5-8.4: SerialNumber: 1f09220f

PTP
Jul 3 17:03:39 localhost kernel: usb 5-8.4: USB disconnect, address 37
Jul 3 17:03:39 localhost kernel: usb 5-8.4: new high speed USB device using ehci_hcd and address 38
Jul 3 17:03:39 localhost kernel: usb 5-8.4: New USB device found, idVendor=04e8, idProduct=6865
Jul 3 17:03:39 localhost kernel: usb 5-8.4: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Jul 3 17:03:39 localhost kernel: usb 5-8.4: Product: SAMSUNG_Android_SGH-I747
Jul 3 17:03:39 localhost kernel: usb 5-8.4: Manufacturer: SAMSUNG
Jul 3 17:03:39 localhost kernel: usb 5-8.4: SerialNumber: 1f09220f
 
Old 07-03-2013, 05:24 PM   #6
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,981

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
i was able to mount my nexus-7 on fedora-19 after installing simple-mtpfs.
 
Old 07-03-2013, 05:27 PM   #7
Toadman
Member
 
Registered: Aug 2002
Location: Texas
Distribution: Ubuntu 14.04 LTS
Posts: 166

Original Poster
Rep: Reputation: 15
In the readme for MTPFS there is this
How to mount a filesystem
-------------------------

To mount a device run:

mtpfs <mount_point>

To unmount do:

fusermount -u <mount_point>

That's fine but what is the mount point for the phone?
 
Old 07-03-2013, 05:36 PM   #8
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,981

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
Code:
mkdir /path/to/whatever-floats-your-boat
## plug in fone
mtpfs /path/to/whatever-floats-your-boat
i just tested it out and mtpfs was very slow for me and didnt list all the directories. i noticed something called simple-mtpfs in the repos which seems newer and it worked better.

i usually use apps like: airdroid / keis air / andftp / sshdroid / file expert ... to transfer stuff to my ssh server via wifi.
 
1 members found this post helpful.
Old 07-03-2013, 07:22 PM   #9
Toadman
Member
 
Registered: Aug 2002
Location: Texas
Distribution: Ubuntu 14.04 LTS
Posts: 166

Original Poster
Rep: Reputation: 15
So, did this
mkdir /home/chris/jphone
plugged in phone
mtpfs /home/chris/jphone

[chris@localhost ~]$ mtpfs jphone
fuse: bad mount point `jphone': Transport endpoint is not connected

I now have an icon on the desktop that is the same as I have for my go drive however it won't open, give error as above. And could not get it to go away until I did a restart.

Tried again, after connecting phone got this
Sorry, could not display all the contents of "jphone": Transport endpoint is not connected

Ok, what I did manage to do is to get a directory of the phone using the above commands then ls -l however opening any of the folders shows them as empty. At least I can now get a directory of folders doing it this way and also using Gnome Commander I can get a list of folders but again they all show as empty.

Last edited by Toadman; 07-03-2013 at 07:55 PM.
 
Old 07-03-2013, 08:14 PM   #10
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,981

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
i had kinda' the same experience -- maybe mtpfs is being phased out. i did a search in the repos for for mtp and came across something called simple-mtpfs (is it available for mandriva ?). after i installed it i was able to see the contents of my nexus via nautilus (no command-line necessary).
 
1 members found this post helpful.
Old 07-03-2013, 08:44 PM   #11
Toadman
Member
 
Registered: Aug 2002
Location: Texas
Distribution: Ubuntu 14.04 LTS
Posts: 166

Original Poster
Rep: Reputation: 15
Thanks, now it no longer sees the phone again. I'm tired of messing with it tonight, had surgery on my leg Monday and have this big boot on my foot, thought I'd just be able to 'plug-n-play' her phone apparently that's not the case. I surely appreciate you taking the time to help me with this maybe tomorrow when I have a clearer head I'll tackle it again. Again, thanks very much for the help, you got me further than I was before I posted.

Chris
 
Old 07-04-2013, 08:33 AM   #12
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,981

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
yeah i'm frustrated as well. mtp is buggy. not sure why google decided that usb mounting was no good.

so now i try to use wireless methods to transfer data whenever possible.
 
Old 07-04-2013, 09:15 AM   #13
Toadman
Member
 
Registered: Aug 2002
Location: Texas
Distribution: Ubuntu 14.04 LTS
Posts: 166

Original Poster
Rep: Reputation: 15
Hooking my SII up and running mtp-detect I do get this at the beginning then it detects the phone, there is lots of other info in between but too many characters to post.

Code:
[chris@localhost ~]$ mtp-detect
libmtp version: 1.0.2

Listing raw device(s)
libusb couldn't open USB device /dev/bus/usb/001/006: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/004/002: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/005/002: Permission denied.
libusb requires write access to USB device nodes.
Device 0 (VID=04e8 and PID=6860) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
   Found 1 device(s):
   04e8:6860 @ bus 1, dev 31
Attempting to connect device(s)
USB low-level info:
   Using kernel interface "dummy"
MTP-specific device properties:
   Friendly name: SGH-I777
   Synchronization partner: Longhorn Sync Engine
   Battery level 63 of 100 (63%)
libmtp supported (playable) filetypes:
   ISO MPEG-1 Audio Layer 3
   Microsoft Windows Media Audio
   Microsoft Windows Media Video
   JPEG file
   Abstract Playlist file
   GIF bitmap file
   Audio Video Interleave
   MPEG video stream
   Microsoft Advanced Systems Format
   MPEG-4 Part 14 Container Format (Audio+Video Emphasis)
   Abstract Album file
OK.
Interesting, I restarted her SIII ran mtp-detect and got:

Code:
MTP-specific device properties:
   Friendly name: SAMSUNG-SGH-I747
   Synchronization partner: Longhorn Sync Engine
   Battery level 97 of 100 (97%)
libmtp supported (playable) filetypes:
   ISO MPEG-1 Audio Layer 3
   Microsoft Windows Media Audio
   Microsoft Windows Media Video
   JPEG file
   Abstract Playlist file
   GIF bitmap file
   Audio Video Interleave
   MPEG video stream
   Microsoft Advanced Systems Format
   MPEG-4 Part 14 Container Format (Audio+Video Emphasis)
   Abstract Album file

Secure Time:
<DRMCLOCK type="status"><VALUE>#20130704 14:05:12Z#</VALUE><FLAG>DRM_CLK_NOT_SET</FLAG></DRMCLOCK>
OK.
So, after a restart the device is detected, I run [chris@localhost ~]$ mtpfs -o allow_other /home/chris/jphone but I still get

[chris@localhost ~]$ cd jphone
bash: cd: jphone: Transport endpoint is not connected
[chris@localhost ~]$

Of course I get the same with my SII
[chris@localhost ~]$ mtpfs -o allow_other /home/chris/cphone
[chris@localhost ~]$ cd cphone
bash: cd: cphone: Transport endpoint is not connected

But, with my SII I can just open the settings>wireless and network>USB utilities and connect to the computer. Her's has no such option unfortunately.

Oddly enough I've just discovered that in PTP mode I can access the internal SD card on her phone with GTKam but for some reason the ext sdcard can't be accessed.

Last edited by Toadman; 07-04-2013 at 10:27 AM. Reason: Adding Info
 
Old 07-07-2013, 03:18 AM   #14
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,257
Blog Entries: 54

Rep: Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841
Moved: This thread is more suitable in the Linux Mobile forum and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 07-07-2013, 12:39 PM   #15
T.Boyle
LQ Newbie
 
Registered: Jul 2013
Posts: 8

Rep: Reputation: 20
I stopped using mtp because it is buggy. I use Airdroid or File Expert HD both in google play store. Both allow you to transfer files between phone and PC and vice-versa.
 
  


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
Connecting to Samsung I747m ( Canadian Galaxy S III ) mbrowell Ubuntu 0 04-21-2013 09:44 AM
[SOLVED] slackware 14 - how to mount Samsung Galaxy S3 as usb magicm Slackware 11 03-02-2013 04:17 PM
[SOLVED] No files listed after connecting Samsung Galaxy S II via USB glupa4e Slackware 4 07-21-2012 08:53 AM
USB to RS232 convertor for Samsung Galaxy TAB djdas Linux - Hardware 2 02-16-2012 11:15 PM
[SOLVED] Connecting Samsung Galaxy tab in Ubuntu maxxx15 Linux - Mobile 2 11-03-2011 07:42 AM


All times are GMT -5. The time now is 04:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration