[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] Re: coldsync-2.2.5 && palm 515 problem -correction
- To: coldsync-hackers at lusars dot net
- Subject: Re: [coldsync-hackers] Re: coldsync-2.2.5 && palm 515 problem -correction
- From: "David A. Desrosiers" <hacker at gnu-designs dot com>
- Date: Sun, 26 May 2002 20:24:04 -0400 (EDT)
- In-Reply-To: <20020522104338.A1323@baa.ooblick.com>
- References: <200205211059.58099.afolger@ymail.yu.edu> <20020522104338.A1323@baa.ooblick.com>
- Reply-To: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> I installed Coldsync 2.2.5 on a RH7.3 system and tried to test it with my
> Palm 515. The handheld connects through a USB port. I followed the info in
> the man page and wrote the .coldsynrc file excerpted at the end of this
> email.
Are you using the stock RH7.3 kernel?
My RH7.3 test image (in vmware) shows that it was shipped with a
2.4.18-3 image. The visor driver in that kernel version doesn't support the
m515 devices. You either need to upgrade your kernel to one that supports
the m515 natively (2.4.19-pre2 was the first to include this support), or
patch your existing visor.h and visor.c to support the device.
The 2.4.18 kernel came out on February 25, 2002, but the m515 wasn't
"really" out by then enough for Greg to test it and add support for it. The
proper patch for the visor drivers is attached to this message (hopefully I
didn't botch it, but if I did, you can hand-patch the relevant lines in,
it's very clear what needs to be added)
> So I disabled the password, and to no avail. I got the following response
> afterwards:
This should be fixed by now, I gave Alessandro Zummo the fix on irc
awhile back. It's a simple matter of sending a DLP version 1.3 version (via
a simple ReadSysInfo() call to the Palm) and the Palm will sync with a
password set on the device.
> Following Andrew Arensburger's advice, I tried using protocol full instead
> of simple in the .coldsyncrc file, but then the computer couldn't
> communicate at all with the handheld.
I use 'simple' and it works for my m505. I suspect the visor driver
is your problem, but let's continue anyway.
> Below is an excerpt from my .coldsyncrc file:
> listen serial {
> device: "/dev/palm";
> protocol: simple;
> transient;
> }
I assume /dev/palm is a symlink to /dev/ttyUSB1 or /dev/usb/tts/1,
right? Do you have the right drivers loaded (usbserial, visor) when you
Hotsync? Does your syslog show the Palm itself connecting? I threw together
a quick README.usb to get most people up and running on USB (with pilot-link
in my case, but the doc is generic enough to apply to coldsync as well).
Give it a look:
http://cvs.pilot-link.org/index.cgi/*checkout*/doc/README.usb?rev=1.2&content-type=text/plain
> Can anybody help?
Update your visor driver first, then make sure you have the right
permissions, modules, and other bits working, verified by your logs, then
come back with the results at that point.
Good luck!
d.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE88XynkRQERnB1rkoRAvQRAJsFEoty56pY9z75Ny1ZlNStMQi7twCcCyc9
+GLN4Dw/T4Pt3Djw2yRYeQM=
=Nu8f
-----END PGP SIGNATURE-----
linux.orig/drivers/usb/serial/visor.c linux/drivers/usb/serial/visor.c
--- linux.orig/drivers/usb/serial/visor.c Thu Feb 28 18:24:57 2002
+++ linux/drivers/usb/serial/visor.c Thu Feb 28 16:55:25 2002
@@ -2,7 +2,7 @@
* USB HandSpring Visor, Palm m50x, and Sony Clie driver
* (supports all of the Palm OS USB devices)
*
- * Copyright (C) 1999 - 2001
+ * Copyright (C) 1999 - 2002
* Greg Kroah-Hartman (greg@kroah.com)
*
* This program is free software; you can redistribute it and/or modify
@@ -12,6 +12,12 @@
*
* See Documentation/usb/usb-serial.txt for more information on using this driver
*
+ * (02/21/2002) SilaS
+ * Added support for the Palm m515 devices.
+ *
+ * (02/15/2002) gkh
+ * Added support for the Clie S-360 device.
+ *
* (12/18/2001) gkh
* Added better Clie support for 3.5 devices. Thanks to Geoffrey Levand
* for the patch.
@@ -160,6 +166,7 @@
static __devinitdata struct usb_device_id palm_4_0_id_table [] = {
{ USB_DEVICE(PALM_VENDOR_ID, PALM_M500_ID) },
{ USB_DEVICE(PALM_VENDOR_ID, PALM_M505_ID) },
+ { USB_DEVICE(PALM_VENDOR_ID, PALM_M515_ID) },
{ USB_DEVICE(PALM_VENDOR_ID, PALM_M125_ID) },
{ } /* Terminating entry */
};
@@ -171,6 +178,7 @@
static __devinitdata struct usb_device_id clie_id_4_0_table [] = {
{ USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_4_0_ID) },
+ { USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_S360_ID) },
{ } /* Terminating entry */
};
@@ -178,9 +186,11 @@
{ USB_DEVICE(HANDSPRING_VENDOR_ID, HANDSPRING_VISOR_ID) },
{ USB_DEVICE(PALM_VENDOR_ID, PALM_M500_ID) },
{ USB_DEVICE(PALM_VENDOR_ID, PALM_M505_ID) },
+ { USB_DEVICE(PALM_VENDOR_ID, PALM_M515_ID) },
{ USB_DEVICE(PALM_VENDOR_ID, PALM_M125_ID) },
{ USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_3_5_ID) },
{ USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_4_0_ID) },
+ { USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_S360_ID) },
{ } /* Terminating entry */
};
diff -Naur -X /home/marcelo/lib/dontdiff
linux.orig/drivers/usb/serial/visor.h linux/drivers/usb/serial/visor.h
--- linux.orig/drivers/usb/serial/visor.h Mon Nov 12 17:53:56 2001
+++ linux/drivers/usb/serial/visor.h Thu Feb 28 16:55:25 2002
@@ -1,7 +1,7 @@
/*
* USB HandSpring Visor driver
*
- * Copyright (C) 1999 - 2001
+ * Copyright (C) 1999 - 2002
* Greg Kroah-Hartman (greg@kroah.com)
*
* This program is free software; you can redistribute it and/or modify
@@ -23,11 +23,13 @@
#define PALM_VENDOR_ID 0x0830
#define PALM_M500_ID 0x0001
#define PALM_M505_ID 0x0002
+#define PALM_M515_ID 0x0003
#define PALM_M125_ID 0x0040
#define SONY_VENDOR_ID 0x054C
#define SONY_CLIE_3_5_ID 0x0038
#define SONY_CLIE_4_0_ID 0x0066
+#define SONY_CLIE_S360_ID 0x0095