[HowTo] Connecting an Android device for file transfer on SLED 11 SP2
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;
http://research.jacquette.com/jmtpfs…ces-and-linux/
So, I’ve created an rpm on the Open Build Service available here;
http://software.opensuse.org/package…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. # user_allow_other
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.
Comments
Very nice! Thanks. Unfortunately Banshee does not recognize the device, neither with the .is_audio_player file on the root folder.