--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gnome-pilot: Hanging synchronization
- From: Bill Wohler <wohler@newt.com>
- Date: Tue, 20 May 2003 18:23:13 -0700
- Message-id: <4326.1053480193@newt.com>
Package: gnome-pilot
Version: 0.1.71-5
Severity: normal
Synchronization is working intermittently for me. More specifically,
synchronization *works* intermittently. Most of the time it hangs.
When gpilotd starts, it displays the following:
Message: Pilot name -> m505
Message: Pilot id -> 18698
Message: Pilot username -> Bill Wohler
Message: Pilot creation/rom = 985360412/67108864
Message: Pilot sync_action -> custom
Message: Cradle Type -> Serial
Message: cradle device name -> Serial
Message: cradle device name -> /dev/ttyS0
Message: Pilot Speed -> 115200
Message: Timeout -> 10
gpilotd-Message: Exiting (caught SIGTERM)...
gpilotd-Message: gnome-pilot 0.1.71 starting...
gpilotd-Message: compiled for pilot-link version 0.11.7
gpilotd-Message: compiled with [VFS] [USB] [IrDA] [Network]
gpilotd-Message: Activating CORBA server
gpilotd-Message: Watching Serial (/dev/ttyS0)
When I push the hotsync button on the cradle (serial cradle, Palm M505),
the debug output either:
a) Doesn't show any additional output. Workaround: bring up settings
dialog and dismiss it.
b) Shows the following before hanging:
gpilotd-Message: Woke on Serial
gpilotd-Message: setting PILOTRATE=115200
Workaround: Kill gpilotd, bring up settings dialog and dismiss it.
Typically, after doing this, I can usually hotsync multiple times in a
row.
c) Shows the synchronization. Interestingly, it ends with:
...
Message: time_file: destroying time conduit
memo-file-conduit-Message: destroying memo_file conduit
I would have expected to see the "Watching Serial" message. Upon hitting
the hotsync button the next time, I saw a:
gpilotd-Message: Exiting (caught SIGINT)...
I suspect gpilotd is not closing the device and getting back in a
position to listen. If I kill gpilotd, I can run pilot-xfer all day
long:
[wohler@olgas:506]$ echo $PILOTRATE
115200
[wohler@olgas:507]$ time pilot-xfer -p /dev/ttyS0 -i PluckerDB.pdb
Port: /dev/ttyS0
Please press the HotSync button now...
Connected...
Installing PluckerDB.pdb... OK
Install done
real 0m5.199s
user 0m0.000s
sys 0m0.000s
Note that the 12k file is installed faster than my observation of the
time between hitting the hotsync button and seeing the Identifying user
message (if I see it at all).
Interestingly, as I finish this message, synchronization is now 100% and
fast. Perhaps that last killall gpilotd cleared things up. If I discover
what trips things up, I'll append that information to this report.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux olgas 2.4.20-1-686 #1 Sat Mar 22 13:16:21 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set)
Versions of packages gnome-pilot depends on:
ii gdk-imlib1 1.9.14-13 imaging library for use with gtk (
ii libart2 1.4.2-13 The GNOME canvas widget - runtime
ii libaudiofile0 0.2.3-4 The Audiofile Library
ii libc6 2.3.1-16 GNU C Library: Shared libraries an
ii libcapplet1 1:1.5.11-4 Library for Gnome Control Center a
ii libdb3 3.2.9-17 Berkeley v3 Database Libraries [ru
ii libesd0 0.2.29-1 Enlightened Sound Daemon - Shared
ii libgconf11 1.0.9-2.1 GNOME configuration database syste
ii libglade-gnome0 1:0.17-2.7 Library to load .glade files at ru
ii libglade0 1:0.17-2.7 Library to load .glade files at ru
ii libglib1.2 1.2.10-8 The GLib library of C routines
ii libgnome-pilot1 0.1.71-5 Support libraries for gnome-pilot
ii libgnome-vfs0 1.0.5-4.1 The GNOME virtual file-system libr
ii libgnome32 1.4.2-13 The GNOME libraries
ii libgnomesupport0 1.4.2-13 The GNOME libraries (Support libra
ii libgnomeui32 1.4.2-13 The GNOME libraries (User Interfac
ii libgnorba27 1.4.2-13 GNOME CORBA services
ii libgtk1.2 1.2.10-14 The GIMP Toolkit set of widgets fo
ii libncurses5 5.3.20021109-2 Shared libraries for terminal hand
ii liboaf0 0.6.10-3 The GNOME Object Activation Framew
ii liborbit0 0.5.17-8 Libraries for ORBit - a CORBA ORB
ii libpisock8 0.11.7-2 Libraries for communicating with a
ii libpisync0 0.11.7-2 Synchronization library for PalmOS
ii libpopt0 1.6.4-2 lib for parsing cmdline parameters
ii libreadline4 4.3-4 GNU readline and history libraries
ii libwrap0 7.6-ipv6.1-3 Wietse Venema's TCP wrappers libra
ii libxml1 1:1.8.17-2 GNOME XML library
ii oaf 0.6.10-3 The GNOME Object Activation Framew
ii xlibs 4.2.1-6 X Window System client libraries
ii zlib1g 1:1.1.4-11 compression library - runtime
-- debconf information:
gnome-pilot/bugwarn62:
--
Bill Wohler <wohler@newt.com> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.
--- End Message ---