As I mentioned in my last post, the Eclipse Android plugin
Device panel shared my view of the state of its recognition of my Droid phone when I connected via the USB cord:
???????????? no permissionsWhen I got up this morning, feeling a little more patient and investigative, I found these two pages which resolved this problem:
Outline of Connecting Devices via USBTweaking the Rules File for USB Devices and PermissionsI am running Ubuntu 8.1 64 and I was able to get a recognized device by changing my rules file (/etc/udev/rules.d/51-android.rules) to:
SUBSYSTEM=="usb|usb_device", SYSFS{22b8}=="0bb4", MODE="0660", GROUP="plugdev" SUBSYSTEM=="usb|usb_device", ATTR{22b8}=="0bb4", ATTR{idProduct}=="0c02", SYMLINK+="android_adb" SUBSYSTEM=="usb|usb_device", ATTR{22b8}=="0bb4", ATTR{idProduct}=="0c01", SYMLINK+="android_fastboot" However, when I run
ddms or Eclipse as any user other than root, I am back to the same
no permissions error. I assumed that the
GROUP="plugdev" bit would fix this (my own user is part of that group) but no.
So, in summary, when I run as myself, this happens:
.../android-sdk-linux/tools$ ./adb devices List of devices attached ???????????? no permissions But then I
ps -ef | grep adb, kill the
adb fork-server server process and then run the same with
sudo:
.../android-sdk-linux/tools$ sudo ./adb devices * daemon not running. starting it now * * daemon started successfully * List of devices attached device Small inconvenience for now, I suppose. Until I figure this out, it is actually more convenient to use the standalone
ddms (Dalvik Debug Monitor) tool (a direct analog of the Eclipse plugin but outside of Eclipse) since I can run that as
root but continue running Eclipse under my own user.
---Update 4 Minutes Later---
Although the device is recognized now, it still does not report all the details one would see when attached to an emulator, such as Threads, GC etc. I can view logs and system/process details, but with all the
interesting buttons greyed out, I am obviously not fully connected yet.

One thing I can do, though, is capture screen shots.

Perhaps tomorrow morning.........