LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-02-2013, 09:12 AM   #1
magicm
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 32

Rep: Reputation: 16
Question slackware 14 - how to mount Samsung Galaxy S3 as usb


Thanks for any guidance in advance.
Subject says it all. Interested in transferring podcasts from my phone for storage. When I plug phone in, I see this in /var/log/messages
Code:
Mar  2 08:23:14 wigwam kernel: [ 3078.946324] usb 2-1.2: new high-speed USB device number 5 using ehci_hcd
Mar  2 08:23:14 wigwam logger: ACPI group battery / action BAT0 is not defined
Mar  2 08:23:14 wigwam kernel: [ 3079.033201] usb 2-1.2: New USB device found, idVendor=04e8, idProduct=6860
Mar  2 08:23:14 wigwam kernel: [ 3079.033208] usb 2-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Mar  2 08:23:14 wigwam kernel: [ 3079.033215] usb 2-1.2: Product: SAMSUNG_Android_SCH-I535
Mar  2 08:23:14 wigwam kernel: [ 3079.033218] usb 2-1.2: Manufacturer: SAMSUNG
Mar  2 08:23:14 wigwam kernel: [ 3079.033221] usb 2-1.2: SerialNumber: 3404b2dc
Mar  2 08:23:14 wigwam kernel: [ 3079.035041] cdc_acm 2-1.2:1.1: ttyACM0: USB ACM device
Mar  2 08:23:14 wigwam modem-manager[2166]: <info>  (ttyACM0) opening serial port... 
Mar  2 08:23:17 wigwam modem-manager[2166]: <info>  (ttyACM0) closing serial port... 
Mar  2 08:23:17 wigwam modem-manager[2166]: <info>  (ttyACM0) serial port closed 
Mar  2 08:23:17 wigwam modem-manager[2166]: <info>  (ttyACM0) opening serial port... 
Mar  2 08:23:17 wigwam modem-manager[2166]: <info>  (Generic): GSM modem /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 claimed port ttyACM0 
Mar  2 08:23:17 wigwam modem-manager[2166]: <info>  (ttyACM0) closing serial port... 
Mar  2 08:23:17 wigwam modem-manager[2166]: <info>  (ttyACM0) serial port closed 
Mar  2 08:23:17 wigwam NetworkManager[2147]: <info> (ttyACM0): new GSM/UMTS device (driver: 'cdc_acm' ifindex: 0)
Mar  2 08:23:17 wigwam NetworkManager[2147]: <info> (ttyACM0): exported as /org/freedesktop/NetworkManager/Devices/4
Mar  2 08:23:17 wigwam NetworkManager[2147]: <info> (ttyACM0): now managed
Mar  2 08:23:17 wigwam NetworkManager[2147]: <info> (ttyACM0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Mar  2 08:23:17 wigwam NetworkManager[2147]: <info> (ttyACM0): deactivating device (reason 'managed') [2]
Mar  2 08:23:17 wigwam NetworkManager[2147]: <info> (ttyACM0): device state change: unavailable -> disconnected (reason 'none') [20 30 0]
Mar  2 08:23:21 wigwam logger: ACPI group battery / action BAT0 is not defined
Got and comipled mtpfs from SlackBuilds - an it reports
Code:
bash-4.2$ mtpfs
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
   Found 1 device(s):
   Samsung: GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note (04e8:6860) @ bus 2, dev 5
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
lsusb reports
Code:
bash-4.2$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 001 Device 005: ID 17ef:480f Lenovo Integrated Webcam [R5U877]
Bus 001 Device 008: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
Bus 002 Device 005: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-P7500 [Galaxy Tab 10.1]
What should I try next? Thx again.
 
Old 03-02-2013, 10:28 AM   #2
bosth
Member
 
Registered: Apr 2011
Posts: 222

Rep: Reputation: 68
Have you turned on USB mass storage on your phone? I'm using Cyanogen mod on an SII so my menus are probably a bit different but here is the procedure anyhow:
Settings->Storage->USB computer connection->Mass storage
 
Old 03-02-2013, 10:48 AM   #3
magicm
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 16
Thx for your reply. But, as you suggested, my menus are different. Phone not rooted. From the phone's view when I plug it in, it reports "Connected as a media device/Touch for other USB options". When I make that selection, it reports "USB PC Connection" / Connect as ... with a checkbox choices of
  • Media device (MTP) <selected>
  • Camera (PTP)
I suppose that I should mention that I have no issues mounting from Windows (xp, or 7)
 
Old 03-02-2013, 11:19 AM   #4
bosth
Member
 
Registered: Apr 2011
Posts: 222

Rep: Reputation: 68
Yeah, I've always been able to mount my two Android phones as USB mass storage devices on Linux by just selecting that option in the phone, but perhaps the SIII doesn't support this?

I'd guess that on Windows, it is using MTP, which I've never used on Linux. By the way, if you install F-Droid, there's a FTP Server application so you can transfer files over wifi without needing to physically connect your phone.
 
Old 03-02-2013, 11:42 AM   #5
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 428

Rep: Reputation: 123Reputation: 123
In my humble opinion, I think the current libmtp and implementations based on this is totally broken on current linuxes. I tried going to the latest (unreleased) version, but that broke numerous things on Slackware (like mounting devices). The I found "go-mtpfs" - you will need to google for it - this is the only thing that works fairly reliably. That said, I think you're better off running sshdroid on the phone, and then mounting it with sshfs.
 
Old 03-02-2013, 12:10 PM   #6
magicm
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 16
bosth - I don't think that I can get around MTP on the Galaxy S III

Mark Petit - thx - will look into both go-mtpfs, sshfs (I'd need to add SSHDroid on the phone, and sshfs-fuse on Slackware, wouldn't I?).
 
Old 03-02-2013, 12:16 PM   #7
bosth
Member
 
Registered: Apr 2011
Posts: 222

Rep: Reputation: 68
magicm - I also use ssh for my file transfers: Dropbear on Android (might require root?). I just use scp to copy media over, so no extra Slackware packages are needed:
Code:
scp /home/bosth/podcasts/*.mp3 192.168.0.100:/sdcard/media
The only caveat is that Android's media subsystem won't be aware of the new files until you force a rescan of your sdcard, but there are applications for that too.
 
Old 03-02-2013, 12:37 PM   #8
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 428

Rep: Reputation: 123Reputation: 123
You don't need root for sshdroid - it would then default to port 2222 instead of port 22. But, you're a slacker, and that makes you special. So root the phone and show it who's the boss :-)
 
Old 03-02-2013, 02:31 PM   #9
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 324

Rep: Reputation: 49
I gave up trying to get MTP to work - the ssh app I use works really well.

Perhaps you can you back the podcasts up to somewhere like Dropbox and download to your S3 from there.
 
Old 03-02-2013, 03:25 PM   #10
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 867

Rep: Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747
If your computer has bluetooth, that's another option. And if it doesn't, a USB bluetooth adapter can be found online for less than 5 dollars.
 
Old 03-02-2013, 03:46 PM   #11
vigi
Member
 
Registered: May 2009
Location: australia
Distribution: slackware
Posts: 177

Rep: Reputation: 27
I am using a toshiba netbook with slack_current. To transfer files from my samsung galaxy P6800 7.7" tablet phone, i would reboot the netbook into win xp.

What a terrific surprise, with the update of kde to version 4.10 it now interacts through dolphin. No need to reboot. Thank you mr volkerding.
 
Old 03-02-2013, 04:17 PM   #12
magicm
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 16
Thanks everyone for all replies. Managed to get this to work by installing SSHDroid on my phone, and then sftp from a console on my laptop, so please mark this solved. HooRay!

Didn't think about Dropbox (use SugarSync on Windows & phone, but the same idea). Need to set that up in Slackware.
Didn't think about bluetooth, either (my laptop does have it, and have a bluetooth mouse configured).
Will try both, just to see which is more to my liking.

Need to learn to think more about how many ways there might be to get something done, when the obvious doesn't work out.
There's a lesson for me...

Will remove mtpfs, as I don't see the point of having installed something that I can't get to work.

volkerdi - thank you so much for Slackware, it just gets better all the time.
 
  


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
Samsung Galaxy Note II malloc Linux - Hardware 2 12-25-2012 11:49 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
How do you manually mount a PC to access a Samsung Galaxy S phone mass storage? jbhmags Linux - Newbie 1 05-27-2011 09:59 PM
Samsung Galaxy S moromendas01 Linux - Mobile 3 01-30-2011 07:20 PM


All times are GMT -5. The time now is 08:32 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