[ltp] Palm syncing on A21p

Tod Harter linux-thinkpad@www.bm-soft.com
Wed, 2 Jan 2002 16:58:34 -0500


I succeeded with both IRDA and USB on an A20p...

I synced my Kyocera Smartphone via IRDA, and I have been able to sync 
Handspring Visors via USB. Unfortunately the visor didn't support IR sync, 
though with new enough PalmOS I think it would work. For what its worth the 
specifics of the config were as follows:

I created a shell script to run as root as follows:

        # First make sure ttyS1 is not initialized, this assumes we are using 
        comm1 settings for ir, change as needed.
        setserial /dev/ttyS1 uart none
        # install the irda module and the nsc uart chip driver, this is
        # device specific (see modules.conf)
        modprobe irda
        modprobe nsc-ircc
        # bring up the irda0 interface
        /sbin/ifconfig irda0 up
        # start ir discovery
        echo 1 > /proc/sys/net/irda/discovery

modules.conf contained:

# IRDA
alias char-major-161 ircomm-tty
alias irda0 nsc-ircc
options nsc-ircc dongle_id=0x09

This will work for the A20p, which uses the "nsc" IRDA chip. From what I can 
gather just the stuff in modules.conf and the "modprobe nsc-ircc" may need to 
be changed in the script for other chip sets. This gives you an "FIR" setup. 
You can do other types of setups in a similar way, but I never messed with 
them since this worked fine for me. 

IR sync then worked as normal using /dev/ttyS1 as the serial port.

USB sync generally works fine as long as your system loads the "visor.o" 
driver, which is the USB protocol driver for visor sync. With Linux you have 
to treat /dev/ttyUSB1 as a serial port and tell your system you are doing a 
serial sync (NOT a USB sync). Depending on what else you have on your USB 
ports the device name may be different as well. /var/log/messages should 
contain a bunch of lines telling you that your palm was detected when you 
push the "sync" button on the cradle. Palms are a bit odd in that they don't 
attempt to show up AT ALL on USB until you tell them to sync, prior to that 
you won't see a thing and no driver will load. You can try doing a "modprobe 
visor" to preload that driver. 

On Monday 31 December 2001 12:01, you wrote:
> I am trying to sync my Palm m505 under Redhat 7.1 via USB port or IRDA.
> Did anybody succeed ?
>
>
> ----- The Linux ThinkPad mailing list -----
> The linux-thinkpad mailing list home page is at:
> http://www.bm-soft.com/~bm/tp_mailing.html

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html