6

When I plug in a device via USB, adb devices comes up empty. I followed the instructions on the Android site[1] by adding the code below and restarting the adb server (I also restarted my machine since I couldn't get it to work). Both my Nexus One and Samsung Nexus are still undetected.

~ cat /etc/udev/rules.d/51-android.rules

# nexus one
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", SYMLINK+="android_adb", MODE="0666",    GROUP="wheel"
# samsung nexus
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", SYMLINK+="android_adb", MODE="0666", GROUP="wheel"

Any ideas?

  1. http://developer.android.com/guide/developing/device.html
6
  • Do you see the USB device (say using 'lsusb')? If so, what vendor ID does it report? Commented Jan 23, 2012 at 6:09
  • Ya that is where I got the numbers from. 04e8:6860 (Samsung Nexus) 18d1:4e12 (Nexus One) Commented Jan 23, 2012 at 6:15
  • Does the symlink appear? Commented Jan 23, 2012 at 6:16
  • This may be stupid, but did you turn on usb debugging on the devices? Commented Jan 23, 2012 at 8:30
  • @david - I am not totally sure where the symlink should appear. I saw that added on some other posted solution Commented Jan 23, 2012 at 13:16

4 Answers 4

3

It turns out the problem was that when I initially installed the android sdk's there was an issue when doing it through eclipse and the solution was to run eclipse via sudo. This did allow everything to be installed, but I think it may have been responsible for my issues since all the files belonged to the sudo group. I re-downloaded the sdk and instead of installing the versions through eclipse I installed them by running the android terminal command. After installing, running the ddms detected my devices. ** I also notices that I pluralized the ATTR in my rules file. In the end below is what worked for me (after creating the adbusers group and adding myself).

# nexus one
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="adbusers"
# samsung nexus
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="adbusers"
Sign up to request clarification or add additional context in comments.

Comments

0

Why is your GROUP 'wheel'? Try changing it to plugdev

1 Comment

I don't think the group name is important, but only that I belong to the set group, which is why I used wheel. I admit it was laziness on my part to why I set it to an existing group I belonged to rather than create a new one :)
0

General answer is to verify / update the USB drivers.

I often find the USB driver that installs automatically from the device itself is either 1) out of date or 2) not intended for "true" application developer debugging support. (ie, more for "consumer" access to the device as a storage media rather than adb debugging support)

Android Developer page has a list of vendor links to get the USB drivers for the device

Comments

0

Try to:

  1. Uninstall old Kies
  2. Install: SAMSUNG Kies,PC Sync (Software) (ver.2.3.3.12085_7_5) from http://www.samsung.com/us/support/downloads/global#global_download_list

it worked for me :)

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.