This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mission:log:2014:10:09:oneplus-one-mtp-automount-with-gentoo [2014-10-09 16:59] – chrono | mission:log:2014:10:09:oneplus-one-mtp-automount-with-gentoo [2016-08-09 13:36] (current) – chrono | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Since the Android folks decided that MTP should be the way to connect Android devices via USB I ran into some trouble while trying to get comfortable access to the OnePlus One. There are a couple of forum threads and blog entries out there how to hack some udev rules and use scripts that try to automount the MTPFS. Some recommend mtpfs others use go-mtpfs or jmtpfs. I've tried them all and the result was still not what I wanted to have. Why can't I just plug it in and have it pop up in thunar, like any other USB/Flash device? | Since the Android folks decided that MTP should be the way to connect Android devices via USB I ran into some trouble while trying to get comfortable access to the OnePlus One. There are a couple of forum threads and blog entries out there how to hack some udev rules and use scripts that try to automount the MTPFS. Some recommend mtpfs others use go-mtpfs or jmtpfs. I've tried them all and the result was still not what I wanted to have. Why can't I just plug it in and have it pop up in thunar, like any other USB/Flash device? | ||
| - | Well, the answer is simple: Because I have forgotten to supply the mtp USE flag for gvfs, which manages all mounting related tasks in Xfce4 for me. I also switched to libmtp-9999, | + | Well, the answer is simple: Because I have forgotten to supply the mtp USE flag for gvfs, which manages all mounting related tasks in Xfce4 for me. <del>I also switched to libmtp-9999, |
| Since it's basically a per machine decision, whether it's probable, that it will ever have to mount an MTP device, just put mtp into your global USE flags in / | Since it's basically a per machine decision, whether it's probable, that it will ever have to mount an MTP device, just put mtp into your global USE flags in / | ||
| - | < | + | Let's see how that would play out: |
| - | $ echo " | + | |
| - | </ | + | |
| < | < | ||
| Line 18: | Line 16: | ||
| < | < | ||
| - | [ebuild | + | [ebuild |
| [ebuild | [ebuild | ||
| </ | </ | ||
| Line 24: | Line 22: | ||
| After the emerge and logout/ | After the emerge and logout/ | ||
| - | Connected to a Thinkpad x230 USB 2.0 port it sustained about 29MB/s read transfer rate (copying OnePlus One 4k videos to the Thinkpad' | + | Connected to a Thinkpad x230 USB 2.0 port it sustained about 29MB/s read transfer rate (copying OnePlus One 4k videos to the Thinkpad' |
| {{tag> | {{tag> | ||