天天看点

三星手机安装linux系统,android – 在Linux上安装带有MTP的三星Galaxy Tab 2 7.0

我试图通过MTP将三星Galaxy Tab2 7.0“连接到Debian Wheezy盒子.在

https://askubuntu.com/questions/186681/getting-mtp-to-work-with-a-galaxy-tab-2-7-0的askubuntu页面详细说明了我的问题,但没有一个建议的补救措施有效.

重申一下,我安装了mtp-tools和mtpfs. mtp-detect产生这个:

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文件,使用值04e8作为供应商ID,6860作为设备ID.我完成了前面提到的howto并做到了这一点:

mkdir foo

mtpfs -o allow_other foo

现在做“ls foo”摊位.检查foo上面的目录也会停止.如果不执行“killall -9 mtpfs”(类似于处理过时的sshfs挂载),我无法获取命令行.然后我看到了这个:

ls: cannot access foo: Transport endpoint is not connected

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

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