Package: jpilot
Version: 0.99.9.4-2
Severity: normal

Jpilot does not sync with a Palm Z22.   It does not appear
to make any connection.   I ran it as

PILOTPORT=usb: jpilot -d

Here's the relevant chunk of the log file (from PILOTPORT=usb: jpilot -d )

jp_pref_write_rc_file()
setting PILOTRATE=[9600]
pref port=[]
num_backups=2
forking sync process
sync:calling load_plugins
opening dir /usr/lib/jpilot/plugins/
opening dir /home/gpk/.jpilot/plugins/
****************************************
 Syncing on device usb:
 Press the HotSync button now
****************************************
----------- HERE, I PUSH THE PALM'S SYNC BUTTON ----
------------It times out eventually, claiming that no connection was made --
jp_pref_write_rc_file()
x=477, y=365
jp_pref_write_rc_file()
jp_pref_write_rc_file()
jp_pref_write_rc_file()
killing 17358
jp_pref_write_rc_file()
cleanup_pc_file for DatebookDB



Here's the relevant part of
PILOTPORT=usb:
export PILOTPORT
strace -f jpilot



<... waitpid resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 17658
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfe9e46c, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], SA_RESTORER, 0xb7ddb8a8}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "PILOTPORT=usb: /usr/bin/jpilot $"..., 183) = 103
brk(0x80fe000)                          = 0x80fe000
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -69, [114], SEEK_CUR)      = 0
clone(Process 17661 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7db2708) = 17661
[pid 17657] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 17657] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
[pid 17657] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 17657] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
[pid 17657] rt_sigaction(SIGINT, {0x807b920, [], SA_RESTORER, 0xb7ddb8a8}, 
{SIG_DFL}, 8) = 0
[pid 17657] waitpid(-1, Process 17657 suspended
 <unfinished ...>
[pid 17661] close(255)                  = 0
[pid 17661] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 17661] rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0
...

The process waits essentially forever in the following loop:

[pid 17661] poll([{fd=7, events=POLLIN}, {fd=3, events=POLLIN}], 2, 0) = 0
[pid 17661] write(7, "\f\4\4\0 [EMAIL PROTECTED] \0\300\1\f"..., 4140) = 4140
[pid 17661] ioctl(7, FIONREAD, [64])    = 0
[pid 17661] read(7, "\26\270\272= \0\300\1 
\0\300\1Z\0\300\1\0\0\0\2\35\3\5"..., 64) = 64
[pid 17661] gettimeofday({1179265332, 141905}, NULL) = 0
[pid 17661] poll([{fd=7, events=POLLIN}, {fd=3, events=POLLIN}], 2, 0) = 0
[pid 17661] ioctl(7, FIONREAD, [0])     = 0
[pid 17661] ioctl(7, FIONREAD, [0])     = 0
[pid 17661] gettimeofday({1179265332, 142339}, NULL) = 0
[pid 17661] poll([{fd=7, events=POLLIN}, {fd=3, events=POLLIN}], 2, 994) = 0
[pid 17661] gettimeofday({1179265333, 139673}, NULL) = 0
[pid 17661] time([1179265333])          = 1179265333
[pid 17661] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1323, ...}) 
= 0




And here are relevant lines from /var/log/syslog:


May 15 22:41:11 kochanski kernel: usb 4-2: USB disconnect, address 11
May 15 22:41:56 kochanski kernel: usb 4-2: new full speed USB device using 
uhci_hcd and address 12
May 15 22:41:57 kochanski kernel: usb 4-2: new full speed USB device using 
uhci_hcd and address 13
May 15 22:41:58 kochanski kernel: usb 4-2: configuration #1 chosen from 1 choice
May 15 22:42:04 kochanski kernel: usb 4-2: usbfs: USBDEVFS_CONTROL failed cmd 
jpilot rqt 194 rq 4 len 20 ret -84
May 15 22:42:04 kochanski kernel: usb 4-2: USB disconnect, address 13
May 15 22:42:05 kochanski kernel: usb 4-2: new full speed USB device using 
uhci_hcd and address 14
May 15 22:42:05 kochanski kernel: usb 4-2: configuration #1 chosen from 1 choice
May 15 22:43:10 kochanski kernel: usb 4-2: usbfs: USBDEVFS_CONTROL failed cmd 
jpilot rqt 194 rq 1 len 2 ret -84
May 15 22:43:10 kochanski kernel: usb 4-2: USB disconnect, address 14
May 15 22:43:11 kochanski kernel: usb 4-2: new full speed USB device using 
uhci_hcd and address 15
May 15 22:43:11 kochanski kernel: usb 4-2: configuration #1 chosen from 1 choice

Finally, here are the relevant lines from /proc/bus/usb/devices, taken
shortly after I pushed the sync button on the Palm Z22.

T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 18 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0830 ProdID=0061 Rev= 1.00
S:  Manufacturer=Palm, Inc.
S:  Product=Palm Handheld
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages jpilot depends on:
ii  libatk1.0-0                 1.12.4-3     The ATK accessibility toolkit
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libcairo2                   1.2.4-4      The Cairo 2D vector graphics libra
ii  libfontconfig1              2.4.2-1.2    generic font configuration library
ii  libglib2.0-0                2.12.4-2     The GLib library of C routines
ii  libgtk2.0-0                 2.8.20-7     The GTK+ graphical user interface 
ii  libpango1.0-0               1.14.8-5     Layout and rendering of internatio
ii  libpisock9                  0.12.2-9     library for communicating with a P
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxcursor1                 1.1.7-4      X cursor management library
ii  libxext6                    1:1.0.1-2    X11 miscellaneous extension librar
ii  libxfixes3                  1:4.0.1-5    X11 miscellaneous 'fixes' extensio
ii  libxi6                      1:1.0.1-4    X11 Input extension library
ii  libxinerama1                1:1.0.1-4.1  X11 Xinerama extension library
ii  libxrandr2                  2:1.1.0.2-5  X11 RandR extension library
ii  libxrender1                 1:0.9.1-3    X Rendering Extension client libra

Versions of packages jpilot recommends:
pn  jpilot-plugins                <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to