Comments (5)
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 deviceIs 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.
I've added a -dev flag. Can you see if that works for you?
from go-mtpfs.
It works perfect. Thank you very much :)
from go-mtpfs.
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.
@themrb - there is a new bug for samsung issues at #29
from go-mtpfs.
Related Issues (20)
- the directory containing `libusb-1.0.pc' HOT 1
- Question: Installation HOT 1
- Cannot build on Fedora 31 HOT 1
- Errors on first read HOT 2
- cannot find package "github.com/hanwen/go-fuse/v2/fs" HOT 4
- Cannot build on Fedora 31: go get error message: libusb_set_debug is deprecated HOT 1
- Not updating file list for new files HOT 1
- Not able to list the devices. HOT 5
- Progress callback for SendObject and GetObject HOT 6
- failed to access mountpoint: Transport endpoint is not connected HOT 3
- What is the fastest way to get the total file count in a file tree?
- build fails, instructions not enough...
- Build broken for latest versions of go
- many errors
- panic: runtime error: slice bounds out of range [:-99] HOT 3
- Connection drops after a while HOT 2
- rmdir on a non-empty directory does "rm -rf" rather than fail with an error HOT 1
- Detects Samsung Galaxy A12 but "no storage device found". HOT 1
- Encrypted names
- Mount `/` instead of `/storage/emulated/0/` HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-mtpfs.