You are not logged in.
Pages: 1
Hi, I was happy to see some fellow Arch users are playing with the Android because I just got one last week. I did manage to get the emulator and all working with Eclipse, but I can't get adb to find the phone when it's plugged in. I followed the directions on http://developer.android.com/guide/deve … setting-up and added the udev rule. But adb is not finding the device.
I also noticed two oddities:
1) The directions changes the rule file to an executable and none of the other rule files I have are executables, are they supposed to be?
2) Should I use the rule for Gusty/Hardy or Dapper?
In either case I've tried both and neither is resulting in adb finding the device (meaning when plugged in with phone on debug mode, executing adb devices lists nothing).
Can anyone help?
Offline
Offline
Thanks, I added that to my udev rule file so that it looks like this:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0c02",SYMLINK+="android_adb"
SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0c01",SYMLINK+="android_fastboot"
Now when I plug in the phone a device I see this device:
ls -al /dev/android_adb
lrwxrwxrwx 1 root root 15 2009-04-17 11:53 /dev/android_adb -> bus/usb/001/005
But adb devices still does not list any devices found. Any idea what I'm missing?
Offline
try running adb devices as root, I think I just ran mine as root; if it works its a permissions issue.
Dusty
Offline
No luck as root:
sudo adb devices
List of devices attached
Do I have to do something other than turn USB debugging on to the phone?
Offline
No luck as root:
sudo adb devices
List of devices attachedDo I have to do something other than turn USB debugging on to the phone?
No, just plug in your phone, kill adb and restart it as root. Now the device should be listed in adb devices.
Offline
I found that I had to change the 50-android.rules to have this instead.
SUBSYSTEM=="usb|usb_device", SYSFS{idVendor}=="0bb4", MODE="0660", GROUP="plugdev"
SUBSYSTEM=="usb|usb_device", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0c02", SYMLINK+="android_adb"
SUBSYSTEM=="usb|usb_device", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0c01", SYMLINK+="android_fastboot"
After that I could run adb as a user that was in the plugdev group and everything just worked.
Offline
Pages: 1