ADB doesn't see device

穿精又带淫゛_ 提交于 2019-12-13 03:08:07

问题


-Lsusb:

Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub

Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 003: ID 03f0:231d Hewlett-Packard 

Bus 001 Device 004: ID 138a:0007 Validity Sensors, Inc. VFS451 Fingerprint Reader

Bus 001 Device 005: ID 5986:03b1 Acer, Inc 

Bus 002 Device 006: ID 1058:07a8 Western Digital Technologies, Inc. 

Bus 002 Device 003: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse

Bus 002 Device 004: ID 2207:0010 

the last one is the one y want to adb connect.

/etc/udev/rules.d/51-android.rules:

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

The device is a pipo s1 tablet and the so: xubuntu quantal. In the same PC can connect my phone without issues.

Please bring me the light.

thanx.


回答1:


Try instead of strings like

SUBSYSTEM=="usb", ATTR{idVendor}=="2207", MODE=="0666", GROUP="plugindev"

add to /etc/udev/rules.d/51-android.rules

SUBSYSTEMS=="usb", ATTRS{idVendor}=="2207", TEST=="/var/run/ConsoleKit/database", RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}"

It makes adb work on Ubuntu 12.04 with another device in my case.

And of course in ~/.android/adb_usb.ini add string

0x2207



回答2:


Try to add ATTR{idProduct}=="0010" to the line.

Have a look at this link http://pychildren.blogspot.se/2012/12/getting-android-adb-working-with-pipo.html

Regards! /Thomas



来源:https://stackoverflow.com/questions/15396423/adb-doesnt-see-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!