展讯(供应商ID 1782)连接到adb的问题

我有一台手机,在Mac上被adb检测到,但不是在我的机器上。 通过“未检测”,我的意思是它显示在lsusb,但“adb设备”报告设备的空白列表:

adb devices List of devices attached

我已经尝试了以下内容:

  • 切换USB电缆
  • 确保设备处于USBdebugging模式
  • 出厂重置设备
  • 将供应商ID(1782)添加到/etc/udev/rules.d
  • 将条目添加到〜/ .android / adb_usb.ini文件中(这是否有必要?)
  • 多个adb start-server和adb kill-server序列
  • 多次重启(和“sudo udevadm control –reload-rules”)
  • 运行“android update adb”,擦除〜/ .android / adb_usb.ini中的条目

相关信息:

  • 运行Ubuntu 14.04
  • 在插入设备时添加的lsusb条目:

Bus 003 Device 003: ID 1782:5d01 Spreadtrum Communications Inc.

  • 在/etc/udev/rules.d/51-android.rules内部行:

SUBSYSTEM=="usb", ATTR{idVendor}=="1782", MODE="0666", GROUP="plugdev"

  • 输出tail -f / var / log / syslog插入这个设备Jul 17 18:40:12 josh-N56VJ kernel: [ 1289.390363] usb 3-2: new high-speed USB device number 7 using xhci_hcd Jul 17 18:40:12 josh-N56VJ kernel: [ 1289.390439] usb 3-2: Device not responding to set address. Jul 17 18:40:12 josh-N56VJ kernel: [ 1289.594502] usb 3-2: Device not responding to set address. Jul 17 18:40:12 josh-N56VJ kernel: [ 1289.798588] usb 3-2: device not accepting address 7, error -71 Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.094956] usb 3-2: new high-speed USB device number 9 using xhci_hcd Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.111786] usb 3-2: New USB device found, idVendor=1782, idProduct=5d01 Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.111797] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.111802] usb 3-2: Product: DASH JR Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.111808] usb 3-2: Manufacturer: BLU Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.111813] usb 3-2: SerialNumber: 19761202 Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.112433] usb-storage 3-2:1.0: USB Mass Storage device detected Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.112598] scsi6 : usb-storage 3-2:1.0 Jul 17 18:40:13 josh-N56VJ mtp-probe: checking bus 3, device 9: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2" Jul 17 18:40:13 josh-N56VJ mtp-probe: bus: 3, device: 9 was not an MTP device Jul 17 18:40:14 josh-N56VJ kernel: [ 1291.112557] scsi 6:0:0:0: Direct-Access Spreadtr umopenphone 02 PQ: 0 ANSI: 2 Jul 17 18:40:14 josh-N56VJ kernel: [ 1291.113091] sd 6:0:0:0: Attached scsi generic sg2 type 0 Jul 17 18:40:14 josh-N56VJ kernel: [ 1291.115046] sd 6:0:0:0: [sdb] Attached SCSI removable disk Jul 17 18:40:12 josh-N56VJ kernel: [ 1289.390363] usb 3-2: new high-speed USB device number 7 using xhci_hcd Jul 17 18:40:12 josh-N56VJ kernel: [ 1289.390439] usb 3-2: Device not responding to set address. Jul 17 18:40:12 josh-N56VJ kernel: [ 1289.594502] usb 3-2: Device not responding to set address. Jul 17 18:40:12 josh-N56VJ kernel: [ 1289.798588] usb 3-2: device not accepting address 7, error -71 Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.094956] usb 3-2: new high-speed USB device number 9 using xhci_hcd Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.111786] usb 3-2: New USB device found, idVendor=1782, idProduct=5d01 Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.111797] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.111802] usb 3-2: Product: DASH JR Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.111808] usb 3-2: Manufacturer: BLU Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.111813] usb 3-2: SerialNumber: 19761202 Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.112433] usb-storage 3-2:1.0: USB Mass Storage device detected Jul 17 18:40:13 josh-N56VJ kernel: [ 1290.112598] scsi6 : usb-storage 3-2:1.0 Jul 17 18:40:13 josh-N56VJ mtp-probe: checking bus 3, device 9: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2" Jul 17 18:40:13 josh-N56VJ mtp-probe: bus: 3, device: 9 was not an MTP device Jul 17 18:40:14 josh-N56VJ kernel: [ 1291.112557] scsi 6:0:0:0: Direct-Access Spreadtr umopenphone 02 PQ: 0 ANSI: 2 Jul 17 18:40:14 josh-N56VJ kernel: [ 1291.113091] sd 6:0:0:0: Attached scsi generic sg2 type 0 Jul 17 18:40:14 josh-N56VJ kernel: [ 1291.115046] sd 6:0:0:0: [sdb] Attached SCSI removable disk

我可以debugging其他设备使用相同的USB端口和相同的电缆没有问题,但我不确定为什么这个手机将无法连接。

其他相关问题:

  • Android:adb不识别手机
  • adb设备不时显示我的设备
  • 在真实设备上运行我的应用程序的问题

第一个链接看起来类似于这个问题,但我没有看到任何解决scheme。 请问adb是否考虑了udev规则以外的设备列表? 还有其他的东西抓住这个设备,让adb不注意它吗?

编辑 – 确认我是plugdev组的成员: josh@josh-N56VJ:~/Development$ groups josh adm dialout cdrom sudo audio dip plugdev lpadmin sambashare inpdev

Solutions Collecting From Web of "展讯(供应商ID 1782)连接到adb的问题"

解决这个普遍的规则,感谢这个非常有帮助的答案:

 ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:ff420?:*", MODE="0666" 

亚行在Ubuntu 12.04中没有检测到三星i777的设备

感谢@ alex-p

附加信息:

电话= Blu Dash Jr

编辑我还需要手动添加供应商ID(1782)到〜/ .android / adb_usb.ini文件,如下所示:

 # ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT. # USE 'android update adb' TO GENERATE. # 1 USB VENDOR ID PER LINE. 0x1782 

仍然不知道供应商ID列表应该在哪里编辑,因为文件告诉我不要,但是这个工作。