Have you tried to explicitly define what device to connect to? I'm pretty 
sure when
you run the adb command you can tell it to connect to a specific device. 
Does the same thing
happen when you do that?

Also have you ever tried to connect the adb to a emulator before?

Probably the best way to diagnose this is to find out if the problem is 
with the phone or your set-up
on your computer. Have you ever successfully connected your phone before on 
a different set-up. E.g windows or something?

On Monday, August 20, 2012 6:40:31 PM UTC+12, Timothy Caraballo wrote:
>
> I've installed the SDK and platform tools on Fedora 17, and while adb can 
> see the connected Nexus S, it hangs whenever I try to execute a command. I 
> have Debugging enabled on the device. I have to quit adb as it hangs at the 
> point below. Any other command, such as logcat behaves similarly. Any 
> thoughts?
>
> *openback@think:~$* adb shell
> system/core/adb/adb.c::main():Handling commandline()
> system/core/adb/commandline.c::adb_commandline():starting interactive shell
> system/core/adb/adb_client.c::_adb_connect():_adb_connect: host:version
> system/core/adb/transport.c::writex():writex: fd=3 len=4: 30303063 000c
> system/core/adb/transport.c::writex():writex: fd=3 len=12: 
> 686f73743a76657273696f6e host:version
> system/core/adb/transport.c::readx():readx: fd=3 wanted=4
> system/core/adb/transport.c::readx():readx: fd=3 wanted=4 got=4
> 4f4b4159 OKAY
> system/core/adb/adb_client.c::_adb_connect():_adb_connect: return fd 3
> system/core/adb/adb_client.c::adb_connect():adb_connect: service shell:
> system/core/adb/transport.c::readx():readx: fd=3 wanted=4
> system/core/adb/transport.c::readx():readx: fd=3 wanted=4 got=4
> 30303034 0004
> system/core/adb/transport.c::readx():readx: fd=3 wanted=4
> system/core/adb/transport.c::readx():readx: fd=3 wanted=4 got=4
> 30303164 001d
> system/core/adb/adb_client.c::_adb_connect():_adb_connect: shell:
> system/core/adb/transport.c::writex():writex: fd=3 len=4: 30303132 0012
> system/core/adb/transport.c::writex():writex: fd=3 len=18: 
> 686f73743a7472616e73706f72742d61 host:transport-a
> system/core/adb/adb_client.c::switch_socket_transport():Switch transport 
> in progress
> system/core/adb/transport.c::readx():readx: fd=3 wanted=4
> system/core/adb/transport.c::readx():readx: fd=3 wanted=4 got=4
> 4f4b4159 OKAY
> system/core/adb/adb_client.c::switch_socket_transport():Switch transport 
> success
> system/core/adb/transport.c::writex():writex: fd=3 len=4: 30303036 0006
> system/core/adb/transport.c::writex():writex: fd=3 len=6: 7368656c6c3a 
> shell:
> system/core/adb/transport.c::readx():readx: fd=3 wanted=4
>
>
>

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

Reply via email to