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

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

Share
Share

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;

Code:
#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;

Code:
# 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;

Code:
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.

Share
(Visited 1 times, 1 visits today)

Comments

  • Avatar photo jardsont says:

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

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    Avatar photo
    9,783 views