Comments (8)
concretely, without libmtp:
$ groups dkwo
dkwo : dkwo wheel audio plugdev users _seatd socklog
$ aft-mtp-mount ~/mnt
connect failed: no MTP device found
while it mounts fine with it.
from android-file-transfer-linux.
No, AFTL has its own MTP implementation and does not use libmtp. My wild guess is that it contains udev rules to allow MTP devices to be readable by anyone or plugdev.
Try passing -v to aft-mtp-mount
and check which devices it tries to open
from android-file-transfer-linux.
I see. Without libmtp:
$ lsusb | grep Pixel
Bus 001 Device 015: ID 18d1:4ee1 Google Inc. Nexus/Pixel Device (MTP)
$ aft-mtp-mount -v mnt
connect failed: no MTP device found
$ ls -lt /dev/bus/usb/001
total 0
crw-rw-r-- 1 root root 189, 14 Dec 12 15:06 015
...(similar entries)
from android-file-transfer-linux.
ouch, probably not the best way of fixing that - try extract udev rules into separate package (and call it plugdev for instance).
Then the package will provide user group plugdev and register udev rules. Normally different udev/rules.d could have duplicated code (in case you have plugdev + libmtp installed together), it should just work
from android-file-transfer-linux.
by extract, you mean from libmtp? as I don't see any udev rules in aftl..
if so, then i'd split a subpackage libmtp-tools (containing the binaries) from libmtp (leaving here only usr/lib and udev rules) and make aftl depend on the latter?
from android-file-transfer-linux.
(the libmtp and libmtp-ng should not conflict anyway..)
from android-file-transfer-linux.
I only meant that this set of udev rules would be useful even without AFTL or libmtp. It's just sane to have an access to your pluggable usb device
from android-file-transfer-linux.
thanks for the clarifications. i'll try to split a subpkg of libmtp with just udev rules, and make aftl depend on this.
from android-file-transfer-linux.
Related Issues (20)
- Application does not launch HOT 7
- Even though it is an appimage it still requires these programmes to be installed HOT 1
- App doesn't open on macOS Monterey HOT 6
- Add dark theme HOT 3
- App will not open High Sierra HOT 1
- `vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)` HOT 4
- Is this project active? HOT 2
- unable to unmount device, stuck with unwanted folder HOT 1
- How to mount specific device? HOT 7
- What are the differences between the two AppImage releases? HOT 2
- No "Abort" or "Ignore" buttons in dialog after detecting MTP processes HOT 1
- rmdir deletes non-empty directories recursively HOT 2
- sorry, push mistake, just ignore it
- Special characters in filenames are not escaped and fail to transfer HOT 2
- Bug (?) in Device::FindFirst() HOT 1
- Support uid and gid designation for cli mount? HOT 1
- Help printing is too late HOT 1
- Device not detected HOT 4
- du(1) doesn't work with FUSE 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 android-file-transfer-linux.