[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[coldsync-hackers] Trouble syncing Palm Vx via serial port on Linux
- To: coldsync-hackers at lusars dot net
- Subject: [coldsync-hackers] Trouble syncing Palm Vx via serial port on Linux
- From: Martin Kaiser <lists at kaiser dot cx>
- Date: Sat, 18 Jan 2003 17:45:16 +0100
- Reply-to: coldsync-hackers at lusars dot net
- Resent-date: Wed, 22 Jan 2003 20:47:18 -0800
- Resent-from: jferg at newshell dot lusars.net
- Resent-message-id: <200301230447.h0N4lIDt032035@shell.lusars.net>
- Resent-to: coldsync-hackers-archive at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
- User-agent: Mutt/1.4i
HI folks,
we were trying to coldsync a PalmVx via the serial port using the
following configuration:
* Coldsync 2.2.5 (actually Debian package 2.2.5-1 in testing distribution)
* vanilla linux kernel 2.2.23 using the following serial-port-related options
CONFIG_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_SERIAL_EXTENDED=y
# CONFIG_SERIAL_MANY_PORTS is not set
CONFIG_SERIAL_SHARE_IRQ=y
# CONFIG_SERIAL_DETECT_IRQ is not set
# CONFIG_SERIAL_MULTIPORT is not set
# CONFIG_HUB6 is not set
CONFIG_SERIAL_NONSTANDARD=y
(I also tried various other kernels)
The boot messages look like this:
Serial driver version 4.27 with SHARE_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
-> Nothing special in fact.
The serial devices work fine with a modem.
* my .coldsyncrc:
listen serial {
device: "/dev/palm";
speed: 38400;
}
When I try to sync the palm, all I receive is strange errors, no matter
if I try -mb, -mI, -ms or what have you.
Debugging yields this output:
(/dev/palm is symlinked to /dev/ttyS0, the calling user is allowed
read-write access on the port, of course ;-)
Opening device [/dev/palm]
Got a preamble
SLP(h) <<< be ef ed 03 03 03 00 00 3d e0 |
Ÿïí.....=à
Got a header: 3->3, type 3, size 0, xid 0x3d, sum 0xe0
Good checksum
Ignoring packet
SLP(c) <<< ff 92 | ÿ.
Got CRC
Got a preamble
SLP(h) <<< be ef ed 03 03 03 00 00 3e e1 |
Ÿïí.....>á
Got a header: 3->3, type 3, size 0, xid 0x3e, sum 0xe1
Good checksum
Ignoring packet
SLP(c) <<< ba e0 | ºà
Got CRC
Got a preamble
SLP(h) <<< be ef ed 03 03 be ef ed 03 03 |
Ÿïí..Ÿïí..
Got a header: 3->3, type 190, size 61421, xid 0x03, sum 0x03
slp_read: bad checksum: expected 0x3d, got 0x03.
Got bogus character 0x02
Got bogus character 0x00
Got bogus character 0x0e
Got bogus character 0xff
Got bogus character 0xaf
Got bogus character 0x01
Got bogus character 0xc0
Got bogus character 0x00
Got bogus character 0x0a
Got bogus character 0x01
Got bogus character 0x00
Got bogus character 0x01
Got bogus character 0x02
Got bogus character 0x00
Got bogus character 0x00
Got bogus character 0x00
Got bogus character 0x01
Got bogus character 0xc2
Got bogus character 0x00
Got bogus character 0x86
Got bogus character 0xb1
Got bogus character 0xff
Got bogus character 0xaf
Got bogus character 0x01
Got bogus character 0xc0
Got bogus character 0x00
Got bogus character 0x0a
Got bogus character 0x01
Got bogus character 0x00
Got bogus character 0x01
Got bogus character 0x02
Got bogus character 0x00
Got bogus character 0x00
Got bogus character 0x00
Got bogus character 0x01
Got bogus character 0xc2
Got bogus character 0x00
Got bogus character 0x86
Got bogus character 0xb1
Got a preamble
Any ideas what's going wrong here?
I googled for some debug output of a working sync, without success.
What's this supposed to look like?
Thanks in advance,
Martin
--
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.