Code Monkey home page Code Monkey logo

Comments (5)

hanwen avatar hanwen commented on August 12, 2024

It's not hard to implement but I was too lazy to think about the user
interface. I might look at this on the new year.

Cheers!
On Dec 26, 2012 5:59 AM, "wraithbb" [email protected] wrote:

Hello,

First of all I would like to say, that go-mtpfs is great - I can finally
use my android devices on Ubuntu. But I have a question that I could not
found the answer. It is possible to mount more than one device using
go-mtpfs?

I followed this tutorial to automount my Nexus7/Galaxy S3
http://bernaerts.dyndns.org/linux/247-ubuntu-automount-nexus7-mtp, and
everything works fine, until i connect two devices at the same time. First
is mounted, second not.

When i run mount command in terminal I get following output:
go-mtpfs -allow-other=true /media/Nexus7
2012/12/26 05:43:42 compiled against libmtp 1.1.5
Device 0 (VID=18d1 and PID=4e41) is a Google Inc (for Asus) Nexus 7 (MTP).
Device 1 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
2012/12/26 05:43:42 device Google Inc (for Asus): Nexus 7 (MTP)
(18d1:4e41) @ bus 1, dev 5
:
2012/12/26 05:43:42 device Samsung: Galaxy models (MTP) (04e8:6860) @ bus
2, dev 3
:
2012/12/26 05:43:42 must have exactly one device

Is there any way to mount more than one device?


Reply to this email directly or view it on GitHubhttps://github.com//issues/15.

from go-mtpfs.

hanwen avatar hanwen commented on August 12, 2024

I've added a -dev flag. Can you see if that works for you?

from go-mtpfs.

tkubicz avatar tkubicz commented on August 12, 2024

It works perfect. Thank you very much :)

from go-mtpfs.

themrb avatar themrb commented on August 12, 2024

wraithbb, could you please share your 99-android.rules file? I can't quite get it to work for my Galaxy S3 following the guide.

Running the command manually gives me:
2013/02/17 17:09:08 OpenSession failed: LIBUSB_ERROR_IO; attempting reset
2013/02/17 17:09:08 Configure failed: OpenSession after reset: LIBUSB_ERROR_IO

This is my rules file
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0666" # MTP media

ENV{ID_MODEL}=="SAMSUNG_Android", ENV{ID_MODEL_ID}=="6860", ACTION=="add", RUN+="/usr/bin/sudo -b -u mylogin /usr/local/sbin/go-mtpfs -allow-other=true /media/Android"

ENV{ID_MODEL}=="SAMSUNG_Android", ENV{ID_MODEL_ID}=="6860", ACTION=="remove", RUN+="/bin/umount /media/Android"

from go-mtpfs.

hanwen avatar hanwen commented on August 12, 2024

@themrb - there is a new bug for samsung issues at #29

from go-mtpfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.