Re: Cannot make USB sync connection to Tungsten E2



Thanks for your reply, you found the problem.

On Wed, Jan 11, 2006 at 09:25:11AM +0000, Matt Davey wrote:
> One thing you should try is increasing the timeout to 100.  There's
> a bug in pilot-link 0.11.8 that causes the timeout to be interpreted
> in milliseconds at one point, instead of seconds.

This didn't have any effect. I have attached the output of gpilotd as
it is a bit big to include inline.

> Yes, you can start /usr/libexec/gpilotd in a terminal window before
> starting the configuration gui.  The output from that may tell us
> something.

Ah, good. FYI it was /usr/bin/gpilotd on Ubuntu.

> Also, we should verify that your copy of devices.xml (probably
> in /usr/share/gnome-pilot/devices.xml) contains an entry for
> your device.  To check this, do 'cat /proc/bus/usb/devices'
> while you are attempting a sync, and find the vendor and product
> ID for your device.  From the information you've given, I don't
> think this should be the problem.

That fixed it; it didn't have the right line. Here is the relevant
section of /proc/bus/usb/devices:

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
P:  Vendor=0830 ProdID=0061 Rev= 1.00
S:  Manufacturer=Palm, Inc.
S:  Product=Palm Handheld
S:  SerialNumber=PalmSN12345678
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=00 Prot=00 Driver=visor
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=86(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=07(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

There isn't an entry for Vendor=0830 ProdID=0061 in
/usr/share/gnome-pilot/devices.xml, so I have added the line:
  <device vendor_id="0830" product_id="0061" />

Repeating the previous procedure now works :-) I have attached the
output from gpilotd as before.

I have also attached the diff of devices.xml, in case anyone would
like to apply the same change.

Thanks again for your help, I will now fiddle with the rest of the
setup. From a quick test with the Evolution calendar conduit, the sync
works.

Steven Murdoch.

-- 
w: http://www.cl.cam.ac.uk/users/sjm217/
Sync after setting timeout to 100
=================================

sjm217 kelvin:~$ gpilotd
gpilotd-Message: gnome-pilot 2.0.12 starting...
gpilotd-Message: compiled for pilot-link version 0.11.8
gpilotd-Message: compiled with [VFS] [USB] [IrDA] [Network]

(gpilotd:7122): gpilotd-WARNING **: Number of devices is configured to 0

(gpilotd:7122): gpilotd-WARNING **: No accessible devices available

(gpilotd:7122): gpilotd-WARNING **: Number of pilots is configured to 0
gpilotd-Message: Activating CORBA server
gpilotd-Message: bonobo_activation_active_server_register = 0
gpilotd-Message: Shutting down devices
gpilotd-Message: Rereading configuration...

(gpilotd:7122): gpilotd-WARNING **: Number of pilots is configured to 0

gpilotd-Message: Watching Cradle (/dev/ttyUSB1)
gpilotd-Message: corba: get_user_info(cradle=Cradle,survival=0,timeout=0)
gpilotd-Message: assigned handle num 1
gpilotd-Message: Found 4766, 0001
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0502, 0736
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 091e, 0004
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 082d, 0100
gpilotd-Message: Using net FALSE
gpilotd-Message: Found 082d, 0200
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 082d, 0300
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0001
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0002
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0003
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0020
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0031
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0040
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0050
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0060
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0070
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0080
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 04e8, 8001
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 04e8, 6601
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0038
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0066
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0095
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 009a
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 00c9
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 00da
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 00e9
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0144
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0169
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 12ef, 0100
gpilotd-Message: Using net TRUE

[PDA times out]

[ctrl-C]
gpilotd-Message: Exiting (caught SIGINT)...
Sync after modifying /usr/share/gnome-pilot/devices.xml
=======================================================

sjm217 kelvin:~$ gpilotd
gpilotd-Message: gnome-pilot 2.0.12 starting...
gpilotd-Message: compiled for pilot-link version 0.11.8
gpilotd-Message: compiled with [VFS] [USB] [IrDA] [Network]

(gpilotd:8319): gpilotd-WARNING **: Number of devices is configured to 0

(gpilotd:8319): gpilotd-WARNING **: No accessible devices available

(gpilotd:8319): gpilotd-WARNING **: Number of pilots is configured to 0
gpilotd-Message: Activating CORBA server
gpilotd-Message: bonobo_activation_active_server_register = 0
gpilotd-Message: Shutting down devices
gpilotd-Message: Rereading configuration...

(gpilotd:8319): gpilotd-WARNING **: Number of pilots is configured to 0
gpilotd-Message: Watching Cradle (/dev/ttyUSB1)
gpilotd-Message: corba: get_user_info(cradle=Cradle,survival=0,timeout=0)
gpilotd-Message: assigned handle num 1
gpilotd-Message: Found 4766, 0001
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0502, 0736
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 091e, 0004
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 082d, 0100
gpilotd-Message: Using net FALSE
gpilotd-Message: Found 082d, 0200
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 082d, 0300
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0001
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0002
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0003
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0020
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0031
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0040
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0050
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0060
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0061
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0070
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0080
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 04e8, 8001
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 04e8, 6601
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0038
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0066
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0095
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 009a
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 00c9
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 00da
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 00e9
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0144
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0169
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 12ef, 0100
gpilotd-Message: Using net TRUE
gpilotd-Message: setting PILOTRATE=57600
gpilotd-Message: Cradle Cradle has 1 events
gpilotd-Message: Getting userinfo...
gpilotd-Message: orbed_notify_completion(...)
gpilotd-Message: : client_id = IOR:010000001b000000
gpilotd-Message: gpc_queue_purge_request()
gpilotd-Message: Completed events for cradle Cradle (/dev/ttyUSB1)
gpilotd-Message: setting PILOTRATE=57600

(gpilotd:8319): gpilotd-WARNING **: pi_accept_to: Connection timed out

(gpilotd:8319): gpilotd-WARNING **: pi_accept_to: timeout was 2 secs
gpilotd-Message: Shutting down devices
gpilotd-Message: Rereading configuration...
gpilotd-Message: Watching Cradle (/dev/ttyUSB1)

[ctrl-C]

gpilotd-Message: Exiting (caught SIGINT)...
--- /home/sjm217/backup/devices.xml	2006-01-11 16:20:04.861814528 +0000
+++ /usr/share/gnome-pilot/devices.xml	2006-01-11 16:21:04.229789224 +0000
@@ -49,6 +49,8 @@
  <device vendor_id="0830" product_id="0050" />
  <!-- Palm Tungsten T -->
  <device vendor_id="0830" product_id="0060" />
+ <!-- Palm Tungsten E2 -->
+ <device vendor_id="0830" product_id="0061" />
  <!-- Palm Tungsten Zire -->
  <device vendor_id="0830" product_id="0070" />
  <!-- Palm M100 -->

Attachment: pgpEW0nCTgZm2.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]