Search code examples
androidadb

Tablet not appearing in ADB


I've just got a Lenovo Thinkpad Slate Tablet running Android and can't for the life of me get ADB to recognise it in either Win7 or Kubuntu.

USB debugging is on in the tablet settings and when I connect the tablet to the computer the "USB Debugging Connected" message appears - so all good from the tablet side of things. The computer side of things isn't so great.

Kubuntu (my main dev machine)

I've added the vendor id to the /etc/udev/rules.d/51-android.rules file (as directed here) - have tried each of the below, one at a time, with no success.

SUBSYSTEM=="usb", SYSFS{idVendor}=="17ef", MODE="0666"

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

SUBSYSTEM=="usb", ATTR{idVendor}=="17EF", MODE="0666"

SUBSYSTEM=="usb", ATTR{idVendor}=="17ef", MODE="0666"

For reference I have SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev" for my Nexus S and it works fine.

lsusb prints out:

root@ubuntu:/etc/udev/rules.d# lsusb
...
Bus 002 Device 008: ID 17ef:741b Lenovo 
...

Windows

Have followed these instructions and still not getting any response from adb devices.

I've restarted both machines and the tablet several times to no avail. Can anyone help?


Solution

  • Creating the file ~/.android/adb_usb.ini and adding the vendor id (0x17ef) and restarting adb seems to have fixed the issue in both Windows and Kubuntu.