LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Problems mounting Google Nexus 7 (http://www.linuxquestions.org/questions/slackware-14/problems-mounting-google-nexus-7-a-4175461614/)

arubin 05-12-2013 04:39 AM

Problems mounting Google Nexus 7
 
I want to transfer files to my Google Nexus 7. This is straightforward using Windows 7. MTP on the device is enabled.

I have created a file 99-android.rules with

Quote:

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"
I have installed mtp and upgraded libmtp.

Running mtpfs mtp gives me

Quote:

Unable to open ~/.mtpz-data for reading, MTPZ disabled.Listing raw device(s)
Device 0 (VID=18d1 and PID=4e41) is a Google Inc (for Asus) Nexus 7 (MTP).
Found 1 device(s):
Google Inc (for Asus): Nexus 7 (MTP) (18d1:4e41) @ bus 2, dev 3
Attempting to connect device
Android device detected, assigning default bug flags
Listing File Information on Device with name: (NULL)
It then shows a directory structure which seems to correspond to what is on the tablet but no files are shown and it does not seem to be possible to copy anything to the device.

Help please

arubin 05-12-2013 06:04 AM

I have found a solution to this after much browsing and trial and error.

Installed kio-mtp from current

Edited /usr/share/apps/solid/actions/solid_mtp.desktop

Changed
Quote:

Exec=kioclient exec mtp:udi=%i/
to
Quote:

Exec=dolphin "mtp:/"
Thanks to Arch WIKI

Mark Pettit 05-12-2013 01:21 PM

Hmm - your solution is for KDE only. Perhaps fine for you, but I'm sure not for everyone. Take a look at go-mtpfs (https://github.com/hanwen/go-mtpfs). This is a fuse-based utility, written in Google's 'go' language. I had huge battles with mtp in recent versions of Android - this works. And it's desktop-agnostic.

arubin 05-12-2013 01:51 PM

I saw that but in the absence of a Slackbuild I was too lazy to try and install it.
:-)

Mark Pettit 05-12-2013 02:14 PM

They do provide a compiled binary - both 32 and 64 bit.

arubin 05-12-2013 04:14 PM

Doesn't really work for me. It does mount and sees the files but reads and writes seem extraordinarily slow.

Mark Pettit 05-13-2013 02:06 AM

I must confess that I stopped using a USB cable to transfer stuff to Android quite a while back, initially because of MTP frustrations - which were technically solved by go-mtpfs - I moved over to using sshdroid on Android and then sshfs to mount. This gave the dual ability of running ssh terminal sessions to Android, as well as file transfer capability. And at network speeds of 2 to 5 MegaBytes/sec. Seems adequate. At least there are options :-)


All times are GMT -5. The time now is 04:31 PM.