[ltp] irda pilot-xfer with samsung sph-i500

Dimitris Kogias linux-thinkpad@linux-thinkpad.org
Fri, 24 Dec 2004 12:33:44 -0800


Hi all and happy holidays,

I've been trying to run a pilot-xfer between my X31 and my PalmOS phone, 
a Samsung SPH-i500, using IRDA.  I've had no success so far.  Any 
help/hints from this or other PalmOS device users that have made it 
work, preferably over IRDA or even over USB, are very welcome.

I run pilot-xfer -b <some dir> -p /dev/ircomm{0,1}, and pilot-xfer 
prints out its "Please press the HotSync button now" message.  I tap on 
the hotsync button on the palm device, but it gets stuck on the "trying 
to connec to to desktop over IR" phase.

I'm running irdadump during this and all I see is the periodic broadcast 
from the X31:

20:26:21.121672 xid:cmd 877e2403 > ffffffff S=6 s=0 (14)
20:26:21.211653 xid:cmd 877e2403 > ffffffff S=6 s=1 (14)
20:26:21.301639 xid:cmd 877e2403 > ffffffff S=6 s=2 (14)
20:26:21.391624 xid:cmd 877e2403 > ffffffff S=6 s=3 (14)
20:26:21.513344 xid:cmd 877e2403 > ffffffff S=6 s=4 (14)
20:26:21.646458 xid:cmd 877e2403 > ffffffff S=6 s=5 (14)
20:26:21.779581 xid:cmd 877e2403 > ffffffff S=6 s=* 0x19 hint=0400 [ 
Computer ] (20)

irattach is running as:
irattach /dev/ttyS1 -s

The serial port is configured as:
d@0x19:~$ sudo setserial /dev/ttyS1
/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3

The first serial port (COM1, 3f8, 4) is disabled in the BIOS.  The IR 
port (COM2, 2f8, irq 3, DMA 3) is enabled in the BIOS.

The pilot-xfer command lines I've tried are:
pilot-xfer -p /dev/ircomm0 -b pilots/sphi500
pilot-xfer -p /dev/ircomm1 -b pilots/sphi500

Both just sit there waiting for the hotsync to begin.

My irda kernel config and loaded modules:

CONFIG_IRDA=m
CONFIG_IRLAN=m
CONFIG_IRNET=m
CONFIG_IRCOMM=m
CONFIG_IRDA_ULTRA=y
CONFIG_IRDA_CACHE_LAST_LSAP=y
CONFIG_IRDA_FAST_RR=y
# CONFIG_IRDA_DEBUG is not set
# SIR device drivers
CONFIG_IRTTY_SIR=m
# Old SIR device drivers
# CONFIG_IRPORT_SIR is not set
# FIR device drivers
# CONFIG_USB_IRDA is not set
# CONFIG_SIGMATEL_FIR is not set
CONFIG_NSC_FIR=m
# CONFIG_WINBOND_FIR is not set
# CONFIG_TOSHIBA_FIR is not set
# CONFIG_SMC_IRCC_FIR is not set
# CONFIG_ALI_FIR is not set
# CONFIG_VLSI_FIR is not set
# CONFIG_VIA_FIR is not set
# CONFIG_ADAPTEC_STARFIRE is not set

d@0x19:~$ lsmod |grep ir
ircomm_tty             27720  0
ircomm                 15940  1 ircomm_tty
airo                   74592  0
irtty_sir               7040  2
sir_dev                17452  1 irtty_sir
irda                  136316  3 ircomm_tty,ircomm,sir_dev
crc_ccitt               1984  1 irda