GNU/Linux >> Linux Esercitazione >  >> Ubuntu

Far funzionare Mtp con un Galaxy Tab 2 7.0?

Sto cercando di ottenere MTP con la scheda Galaxy 2 7.0 che funziona sulla mia installazione di Ubuntu. In modo tale da poter accedere ai file.

Ho provato a fare ciò che è descritto qui:

http://www.omgubuntu.co.uk/2011/12/how-to-connect-your-android-ice-cream-sandwich-phone-to-ubuntu-for-file-access

Tuttavia, non riesco a eseguire uno dei seguenti comandi

mtp-detect | grep idVendor
mtp-detect | grep idProduct

Questo non riesce

[20:42|0] $ mtp-detect | grep idVender
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
[20:44|0] $ mtp-detect | grep idProduct
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0

Ora la mia ipotesi era che idVender fosse lo stesso di VID (04e8) e idProduct fosse lo stesso di PID (6860). Ora ho continuato a lavorare con quei valori e ho completato il tutorial. Al termine ho provato

android-connect

Questo è tornato

fuse: bad mount point `/media/GalaxyTab': Transport endpoint is not connected

Qualcuno ha idea di cosa fare? Inoltre, voglio notare che quando collego il mio GalaxyTab 2 7.0 ricevo ancora un pop-up di Ubuntu che indica che era collegato un dispositivo. Riesco anche a vedere la struttura della mappa, il problema è che tutte le cartelle hanno 0 byte e non hanno sottocartelle. Posso vedere solo le cartelle nella radice.

ps. Ho anche controllato una domanda simile e ho provato ciò che è descritto in questa risposta https://askubuntu.com/a/88630/27480

— 2012-09-18 — Modifica —
Utilizzo di go-mtpfs, descritto nella prima risposta, http://linuxundich.de/de/android/mit-go-mtpfs-unter-linux-auf-android- handys-via-mtp-zugreifen/, ho ottenuto quanto segue per il mio Samsung Galaxy SII

[23:21|0] $ go-mtpfs android
2012/09/18 23:21:58 compiled against libmtp 1.1.3
Device 0 (VID=04e8 and PID=6865) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
2012/09/18 23:21:58 device unknown: unknown (04e8:6865) @ bus 1, dev 7
: 
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
2012/09/18 23:22:18 rdev.open: open: open returned nil

Anche per il Samsung Galaxy Tab 2 7.0 non ha funzionato...

[23:31|0] $ go-mtpfs android
2012/09/18 23:31:03 compiled against libmtp 1.1.3
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
2012/09/18 23:31:03 device Samsung: GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note (04e8:6860) @ bus 1, dev 11
: 
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
2012/09/18 23:33:04 rdev.open: open: open returned nil

Anche jmtpfs non ha funzionato 🙁

[23:42|0] $ jmtpfs ~/android/
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
terminate called after throwing an instance of 'MtpErrorCantOpenDevice'
  what():  Can't open device
Aborted (core dumped)

Risposta accettata:

Aggiornamento: È ora disponibile un backend MTP GVFS. L'autore fornisce anche un PPA.

Correlati:qual è la differenza tra i metodi taskel e quelli normali?

Ho già scritto di go-mptfs lì.

L'autore ha recentemente scritto un altro articolo con un altro jmptfs alternativo. Sta scrivendo in tedesco ma penso che i comandi che usa dovrebbero essere autoesplicativi, altrimenti sarebbe sufficiente la traduzione automatica.

Ovviamente puoi semplicemente dare un'occhiata ai siti del progetto originale:

  • https://github.com/hanwen/go-mtpfs
  • http://research.jacquette.com/jmtpfs-exchange-files-between-android-devices-and-linux/

Potrebbe essere uno di quelli che funzionano per te.


Ubuntu
  1. Ottenere 256 colori per funzionare in Tmux?

  2. Freebsd:far funzionare correttamente il mastice con Freebsd?

  3. Problemi con la configurazione della crittografia durante l'aggiornamento?

  4. Come far funzionare la webcam con Ubuntu 14.04?

  5. Come iniziare con Juju?

Iniziare con Tmux

Guida introduttiva a WP-CLI su Ubuntu 15.10

Iniziare con systemctl

Lavorare con più schede di terminale in Ubuntu

Guida introduttiva al filesystem ZFS su Ubuntu 19.10

Come ottenere una connessione Mtp funzionante per Galaxy S2 in 12.04??