[ltp] Palm syncing on A21p

Laurent Decreusefond linux-thinkpad@www.bm-soft.com
Thu, 10 Jan 2002 14:40:02 +0100


--------------070201030403030009030503
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Tod Harter wrote:

>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
>
Thank you for your pointers but it still fail (with IRDA). How do you 
get IQ and IRQ parameters ?


--------------070201030403030009030503
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
Tod Harter wrote:<br>
<blockquote type="cite" cite="mid:200201022158.QAA11954@e450.sbtnvt.adelphiabusiness.net">
  <pre wrap="">I succeeded with both IRDA and USB on an A20p...<br><br>I synced my Kyocera Smartphone via IRDA, and I have been able to sync <br>Handspring Visors via USB. Unfortunately the visor didn't support IR sync, <br>though with new enough PalmOS I think it would work. For what its worth the <br>specifics of the config were as follows:<br><br>I created a shell script to run as root as follows:<br><br>        # First make sure ttyS1 is not initialized, this assumes we are using <br>        comm1 settings for ir, change as needed.<br>        setserial /dev/ttyS1 uart none<br>        # install the irda module and the nsc uart chip driver, this is<br>        # device specific (see <a class="moz-txt-link-abbreviated" href="http://modules.conf">modules.conf</a>)<br>        modprobe irda<br>        modprobe nsc-ircc<br>        # bring up the irda0 interface<br>        /sbin/ifconfig irda0 up<br>        # start ir discovery<br>        echo 1 &gt; /proc/sys/net/irda/discovery<b
r><br><a class="moz-txt-link-abbreviated" href="http://modules.conf">modules.conf</a> contained:<br><br># IRDA<br>alias char-major-161 ircomm-tty<br>alias irda0 nsc-ircc<br>options nsc-ircc dongle_id=0x09<br><br>This will work for the A20p, which uses the "nsc" IRDA chip. From what I can <br>gather just the stuff in <a class="moz-txt-link-abbreviated" href="http://modules.conf">modules.conf</a> and the "modprobe nsc-ircc" may need to <br>be changed in the script for other chip sets. This gives you an "FIR" setup. <br>You can do other types of setups in a similar way, but I never messed with <br>them since this worked fine for me. <br><br>IR sync then worked as normal using /dev/ttyS1 as the serial port.<br><br>USB sync generally works fine as long as your system loads the "<a class="moz-txt-link-abbreviated" href="http://visor.o">visor.o</a>" <br>driver, which is the USB protocol driver for visor sync. With Linux you have <br>to treat /dev/ttyUSB1 as a serial port and tell yo
ur system you are doing a <br>serial sync (NOT a USB sync). Depending on what else you have on your USB <br>ports the device name may be different as well. /var/log/messages should <br>contain a bunch of lines telling you that your palm was detected when you <br>push the "sync" button on the cradle. Palms are a bit odd in that they don't <br>attempt to show up AT ALL on USB until you tell them to sync, prior to that <br>you won't see a thing and no driver will load. You can try doing a "modprobe <br>visor" to preload that driver. <br><br>On Monday 31 December 2001 12:01, you wrote:<br></pre>
  <blockquote type="cite">
    <pre wrap="">I am trying to sync my Palm m505 under Redhat 7.1 via USB port or IRDA.<br>Did anybody succeed ?<br><br><br>----- The Linux ThinkPad mailing list -----<br>The linux-thinkpad mailing list home page is at:<br><a class="moz-txt-link-freetext" href="http://www.bm-soft.com/~bm/tp_mailing.html">http://www.bm-soft.com/~bm/tp_mailing.html</a><br></pre>
    </blockquote>
    <pre wrap=""><!----><br>----- The Linux ThinkPad mailing list -----<br>The linux-thinkpad mailing list home page is at:<br><a class="moz-txt-link-freetext" href="http://www.bm-soft.com/~bm/tp_mailing.html">http://www.bm-soft.com/~bm/tp_mailing.html</a><br></pre>
    </blockquote>
Thank you for your pointers but it still fail (with IRDA). How do you get
IQ and IRQ parameters ?<br>
    <br>
    </body>
    </html>

--------------070201030403030009030503--


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