2013-01-07 2 views
6

MTP를 통해 데비안 Wheezy 박스에 연결된 삼성 갤럭시 Tab2 7.0을 얻으려고합니다. 데 스크ubuntu 페이지의 https://askubuntu.com/questions/186681/getting-mtp-to-work-with-a-galaxy-tab-2-7-0은 정확하게 내 문제이지만 제안 된 것은 없습니다 구제 작업삼성 갤럭시 탭 2 7.0을 리눅스에서 MTP로 설치하기

이 반복하려면 내가 MTP-도구와 mtpfs을 설치 수익률이 MTP 감지 :..

libmtp version: 1.1.3 

Listing raw device(s) 
Device 0 (VID=04e8 and PID=6860) is a Samsung GT P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab 7.7/10.1/S2/S3/Nexus/Note/Y. 
    Found 1 device(s): 
    Samsung: GT P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab 7.7/10.1/S2/S3/Nexus/Note/Y (04e8:6860) @ bus 1, dev 3 
Attempting to connect device(s) 
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 
OK. 

내가 사용 /etc/udev/rules.d/51-android.rules 파일을 만들었을 벤더 ID는 04e8, 디바이스 ID는 6860이다. 나는 위의 하우투를 끝내고 이것을했다 :

mkdir foo 
mtpfs -o allow_other foo 

이제 "ls foo"가 중지됩니다. foo 위의 디렉토리를 체크 아웃하기도한다. 나는 "killall -9 mtpfs"(오래된 sshfs 마운트를 다루는 것과 비슷한)를하지 않고 명령 행을 되돌릴 수 없다. 나는 다음을 본다 :

ls: cannot access foo: Transport endpoint is not connected 

시도한 결과는 https://askubuntu.com/a/88630/27480이고 같은 결과를 얻었다. https://github.com/hanwen/go-mtpfs에서

이동-mtpfs도 실패 https://github.com/kiorky/jmtpfs.git에서

mkdir foo 
./go-mtpfs foo 
2013/01/07 02:39:33 compiled against libmtp 1.1.3 
Device 0 (VID=04e8 and PID=6860) is a Samsung GT P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab 7.7/10.1/S2/S3/Nexus/Note/Y. 
2013/01/07 02:39:33 found device Samsung: GT P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab 7.7/10.1/S2/S3/Nexus/Note/Y (04e8:6860) @ bus 1, dev 3 
: 
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 
2013/01/07 02:41:33 rdev.open failed: open: open returned nil 

jmptfs도 실패

Device 0 (VID=04e8 and PID=6860) is a Samsung GT P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab 7.7/10.1/S2/S3/Nexus/Note/Y. 
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 
+4

내가 libmtp-1.1.5을 위해 MTP가 작동 마운트 수 나중에 업그레이드를 발견 :

내가이 우분투 버그에서 제안 된 해결 방법입니다. 여전히 mtpfs 패키지는 잘못되었습니다. 품질이 좋지 않다는 평판을 얻고있는 것 같습니다. Jmtpfs는 훌륭하게 작동합니다. mtpfs의 제작자가보고있는 경우 프로그램의 내용물을 추출하고 jmtpfs에서 코드를 가져와보십시오. – Frotz

+1

업데이트 해 주셔서 감사합니다. 나는 같은 문제를 겪고 있었다. 어떻게 든 32 비트 버전의 32 비트 버전을 사용하고 있었지만 64 비트 버전으로 다시 설치하면 다시 동일한 문제가 발생합니다. 웬일인지, 나의 이전 버전은 1.1.5를 가지고 있었지만, 새로운 버전은 1.1.3을 표준 저장소에서 가지고 있었다. 내가 1.1.5, 그리고 지금은 작동합니다. –

답변

관련 문제