I'm having trouble working with ADB and Eclipse and my shiny new G1.
Which is a UK model, if that makes any difference.

I'm running on XP, with a fresh install of the 1.0 SDK and the USB
driver.

Initially, when I plug the device in, adb works fine and my device
shows up correctly in the output from 'adb devices'.

But, when I try to kick off a debug session from Eclipse, I often see
something like this:

[2008-11-03 12:45:16 - DeviceMonitor]Error reading jdwp list: EOF
[2008-11-03 12:45:17 - DeviceMonitor]Connection Failure when starting
to monitor device 'HT843KV07883' : device (HT843KV07883) request
rejected: device not found
[2008-11-03 12:45:17 - DeviceMonitor]Failed to start monitoring
HT843KV07883
[2008-11-03 12:45:21 - DeviceMonitor]Error reading jdwp list: EOF
[2008-11-03 12:45:33 - DeviceMonitor]Error reading jdwp list: EOF
[2008-11-03 12:45:34 - ddms]ADB rejected shell command (cat /system/
build.prop):
[2008-11-03 12:45:34 - DeviceMonitor]Error reading jdwp list: null
[2008-11-03 12:45:37 - DeviceMonitor]Error reading jdwp list: EOF

And, if I go to the Devices tab (or do 'adb devices') after doing
this, I often see 8 or 10 lines, all with the same device serial
number and the status offline.

It is an intermittent problem. Sometimes, I have managed to kick off a
debug session, but it tends to die pretty quickly after debugging
starts up, and Eclipse often hangs up thereafter. Debugging in the
emulator does not suffer the same problem.

I've gone through uninstalling & reinstalling the G1 USB driver and
the JDK, but that has not helped.

So, now I'm at a loss. I am thinking that adb and the USB device
driver are failing to get along somehow. I'd welcome any suggestions
for what to try next.

I've tried running with ADB_TRACE=all to see if there were any obvious
clues, but I couldn't glean anything from it. Here's a snippet with
what looks (to my uninformed eyes) like the first sign of trouble:

read_packet: 114 ok: [4e584e43 CNXN] 01000000 00001000 (7)
686f73743a3a00  host::.
to_remote: transport 003E7418 got packet, sending to remote
usb_write 24
usb_write got: 24, expected: 24
usb_write 7
usb_write got: 7, expected: 7
usb_write got: 24, expected: 24, errno: 997
usb_read 9
usb_write got: 9, expected: 9, errno: 997
from_remote: received remote packet, sending to transport 003E7418
write_packet: 114 [4e584e43 CNXN] 01000000 00001000 (9)
6465766963653a3a00  device::.
usb_read 24
usb_write got: 0, expected: 24, errno: 31
usb_read failed: 31
remote usb: read terminated (message)
from_remote: remote read failed for transport 003E9690
from_remote: SYNC offline for transport 003E7418
write_packet: 114 [434e5953 SYNC] 00000000 00000000 (0)
from_remote: thread is exiting for transport 003E7418
transport: 003E7418 R- (ref=1)
socket_loopback_client: could not connect to tcp:5573
read_packet: 113 ok: [4e584e43 CNXN] 01000000 00001000 (9)
6465766963653a3a00  device::.
handle_packet() 1314410051
parse_banner: device::
setting connection_state to CS_DEVICE
adb: online
read_packet: 113 ok: [434e5953 SYNC] 00000000 00000000 (0)
handle_packet() 1129208147
adb: offline
run_transport_disconnects: 003E7418 (HT843KV07883)


Thanks,

Richard Sewell


--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to