如何将 mtp android 设备连接到 ubuntu 13.10

Yot*_*tam 24 usb android mtp

我在这里和谷歌搜索,我能找到的只是如何在 Ubuntu 13.04 中支持转发 mtp 设备。我找到的答案适用于 ubuntu 12.04 或 ubuntu 12.10

好吧,我以 mtp 模式连接了手机,但在我的机器上看不到它。我怎么能看到呢?

编辑:请求的数据

是我的手机 (Xtreamer q)

我还尝试了一个三星 Galaxy s2 设备,它弹出了一条错误消息(无法挂载设备)。我的手机没有出现这样的错误。

这是 lsusb 和 mtp-detect 的输出

??(%:~/Applications/Process.1dFit)?- lsusb
Bus 002 Device 004: ID 04f2:b1fc Chicony Electronics Co., Ltd 
Bus 002 Device 005: ID 045e:009d Microsoft Corp. Wireless Optical Desktop 3.0
Bus 002 Device 007: ID 283b:10a3  
Bus 002 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0a5c:217f Broadcom Corp. BCM2045B (BDC-2.1)
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
??(y2@walking)?(15/pts/0)?(03:52pm:11/14/13)?-
??(%:~/Applications/Process.1dFit)?- mtp-detect 
Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.6

Listing raw device(s)
   No raw devices found.
Run Code Online (Sandbox Code Playgroud)

我想从底部开始的第三个文本行是问题所在。但我不知道该怎么办。

小智 26

我有同样的问题,以下工作

sudo apt-get install mtp-tools mtpfs
Run Code Online (Sandbox Code Playgroud)

  • 在 Ubuntu 14.04 和 USB2 端口上的 HTC Desire 500 上对我不起作用。 (4认同)
  • 在 Lubuntu 14.04 中对我不起作用 (2认同)

小智 17

我也遇到了我的“asus padfone infinity”没有通过 mtp 安装的问题。(虽然亚行工作)。

解决方案是通过我的 thinkpad 的 USB3 端口之一而不是 USB2 端口连接它。看起来 USB2 端口未被识别为 usb2,还是 usb2 的设备名称为“usb1”?

连接到 USB2 端口时的系统日志

Feb 21 13:59:55 t530 kernel: [39597.968522] usb-storage 1-1.2:1.2: USB Mass Storage device detected
Feb 21 13:59:55 t530 kernel: [39597.968634] scsi16 : usb-storage 1-1.2:1.2
Feb 21 13:59:55 t530 mtp-probe: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2"
Feb 21 13:59:55 t530 mtp-probe: bus: 1, device: 7 was not an MTP device
Feb 21 13:59:56 t530 kernel: [39598.966743] scsi 16:0:0:0: CD-ROM            ASUS     Device CD-ROM    0000 PQ: 0 ANSI: 2
Feb 21 13:59:56 t530 kernel: [39598.971140] sr1: scsi-1 drive
Feb 21 13:59:56 t530 kernel: [39598.971427] sr 16:0:0:0: Attached scsi CD-ROM sr1
Feb 21 13:59:56 t530 kernel: [39598.971580] sr 16:0:0:0: Attached scsi generic sg3 type 5
Feb 21 14:01:02 t530 kernel: [39665.530135] usb 1-1.2: USB disconnect, device number 7
Run Code Online (Sandbox Code Playgroud)

连接到 USB 3.0 端口

Feb 21 14:01:06 t530 kernel: [39669.292066] usb-storage 3-1:1.2: USB Mass Storage device detected
Feb 21 14:01:06 t530 kernel: [39669.292231] scsi17 : usb-storage 3-1:1.2
Feb 21 14:01:06 t530 mtp-probe: checking bus 3, device 2: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1"
Feb 21 14:01:06 t530 mtp-probe: bus: 3, device: 2 was an MTP device
Run Code Online (Sandbox Code Playgroud)