[android-developers] Re: adb stopped working (Ubuntu 8.10)

2009-01-26 Thread Mark Murphy

Evan Charlton wrote:
 All,
 
 I shut down my PC (running Ubuntu 8.10, fully updated) overnight and
 when I booted the following day, `adb devices` failed to recognize my
 stock, OTA-updated, RC30 G1. I followed the instructions listed here:
 http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware
 
 e...@evan-desktop:~$ cat /etc/udev/rules.d/50-android.rules
 SUBSYSTEM==usb, SYSFS{idVendor}==0bb4, MODE=0666
 e...@evan-desktop:~$ adb kill-server  adb devices
 * daemon not running. starting it now *
 * daemon started successfully *
 List of devices attached
 emulator-5554 offline
 
 To answer some preliminary questions:
  - Yes, I have my phone on.
  - It's on a USB 2.0 port.
  - Yes, it sees the emulator(s), but not my device.
  - Yes, USB debugging is enabled on the phone (and I tried toggling it).
  - I've rebooted both the phone and the PC.
  - I'm using the latest the 1.0_r2 SDK from the site.
  - I'm on 64-bit Ubuntu, but it also fails to work in my 32-bit VM
 (that also previously worked).
 
 I spent a few hours in the #android-dev channel with a few very
 helpful people, but we got nowhere.
 Any help is enormously appreciated!

Do you have another PC you can try connecting the phone into, even if
just in USB mass storage mode? Do you have another mini-USB cable you
can try?

BTW, I am on the same environment as you (64-bit Ubuntu 8.10) and
haven't had a problem once I got it working a couple of months ago. So,
if you need to know any specific settings I have, just ask.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: adb stopped working (Ubuntu 8.10)

2009-01-26 Thread Evan Charlton

I found a workaround last night (sorry, I should have replied to
myself): adb needs to be started as root in order for it to work
after.

Observe (all of this is with the phone connected):
e...@evan-desktop:~$ adb kill-server  adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached

e...@evan-desktop:~$ adb kill-server  sudo adb devices
[sudo] password for evan:
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT843GZ46005device

e...@evan-desktop:~$ adb devices
List of devices attached
HT843GZ46005device

I have no idea what changed overnight/between rebooting, but I'm glad
that it works now. If anyone has any ideas as to what broke it, I'm
all ears.

Evan Charlton

On Mon, Jan 26, 2009 at 8:17 AM, Mark Murphy mmur...@commonsware.com wrote:

 Evan Charlton wrote:
 All,

 I shut down my PC (running Ubuntu 8.10, fully updated) overnight and
 when I booted the following day, `adb devices` failed to recognize my
 stock, OTA-updated, RC30 G1. I followed the instructions listed here:
 http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware

 e...@evan-desktop:~$ cat /etc/udev/rules.d/50-android.rules
 SUBSYSTEM==usb, SYSFS{idVendor}==0bb4, MODE=0666
 e...@evan-desktop:~$ adb kill-server  adb devices
 * daemon not running. starting it now *
 * daemon started successfully *
 List of devices attached
 emulator-5554 offline

 To answer some preliminary questions:
  - Yes, I have my phone on.
  - It's on a USB 2.0 port.
  - Yes, it sees the emulator(s), but not my device.
  - Yes, USB debugging is enabled on the phone (and I tried toggling it).
  - I've rebooted both the phone and the PC.
  - I'm using the latest the 1.0_r2 SDK from the site.
  - I'm on 64-bit Ubuntu, but it also fails to work in my 32-bit VM
 (that also previously worked).

 I spent a few hours in the #android-dev channel with a few very
 helpful people, but we got nowhere.
 Any help is enormously appreciated!

 Do you have another PC you can try connecting the phone into, even if
 just in USB mass storage mode? Do you have another mini-USB cable you
 can try?

 BTW, I am on the same environment as you (64-bit Ubuntu 8.10) and
 haven't had a problem once I got it working a couple of months ago. So,
 if you need to know any specific settings I have, just ask.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com
 _The Busy Coder's Guide to Android Development_ Version 2.0 Available!

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---