Search code examples
androidlinuxadbubuntu-12.10xubuntu

ADB doesn't see device


-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.


Solution

  • 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