Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
adb devices command sees multiple offline devices attached - but it's the same device
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rob Franz  
View profile  
 More options Oct 30 2008, 3:28 pm
From: Rob Franz <rob.fr...@gmail.com>
Date: Thu, 30 Oct 2008 12:28:31 -0700 (PDT)
Local: Thurs, Oct 30 2008 3:28 pm
Subject: adb devices command sees multiple offline devices attached - but it's the same device
Hi all
Is there a way to clear the list of devices?

What I'm seeing:
$ adb devices
List of devices attached
HT842GZ47827    offline
HT842GZ47827    offline
HT842GZ47827    offline
HT842GZ47827    offline
HT842GZ47827    offline
HT842GZ47827    offline
HT842GZ47827    offline
HT842GZ47827    offline
HT842GZ47827    device

I've tried restarting the phone but the 'offline' entries don't go
away.  This is making it impossible to initiate a shell or logcat:
$ adb shell
error: more than one device and emulator

Is there a way to do this without rebooting my computer.

Thanks


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Murphy  
View profile  
 More options Oct 30 2008, 6:34 pm
From: Mark Murphy <mmur...@commonsware.com>
Date: Thu, 30 Oct 2008 18:34:49 -0400
Local: Thurs, Oct 30 2008 6:34 pm
Subject: Re: [android-developers] adb devices command sees multiple offline devices attached - but it's the same device

Try the following:

-- Unplug all devices and close all emulators
-- Run adb -kill-server, or otherwise kill off your running adb process
-- Try running adb devices again, and you should get an empty list
-- Try firing up emulators or plugging in devices, and they should start
appearing (and, hopefully, disappearing once closed)

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


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
______  
View profile  
 More options Oct 31 2008, 12:32 am
From: ______ <luke.hu...@gmail.com>
Date: Thu, 30 Oct 2008 21:32:22 -0700 (PDT)
Local: Fri, Oct 31 2008 12:32 am
Subject: Re: adb devices command sees multiple offline devices attached - but it's the same device
adb scans /dev/bus/usb and its subdirectory for device nodes when
detecting phones.  Try the following to see what nodes are listed in
your system:

ls -lR /dev/bus/usb

Also try "lshal | less" and look for entries for the G1 to see what
the actual device node is that the phone is using.

Sounds like your distro is somehow busted though -- perhaps udev is
broken and is creating a new device node each time you plug in, but is
not removing the node when you unplug...  If that is the case you can
safely delete the extra device nodes without causing harm (once you
determine which other ones correspond to USB controllers/hubs etc. in
your system!  Again, use lshal)

On Oct 30, 3:28 pm, Rob  Franz <rob.fr...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Franz  
View profile  
 More options Oct 31 2008, 8:53 am
From: "Rob Franz" <rob.fr...@gmail.com>
Date: Fri, 31 Oct 2008 08:53:03 -0400
Local: Fri, Oct 31 2008 8:53 am
Subject: Re: [android-developers] Re: adb devices command sees multiple offline devices attached - but it's the same device

This was in Windows - but a reboot did the trick anyway.
I think the problem is caused by disconnecting the phone from the USB
without properly exiting out of the adb shell... maybe.

Thanks
Rob


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Derek  
View profile  
 More options Dec 22 2008, 11:42 am
From: Derek <daila...@gmail.com>
Date: Mon, 22 Dec 2008 08:42:18 -0800 (PST)
Local: Mon, Dec 22 2008 11:42 am
Subject: Re: adb devices command sees multiple offline devices attached - but it's the same device
adb kill-server does the work! Thanks!

Derek

On Oct 31, 6:53 am, "Rob Franz" <rob.fr...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google