linux:android:mtp
Inhaltsverzeichnis
Ref
Install
sudo apt-get install libmtp-common mtp-tools libmtp-dev libmtp-runtime libmtp9 android-file-transfer
Get Device Info
lsusb Bus 002 Device 034: ID 18d1:4ee1 Google Inc. Nexus Device (MTP) Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver Bus 001 Device 002: ID 1e7d:2fa8 ROCCAT ROCCAT Suora Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Conf
sudo vi /etc/fuse.conf ... # Set the maximum number of FUSE mounts allowed to non-root users. # The default is 1000. #mount_max = 1000 # Allow non-root users to specify the allow_other or allow_root mount options. user_allow_other ...
sudo vi /lib/udev/rules.d/69-libmtp.rules
...
# Fairphone 4
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee1", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
...
sudo vi /lib/udev/rules.d/51-android.rules
...
#Fairphone 4
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee1", MODE=”0666"
...
linux/android/mtp.txt · Zuletzt geändert: von wikiadm
