SUSE Conversations

[HowTo] Connecting an Android device for file transfer on SLED 11 SP2

By: coolguys-suse

April 9, 2013 9:28 am




Connecting my ASUS Transformer android device via USB is fine via PTP
for the pictures, however a bit flaky via MTP (using mtpfs). A user on
the openSUSE forums indicated there was also a modified version called
jmtpfs here;…ces-and-linux/

So, I’ve created an rpm on the Open Build Service available here;…ch_term=jmtpfs

I’ve included a base udev rule, which will need your own idVendor and
idProduct numbers added;

#Android devices - UDEV Rule

# For ASUS Transformer TF101
SUBSYSTEM=="usb", ATTRS{idVendor}=="0b05", ATTRS{idProduct}=="4e0f", SYMLINK+="libmtp-%k", MODE="0666", GROUP="users"
RUN+="udev-acl --action=$env{action} --device=$env{DEVNAME}"

I’ve also added a default /etc/fuse.conf;

# Allow non-root users to specify the 'allow_other' or 'allow_root'
# mount options.

This enables mounting and unmounting via, for example;

jmtpfs -o allow_other ~/transformer

fusermount -u ~/transformer

You do need to create your mount point.

Note: I’ve never had problems connecting via sftp to the device or by
running sshdroid on the device to transfer via a network.

Editor’s Note:  This article was originally posted in the Support Forums, and was last updated on 27 August 2012.

VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)
[HowTo] Connecting an Android device for file transfer on SLED 11 SP2, 5.0 out of 5 based on 1 rating

Tags: ,
Categories: SUSE Linux Enterprise Desktop, Technical Solutions

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

1 Comment

  1. By:jardsont

    Very nice! Thanks. Unfortunately Banshee does not recognize the device, neither with the .is_audio_player file on the root folder.