Does your script use ttyUSB1 or pilot? I have found that continually trying to sync will cause the module to produce not just ttyUSB1 and ttyUSB0, but ttyUSB2 and ttyUSB3 as well. Everytime you hit the hotsync button, you should run dmesg in another terminal to see which /dev nodes were created. The easiest way around this is to use a udev rule that maps all of them to /dev/pilot. This is the way I have it set up (though I do not use a Zire 31). In /etc/udev/rules.d/10-
custom.rules I have the following line:<br><br>BUS="usb", SYSFS{product}="Palm Handheld*", KERNEL=="ttyUSB*", SYMLINK="pilot", <br>MODE="666"<br><br>See if that can get you some more consistency on the timings between when you press the hotsync button and when you run your sync command.
<br><br><br><br><div><span class="gmail_quote">On 8/15/06, <b class="gmail_sendername">Anita Lewis</b> <<a href="mailto:ajlewis2@highstream.net">ajlewis2@highstream.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Rob Blomquist wrote:<br>> when I use KPilot to sync with my Zire 31, I open Kpilot, connect the PDA, then reset the KPilot daemon, and tap the sync button on the PDA. I also use /dev/ttyUSB1, and not /dev/pilot as the device to sync to.
<br>><br>> If I don't do it in this order I may not connect, and its a pretty frustrating experience.<br>><br>> In the case of running pilot-link, you may want to connect the PDA first, and start pilot-link second.
<br>><br>> Rob<br><br>Are you using a hub? I think that is my main problem.<br><br>Anita<br><br><br>--<br>kubuntu-users mailing list<br><a href="mailto:kubuntu-users@lists.ubuntu.com">kubuntu-users@lists.ubuntu.com
</a><br><a href="https://lists.ubuntu.com/mailman/listinfo/kubuntu-users">https://lists.ubuntu.com/mailman/listinfo/kubuntu-users</a><br></blockquote></div><br>