【发布时间】:2014-10-17 18:07:51
【问题描述】:
默认情况下,andriod 让我们传输文件复制和粘贴 windows/mac。 我无法在 Spice Android One Dream UNO Mi-498 中粘贴/粘贴文件。 我正在使用 ubuntu 14.04 是的,gmtp 不起作用 参考 this blog on gmtp 和 this is how its done on mac or windows
$ lsusb
Bus 002 Device 014: ID 18d1:4ee1 Google Inc. Nexus 4
$ lsusb -v
Bus 002 Device 014: ID 18d1:4ee1 Google Inc. Nexus 4 //hey,but my manufacturer is spice
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x18d1 Google Inc. //i wonder how device id belongs to LG nexus 4?
idProduct 0x4ee1 Nexus 4
bcdDevice 2.16
iManufacturer 2 Spice // this is my mobile manufacturer
iProduct 3 Spice Mi-498
iSerial 4 Mi498HA14090139
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
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 0
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
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 1
Device Status: 0x0001
Self Powered
【问题讨论】:
-
虽然不是针对最终用户,但 ADB 有文件推送/拉取命令。
-
@ChrisStratton 我正在寻找更多的 gui。
-
DDMS 工具里其实也有,不过命令行要强大得多。
-
@ChrisStratton 我的手机制造商不同于设备 ID 中列出的属于 LG 的 google nexus 的制造商
标签: android file-transfer ubuntu-14.04 usb-drive