[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mounting a Samsung Galaxy S3.



On Sun, 6 Oct 2013 10:34:20 +0100
Sharon Kimble <boudiccas@talktalk.net> wrote:

> I have a Samsung Galaxy S3 which I am attempting to connect to, but it
> uses the mtp protocol. So after much googling I have
> created /etc/udev/rules.d/51-android.rules which says
> `SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860",
> MODE="0600", OWNER="boudiccas"` and have also installed - mtp-tools,
> libmtp9, libmtp-runtime, mtpfs, kio-mtp, libmtp-common - from
> 'testing' repo. 
> 
> When I run 'lsusb' its shown as - 'Bus 002 Device 032: ID 04e8:6860
> Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-P7500
> [Galaxy Tab 10.1]' so its at least seen and recognised.
> 
> I have then - 'sudo mkdir /media/galaxy
> sudo chmod 775 /media/galaxy' and then tried to mount it with - 
> 'sudo mtpfs -o allow_other /media/galaxy' but this fails saying -
> sudo mtpfs -o allow_other /media/galaxy
> Listing raw device(s)
> Device 0 (VID=04e8 and PID=6860) is a Samsung GT
> P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab
> 7.7/10.1/S2/S3/Nexus/Note/Y. Found 1 device(s): Samsung: GT
> P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab
> 7.7/10.1/S2/S3/Nexus/Note/Y (04e8:6860) @ bus 2, dev 32 Attempting to
> connect device PTP_ERROR_IO: failed to open session, trying again
> after resetting USB interface LIBMTP libusb: Attempt to reset device
> usb_clear_halt() on IN endpoint: Protocol error usb_clear_halt() on
> OUT endpoint: Protocol error usb_clear_halt() on INTERRUPT endpoint:
> Protocol error ignoring usb_claim_interface = -99LIBMTP PANIC: failed
> to open session on second attempt Unable to open raw device 0'
> 
> Has anyone been able to mount this phone under debian please? And has
> anyone got any ideas of what I could try next to mount my phone
> please?
> 
Following up on this. 

With 'usb-debugging' enabled on the phone, its now able to 'copy data
between computer and the device' [quoted from the pop-up on the phone]. 

If you dial '*#7284#' you can enter either PDA-mode or MODEM-mode, the
default is PDA-mode. In PDA-mode lsusb sees it as 'Bus 002 Device 048:
ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II],
GT-P7500 [Galaxy Tab 10.1]' in MODEM-mode its not seen at all.

The phone has two SDcards - an internal, non-removable, one and an
external removable one. 

When the phone and the computer are connected with a usb cable, you get
this - 
nautilus can mount them, but it cant read them. 
dolphin doesn't see them at all
thunar doesn't see them at all
pcmanfm mounts them, and reads them under gphoto2://[usb:002,046]/store_00020002

Success! But I don’t know if creating the udev rule helped or not, and
neither do I know if its using all the extra files I installed from
'testing', but hey, it works!

I'd still like to get it being seen, mounted, and read by nautilus
though as its my file-manager of choice. But two out of three isn’t
bad! :) So if anyone can help getting it read by nautilus, it would be
great!

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://github.com/boudiccas/dots
Debian stable, Fluxbox 1.3.5, LibreOffice  4.1.0.4
Registered Linux user 561944

Attachment: signature.asc
Description: PGP signature


Reply to: