[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] speed



Hi,

I think I'm using version 3.0.
I downloaded it today from www.condsync.org (condsync-3.0-pre3.tar.gz)

I tried to run it with the debug infos on. This is what came out.

[kevin:~] kevin% /usr/local/bin/coldsync -p /dev/cu.USA191P1.1 -d io:4
Discovering available speeds.
Trying 230400 bps (230400)... no (tcsetattr)
Trying 115200 bps (115200)... no (tcsetattr)
Trying 76800 bps (76800)... no (tcsetattr)
Trying 57600 bps (57600)... yes
Assuming 57600 bps (57600) yes
Assuming 38400 bps (38400) yes
Assuming 28800 bps (28800) yes
Assuming 19200 bps (19200) yes
Assuming 14400 bps (14400) yes
Assuming 9600 bps (9600) yes
Assuming 7200 bps (7200) yes
Assuming 4800 bps (4800) yes
Assuming 2400 bps (2400) yes
Assuming 1200 bps (1200) yes
Please press the HotSync button.
pconn->speed == 0
Speed from CMP == 115200
Error: Palm suggested 115200 bps, but the serial port can't go that fast.
Error: Can't connect to Palm.
Calling io_drain()
[kevin:~] kevin%


I guess this means that the port can go to 57600... That's ok for me, but how do I tell that to my palm?
It doesn't seem to change it's behaviour when I change it's speed. Is it possible that that adaptor has something to do with it?





I just found a solution to my problem. It seems that that adaptor is the real problem.
It sets the speed of my palm to the maximum speed. I also managed to make it all work with a extremely dirty hack.
I hardcoded the speed.... ( pconn->speed = 57600; ) This will propably only work for my situation because I happened to know the maxspeed of that adaptor.


Kevin Velghe




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.