[SOLVED] slackware 14 - how to mount Samsung Galaxy S3 as usb
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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]
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
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)
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.
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.
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:
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.
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 :-)
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.