GNU/Linux >> Linux の 問題 >  >> Ubuntu

MtpをGalaxyTab2 7.0で動作させるには?

ubuntuのインストールでgalaxytab27.0が機能するMTPを取得しようとしています。ファイルにアクセスできるようにします。

ここで説明されていることを実行しようとしました:

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

ただし、次のコマンドのいずれかを実行できません

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

これは失敗します

[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

今、私の推測では、idVenderはVID(04e8)と同じであり、idProductはPID(6860)と同じです。これで、これらの値を引き続き使用して、チュートリアルを完了しました。終わったら試してみました

android-connect

これが返されました

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

誰かが何をすべきか手がかりを持っていますか?また、GalaxyTab 2 7.0を接続すると、デバイスが接続されたというubuntuのポップアップが表示されることにも注意してください。マップ構造も表示されますが、問題は、すべてのフォルダーに0バイトがあり、サブフォルダーがないことです。ルート内のフォルダしか表示されません。

ps。私も同様の質問をチェックし、この回答に記載されていることを試しましたhttps://askubuntu.com/a/88630/27480

— 2012-09-18 —編集—
最初の回答で説明されているgo-mtpfsを使用して、http://linuxundich.de/de/android/mit-go-mtpfs-unter-linux-auf-android- handys-via-mtp-zugreifen /、SamsungGalaxySIIで次のものを入手しました

[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

Samsung Galaxy Tab 2 7.0の場合、どちらも機能しませんでした…

[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

jmtpfsも機能しませんでした🙁

[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)

承認された回答:

更新: GVFSMTPバックエンドが利用可能になりました。著者はPPAも提供しています。

関連:taskselと通常の方法の違いは何ですか?

go-mptfsについてはすでに書いています。

著者は最近、別の代替jmptfsを使用して別の記事を作成しました。彼はドイツ語で書いていますが、彼が使用するコマンドは自明である必要があります。そうでない場合は、機械翻訳で十分です。

もちろん、元のプロジェクトサイトを見るだけでもかまいません:

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

それらの仕事の1つかもしれません。


Ubuntu
  1. Zshの使用を開始する

  2. LinuxでPostgreSQLを使い始める

  3. 更新中のCryptsetupに問題がありますか?

  1. Tmuxで256色を機能させるには?

  2. Freebsd –パテをFreebsdで適切に動作させるには?

  3. じゅじゅを始めるには?

  1. lsの使用を開始する

  2. Ansibleで仕事中のスリルを一新

  3. WebカメラをUbuntu14.04で動作させる方法は?