系统相关
首页 > 系统相关> > usb – 如何将mtp android设备连接到ubuntu 13.10

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

作者:互联网

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

好吧,我用mtp模式连接手机,我在机器上看不到它.我怎么能看到它?

编辑:请求的数据

This是我的手机(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.

我想从底部的第三个文本行是问题.但我不知道该怎么做.

解决方法:

我也有问题,我的“asus padfone infinity”没有通过mtp安装. (虽然adb工作).

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

连接到USB2端口时的syslog:

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

连接到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

标签:android,usb,mtp
来源: https://codeday.me/bug/20190807/1612197.html