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

    Hi
    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: Ive never had problems connecting via sftp to the device or by
    running sshdroid on the device to transfer via a network.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.38-0.5-default
    up 2 days 20:16, 3 users, load average: 2.33, 2.32, 2.33
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU
    This article was originally published in forum thread: [HowTo] Connecting an Android device for file transfer started by malcolmlewis View original post