Saya mencoba menghubungkan ponsel Google Pixel, dengan android 7.1, ke laptop Ubuntu 16.04 dengan kabel USB menggunakan mtp-tools. Tetapi mtp tidak melihat sistem file telepon dan memberikan pesan kesalahan "Dapatkan informasi Penyimpanan gagal".
Kemudian coba alat mtp ...
# mtp-detect
libmtp version: 1.1.10
Listing raw device(s)
Device 0 (VID=18d1 and PID=4ee1) is a Google Inc (for LG Electronics/Samsung) Nexus 4/5/7/10 (MTP).
Found 1 device(s):
Google Inc (for LG Electronics/Samsung): Nexus 4/5/7/10 (MTP) (18d1:4ee1) @ bus 2, dev 17
Attempting to connect device(s)
Android device detected, assigning default bug flags
Error 1: Get Storage information failed. ***** ???
USB low-level info:
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 18d1
idProduct: 4ee1
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
... many lines omitted ...
# mtp-connect
libmtp version: 1.1.10
Device 0 (VID=18d1 and PID=4ee1) is a Google Inc (for LG Electronics/Samsung) Nexus 4/5/7/10 (MTP).
Android device detected, assigning default bug flags
Usage: connect <command1> <command2>
Commands: --delete [filename]
--sendfile [source] [destination]
--sendtrack [source] [destination]
--getfile [source] [destination]
--newfolder [foldername]
# mtp-filetree
Device 0 (VID=18d1 and PID=4ee1) is a Google Inc (for LG Electronics/Samsung) Nexus 4/5/7/10 (MTP).
Attempting to connect device(s)
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Device: (NULL)
LIBMTP_Get_Storage(): Resource temporarily unavailable
OK.
Dalam hal ini berguna ...
cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee1", MODE="0666", OWNER="sullivan"
Terima kasih banyak atas sarannya!