当我将三星 Galaxy S4 active 连接到运行 13.10 的联想 t440 时,设备被检测到,并被允许在文件中查看。当我第一次升级时,它大约有 50% 的时间可以工作。现在,目录中的目录始终在文件中显示为空。
我被提供了弹出按钮,它可以弹出它,但无论我重新挂载多少次,我都无法看到手机上的文件。[嗯,这个截图被删除了,因为我没有声誉点]
如果我弹出然后尝试 mtp-detect 我会得到:
> mtp-detect
Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.6
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
Found 1 device(s):
Samsung: Galaxy models (MTP) (04e8:6860) @ bus 2, dev 16
Attempting to connect device(s)
此时,它永远挂起了。 USB 设备肯定已连接:
> lsusb -v
Bus 002 Device 016: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-I9300 Phone [Galaxy S III], GT-P7500 [Galaxy Tab 10.1]
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x04e8 Samsung Electronics Co., Ltd
idProduct 0x6860 GT-I9100 Phone [Galaxy S II], GT-I9300 Phone [Galaxy S III], GT-P7500 [Galaxy Tab 10.1]
bcdDevice 4.00
iManufacturer 1 SAMSUNG
iProduct 2 SAMSUNG_Android
iSerial 3 59c264f2
bNumConfigurations 2
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 96mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 6 Imaging
bInterfaceSubClass 1 Still Image Capture
bInterfaceProtocol 1 Picture Transfer Protocol (PIMA 15470)
iInterface 5 MTP
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x001c 1x 28 bytes
bInterval 6
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 105
bNumInterfaces 3
bConfigurationValue 2
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 96mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 6 Imaging
bInterfaceSubClass 1 Still Image Capture
bInterfaceProtocol 1 Picture Transfer Protocol (PIMA 15470)
iInterface 5 MTP
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x001c 1x 28 bytes
bInterval 6
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 1
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 2 Abstract (modem)
bFunctionProtocol 1 AT-commands (v.25ter)
iFunction 8 CDC Serial
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 6 CDC Abstract Control Model (ACM)
CDC Header:
bcdCDC 1.10
CDC Call Management:
bmCapabilities 0x00
bDataInterface 2
CDC ACM:
bmCapabilities 0x02
line coding and serial state
CDC Union:
bMasterInterface 1
bSlaveInterface 2
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 9
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 7 CDC ACM Data
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 2
Device Status: 0x0000
(Bus Powered)
当我连接设备时,系统日志显示:
Mar 29 13:19:32 Tile440 kernel: [772995.263614] usb 2-2: new high-speed USB device number 17 using xhci_hcd
Mar 29 13:19:32 Tile440 kernel: [772995.282108] usb 2-2: New USB device found, idVendor=04e8, idProduct=6860
Mar 29 13:19:32 Tile440 kernel: [772995.282117] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 29 13:19:32 Tile440 kernel: [772995.282122] usb 2-2: Product: SAMSUNG_Android
Mar 29 13:19:32 Tile440 kernel: [772995.282126] usb 2-2: Manufacturer: SAMSUNG
Mar 29 13:19:32 Tile440 kernel: [772995.282130] usb 2-2: SerialNumber: 59c264f2
Mar 29 13:19:32 Tile440 colord: Device added: sysfs-SAMSUNG-SAMSUNG_Android
我已将手机插入所有 USB 端口(黑色舌头,那么是 USB 2.0 对吗?)
答案1
MTP 在 Ubuntu 上是个悲惨的传说。我无法提供修复 MTP 的解决方案(我试过很多),但我可以建议使用 WiFi Explorer。在设备上运行该应用程序,然后将浏览器指向该应用程序提供的 URL。它运行良好,并且 100% 可靠,与 MTP 不同。
我的设备也时不时地与 MTP 连接。显然,当您连接 USB 电缆时,设备会与某种握手进行连接,有时能用,有时不能用。当能用时,您会在通知栏中看到 USB 符号,并能够在 MTP 和相机模式之间切换。它对您使用的电缆很敏感,但这并不能解决问题,有些电缆根本不能用,白色三星电缆与我拥有的其他各种电缆一样,有时能用,有时(大多数情况下)不能用。
答案2
这可能与您的确切问题不同,但我在家里安装 S4 时也遇到了问题(Linux Mint 16 [基于 Ubuntu 13.10])。通常当我插入时,我会收到一条错误消息,提示无法连接。在工作中(Windows 7,出厂电缆),它每次都能正常工作。有一次,我把白色电缆带回家,并在所有端口上试了一下,但无济于事。
长话短说,我刚刚将一罐压缩空气注入微型 USB 公头和母头,现在它第一次安装就成功了。
答案3
听起来可能有点奇怪,但解决这个问题的方法是使用手机附带的原装(白色)USB 线。当我使用其他线时,它只会充电。