[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] Re: tree bad news and one idea
- To: Alessandro Zummo <coldsync-hackers at lusars dot net>
- Subject: Re: [coldsync-hackers] Re: tree bad news and one idea
- From: spied at yandex dot ru
- Date: Mon, 10 Mar 2003 13:19:59 +0300
- In-reply-to: <yam9196.546.144188752@mail.galactica.it>
- References: <yam9196.546.144188752@mail.galactica.it>
- Reply-to: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
>> 2. via usb with palmos 4.x devices coldsync can get next messages:
>> Warning: no device on /dev/ttyUSB1. Waiting...
>> Error: only read 5 bytes of NetSync packet header.
>> Error: Can't connect to Palm.
>> often after it coldsync simple abort running, but sometimes it don't
>> respond... i use coldsync for non-interactive sync several palms with
>> linux box (without keyboard and monitor) and this error is very bad
>> for me - without my help anybody can't sync more. i get this state 2
>> or 3 times for 2 months of use (2 sync of 10 palm's everyday)... and i
>> can't reproduct this error ;(((
AZ> Which version of coldsync/OS and what setup do you have?
AZ> i'm currently using it a lot
AZ> and never got such a problem with 4.0 and 4.1 devices.
i use linux with lastest stable kernel (today 2.4.20) and coldsync
from cvs.
i run coldsync from script like:
#!/bin/sh
while (true); do
/usr/local/bin/coldsync -f /usr/local/etc/coldsync.conf -I -z -n USB1 $@
sleep 1
done
in coldsync.conf:
listen serial "USB1" {
device: "/dev/ttyUSB1";
protocol: net;
nochangespeed;
}
it's very seldom problem - one fail for over 500 success syncs.
how about add alarm(300) after serial port open?
[skip]
>> and last. i see coldsync code about protocols (full, net and simple).
>> i think it's possibly to auto-detect protocol with first three bytes
>> from palm:
>> 0xbe, 0xef, 0xed - full: normal serial sync
>> 0x90, 0x01, 0x00 - net: net sync and palmos 4.1 usb sync
>> 0x00, 0x00, 0x00 - simple: broken palmos 4.0 usb sync (net???)
>> ps: sorry, my english is bad ;(
AZ> the latest coldsync (CVS) is already able to use the right
AZ> variant of the netsync protocol... give it a try.
i know it ;)
but today coldsync need know full or net protocol must be used. for
example palm m500 via usb use net protocol, via serial - full.
--
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.